Ejemplo n.º 1
0
        private void btn_Order_Click(object sender, EventArgs e)
        {
            Hide();
            Order_Home orderHome = Order_Home.GetInstance();

            orderHome.Closed += (s, args) => Show();
            orderHome.Show();
        }
Ejemplo n.º 2
0
 public static Order_Home GetInstance()
 {
     if (order_Home == null)
     {
         order_Home = new Order_Home();
     }
     return(order_Home);
 }
        private void btn_TakeNewOrder_Click(object sender, EventArgs e)
        {
            this.Hide();
            currentForm.Hide();
            Order_Home orderHome = Order_Home.GetInstance();

            orderHome.SetTableAndEmployee(table, employee);
            orderHome.ShowDialog();
        }