Exemple #1
0
 private void Button2_Click(object sender, EventArgs e)
 {
     array.ReadArray(dataGridView1);
     label4.Text = "Количество нулевых элементов " + Environment.NewLine + array.Zero_Element;
     tabControl1.SelectedIndex = 2;
     button3.Visible           = true;
     button5.Visible           = true;
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     array.ReadArray(dataGridView1);
     label2.Text = "Строки массива " + ((array)?"":"не ") + "упорядочены по возростаню" + Environment.NewLine;
     tabControl1.SelectedIndex = 2;
     button3.Visible           = true;
     button4.Visible           = true;
     button5.Visible           = true;
     button6.Visible           = true;
 }