96
Oybek Mallayev
3.
private: System::Void Form31_FormClosed(System::Object^ sender,
4.
System::Windows::Forms::FormClosedEventArgs^ e) {
5.
Application::Restart(); }
button1 ning
Click hodisasiga
quyidagi kodlar tеriladi:
1.
private: System::Void button1_Click(System::Object^ sender,
2.
System::EventArgs^ e) {
3.
int a[10][10]; int indexChecked[10]; s=0; int n,m;
4.
if(textBox1->Text!="" && textBox2->Text!=""){
5.
n=Convert::ToInt32(textBox1->Text);
6.
m=Convert::ToInt32(textBox2->Text);}
7.
if(comboBox1->Text=="Tasodifiy sonlar bilan to'ldirish"){
8.
if(checkBox1->Checked){ if(checkBox4->Checked){
Do'stlaringiz bilan baham: