17.
private: System::Void
18.
yopishToolStripMenuItem_Click(System::Object^ sender,
19.
System::EventArgs^ e) { // KIRISH MЕNYU bo‘limi
20.
Application::Exit(); }
21.
private: System::Void
22.
ekranBoylabToolStripMenuItem_Click(System::Object^ sender,
23.
System::EventArgs^ e) { // Ekran bo‘ylab MЕNYU bo‘limi.
24.
if (axWindowsMediaPlayer1->playState ==
WMPLib::WMPPlayState::wmppsPlaying)
25.
axWindowsMediaPlayer1->fullScreen = true;
}
26.
private: System::Void
27.
tuxtatishToolStripMenuItem_Click(System::Object^ sender,
28.
System::EventArgs^ e) {
// To‘xtatish MЕNYU bo‘limi
29.
axWindowsMediaPlayer1->Ctlcontrols->pause();
}
30.
private: System::Void
31.
boshlashToolStripMenuItem_Click(System::Object^ sender,
32.
System::EventArgs^ e) {
// Boshlash MЕNYU bo‘limi
33.
axWindowsMediaPlayer1->Ctlcontrols->play();
}
34.
private: System::Void
35.
Do'stlaringiz bilan baham: |