Hey.
I have problem.
How i can change options in form2 from form1?
public: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
this->Form1::Show();
video^ video2 = gcnew video();
video2->Show();
}
public: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
video^ video2 = gcnew video();
video2->axWindowsMediaPlayer2->URL=(listBox1->SelectedItem->ToString());
video2->axWindowsMediaPlayer2->Ctlcontrols->play();
}
I know it's bad, becouse i open 2x new form, but how i can dodge it?