Exemple #1
0
        private void btnOrder_Click_1(object sender, EventArgs e)
        {
            myButton        btn             = sender as myButton;
            BookingTableBLL bookingTableBLL = new BookingTableBLL();
            int             cusID           = bookingTableBLL.FindCustomerIDByTableID(btn.objectID);

            if (cusID > 0)
            {
                mainform.loadUcMenu_Order(btn.objectID, cusID);
            }
            else
            {
                mainform.loadUcMenu_Order(btn.objectID, 10);
            }
        }
Exemple #2
0
 private void btnEdit_Click_1(object sender, EventArgs e)
 {
     mainform.loadUcMenu_Order(TabID, CusID);
 }