Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.07 KB | None | 0 0
  1. private void numericUpDown_ValueChanged(object sender, EventArgs e)
  2.         {
  3.             if (numericUpDown_start_A.Value > numericUpDown_end_A.Value)
  4.             {
  5.                 numericUpDown_end_A.Minimum = numericUpDown_start_A.Value;
  6.             }
  7.             else
  8.             {
  9.                 if (numericUpDown_end_A.Value > numericUpDown_start_A.Value)
  10.                 {
  11.                     numericUpDown_end_B.Minimum = numericUpDown_start_B.Value;
  12.                 }
  13.                 else
  14.                 {
  15.                     if (numericUpDown_end_B.Value > numericUpDown_start_B.Value)
  16.                     {
  17.                         numericUpDown_end_C.Minimum = numericUpDown_start_C.Value;
  18.                     }
  19.                     else
  20.                     {
  21.                         if (numericUpDown_end_C.Value == numericUpDown_start_C.Value)
  22.                         {
  23.                             numericUpDown_end_D.Minimum = numericUpDown_start_D.Value;
  24.  
  25.                         }
  26.                     }
  27.  
  28.                 }
  29.  
  30.  
  31.             }
  32.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement