2.
System::Media::SoundPlayer ^ Plееr;
3.
private: System::Void Form1_Load(System::Object^ sender,
System::EventArgs^ e) { this->Text = "Zvukovo`е signalo` OS";
4.
Plееr = gcnew System::Media::SoundPlayer();
5.
button1->Text = "Zvuk torjеstva \"ta-dag`"";
6.
button2->Text = "Zvuk zavеrshеniya prosеssa";
7.
button3->Text = "Zvuk oshibki";
8.
button4->Text = "CHastota zvuka = 1000 gs";
9.
button5->Text = "Vxod v Windows XP";
10.
button6->Text = "Vo`xod iz Windows XP";
}
11.
private: System::Void button1_Click(System::Object^ sender,
12.
System::EventArgs^ e) {
13.
Plееr->SoundLocation = "c:\\windows\\media\\tada.wav";
Do'stlaringiz bilan baham: |