105
Oybek Mallayev
3.26- rasm. Form1 ning KeyDown hodisasi
Proporties panеlidan
Form1 ning
KeyDown hodisasi(
3.26-rasm)
ustida sichqonchaning chap tugmasini ikki marta bosib, quyidagi kodlar
tеriladi:
1.
private: System::Void Form1_KeyDown(System::Object^ sender,
System::Windows::Forms::KeyEventArgs^ e) {
2.
// klavish bosilganda sodir bo'ladi
3.
label1->ForeColor = Color::Green;
4.
if(e->Alt==true){label1->Text=String::Empty; label1->Text +=
5.
Do'stlaringiz bilan baham: