Esempio n. 1
0
        private void btnStore_Click(object sender, EventArgs e)
        {
            frmOrder frm = new frmOrder();

            frm.LoadOrder("", 0);
            frm.ShowDialog();
        }
Esempio n. 2
0
        private void btnCreateOrder_Click(object sender, EventArgs e)
        {
            this.Close();

            frmOrder frm = new frmOrder();

            //frm.LoadOrderTKA("TKA-", "");

            frm.ShowDialog();
        }
Esempio n. 3
0
 private void btnDetail_Click(object sender, EventArgs e)
 {
     try
     {
         frmOrder frm = new frmOrder();
         frm.LoadOrderTKA(TKAID, 0);
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         LogPOS.WriteLog("frmTakeAway:::::::::::::::::::::::::::btnDetail_Click:::::::::::::::" + ex.Message);
     }
 }
Esempio n. 4
0
 private void btnQickOrder_Click(object sender, EventArgs e)
 {
     try
     {
         this.Close();
         frmOrder frm = new frmOrder();
         frm.LoadOrderTKA("TKA-", 0);
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         SystemLog.LogPOS.WriteLog("frmCustomer::::::::::::::::::btnMakeOrder_Click::::::::::::" + ex.Message);
     }
 }
Esempio n. 5
0
        private void btnMakeOrder_Click(object sender, EventArgs e)
        {
            try
            {
                if (itemS!=null)
                {
                    this.Close();

                    frmOrder frm = new frmOrder();
                    frm.LoadOrderTKA("TKA-", itemS.ClientID);

                    frm.ShowDialog();
                }
            }
            catch (Exception ex)
            {
                SystemLog.LogPOS.WriteLog("frmCustomer::::::::::::::::::btnMakeOrder_Click::::::::::::" + ex.Message);
            }
        }
Esempio n. 6
0
 void ucTable_Click(object sender, EventArgs e)
 {
     try
     {
         System.Windows.Forms.Form f1 = System.Windows.Forms.Application.OpenForms["frmTool"];
         if (f1 != null)
         {
             f1.Close();
         }
         UCTable  ucTable = (UCTable)sender;
         frmOrder frm     = new frmOrder();
         frm.LoadOrder(ucTable.lbTableNo.Text, 0);
         // frm.CallBackStatusOrder = new CallBackStatusOrder(this.CallBackOrder);
         frm.CallBackStatusOrderCancel = new CallBackStatusOrderCancel(this.CheckStatusTable);
         //frm.CallBackStatusOrderPrintBill = new CallBackStatusOrderPrintBill(this.CheckStatusTable);
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         LogPOS.WriteLog("ucTable_Click::::::::::::::::::::::::::::::::::::::::::" + ex.Message);
     }
 }
Esempio n. 7
0
        private void btnGoTo_Click(object sender, EventArgs e)
        {
            frmOrder frm = new frmOrder();

            frm.Show();
        }
Esempio n. 8
0
        void ucTable_Click(object sender, EventArgs e)
        {
            try
            {
                System.Windows.Forms.Form f1 = System.Windows.Forms.Application.OpenForms["frmTool"];
                if (f1 != null)
                    f1.Close();
                UCTable ucTable = (UCTable)sender;
                frmOrder frm = new frmOrder();
                frm.LoadOrder(ucTable.lbTableNo.Text, 0);
               // frm.CallBackStatusOrder = new CallBackStatusOrder(this.CallBackOrder);
                frm.CallBackStatusOrderCancel = new CallBackStatusOrderCancel(this.CheckStatusTable);
                //frm.CallBackStatusOrderPrintBill = new CallBackStatusOrderPrintBill(this.CheckStatusTable);
                frm.Show();

            }
            catch (Exception ex)
            {
                LogPOS.WriteLog("ucTable_Click::::::::::::::::::::::::::::::::::::::::::" + ex.Message);
            }
        }
Esempio n. 9
0
 private void btnGoTo_Click(object sender, EventArgs e)
 {
     frmOrder frm = new frmOrder();
     frm.Show();
 }
Esempio n. 10
0
 private void btnDetail_Click(object sender, EventArgs e)
 {
     try
     {
         frmOrder frm = new frmOrder();
         frm.LoadOrderTKA(TKAID,0);
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         LogPOS.WriteLog("frmTakeAway:::::::::::::::::::::::::::btnDetail_Click:::::::::::::::" + ex.Message);
     }
 }