private void BtnEnter_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     if (!this.TBCustomerName.Text.Equals(""))
     {
         GraphicalFoodMenu.ChangeScreen(this.TBCustomerName.Text);
     }
     else
     {
         throw new Exception("Username cannot be blank");
     }
 }
 private void BtnExit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     GraphicalFoodMenu.BtnExit_MouseUp();
 }
Example #3
0
 private void btnCalculate_MouseUp(object sender, EventArgs e)
 {
     GraphicalFoodMenu.Calculate();
 }
Example #4
0
 private void btnClear_MouseUp(object sender, EventArgs e)
 {
     GraphicalFoodMenu.ClearAllSelections();
 }
Example #5
0
 private void btnExit_MouseUp(object sender, EventArgs e)
 {
     GraphicalFoodMenu.BtnExit_MouseUp();
 }
Example #6
0
 private void radioButton1_CheckedChanged(object sender, EventArgs e)
 {
     GraphicalFoodMenu.RadioButtonCheckedChanged();
 }