public int NewRequest() { EggOrder egg = new EggOrder(); egg.GetQuality(); egg.GetQuantity(); egg.Creack(); return(quantity); }
public void CopyRequest() { NewRequest request = new NewRequest(); NewRequest copy = request; copy.ToString(); EggOrder egg = new EggOrder(); egg.GetQuality(); egg.GetQuantity(); egg.Creack(); }
private void Button2_Click(object sender, EventArgs e) { EggOrder egg = new EggOrder(); CkickenOrder order = new CkickenOrder(); order.Cook(); Employee employee = new Employee(); employee.NewRequest(); egg.GetQuality(); if (radioButton1.Checked) { MessageBox.Show("Ваш(а) заказ повторяется"); label3.Text = egg.quality.ToString(); } if (Chicken.Checked) { MessageBox.Show("Ваш(а) заказ повторяется"); } }
private void Button1_Click(object sender, EventArgs e) { Employee employee = new Employee(); employee.NewRequest(); EggOrder egg = new EggOrder(); egg.GetQuality(); if (radioButton1.Checked) { MessageBox.Show("Ваш(а) яйцо принят на приготовление"); label3.Text = egg.quality.ToString(); } CkickenOrder order = new CkickenOrder(); order.GetQuantity(); if (Chicken.Checked) { MessageBox.Show("Ваш(а) куриный гриль принят на приготовление"); } }