Ejemplo n.º 1
0
 private void IncLentil2_Button_Click(object sender, EventArgs e)
 {
     if (TopMount_radioButton.Checked == true)
     {
         if (Object2.Get_Height() + 0.5f < Object3.Get_Height())
         {
             Object2.Set_Height(Object2.Get_Height() + 0.5f);
         }
     }
     else
     {
         if (Object2.Get_Height() - 0.5f > Object4.Get_Height())
         {
             Object2.Set_Height(Object2.Get_Height() - 0.5f);
         }
     }
 }