Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (numericUpDown1.Value * 3600 + numericUpDown2.Value * 60 + numericUpDown3.Value >= (numericUpDown6.Value * 3600 + numericUpDown5.Value * 60 + numericUpDown4.Value))
     {
         MessageBox.Show("Начало больше конца");
         return;
     }
     form2.Pars(Convert.ToInt32(numericUpDown1.Value), Convert.ToInt32(numericUpDown2.Value), Convert.ToInt32(numericUpDown3.Value), Convert.ToInt32(numericUpDown6.Value), Convert.ToInt32(numericUpDown5.Value), Convert.ToInt32(numericUpDown4.Value));
 }