Example #1
0
        public void LoadInfoBill()
        {
            fLoginStaff f = new fLoginStaff();

            lbNameStaff.Text = TableManagerBLL.Instance.GetNameStaff(f.GetPinCode());
            fTableManager fTable = new fTableManager();

            lbTableName.Text = "Bàn: " + fTable.GetNameTable();
        }
Example #2
0
 private void txbPIN_TextChanged(object sender, EventArgs e)
 {
     if (txbPIN.Text.Length == 3)
     {
         if (LoginStaffBLL.Instance.IsStaff(txbPIN.Text))
         {
             PinCode = txbPIN.Text;
             fTableManager fTableManager = new fTableManager();
             this.Hide();
             fTableManager.ShowDialog();
             txbPIN.Text = "";
             this.Show();
         }
     }
 }