예제 #1
0
        private void ShowForm()
        {
            Form f = new frmStaffHome(ManagerName);

            Application.Run(f);
            this.Close();
        }
예제 #2
0
        private void ShowForm()
        {
            Form f = new frmStaffHome(StaffID);

            Application.Run(f);
            this.Close();
        }
예제 #3
0
        private void ShowForm()
        {
            Form f = null;

            if (IsStaff)
            {
                f = new frmStaffHome(ManagerName);
            }
            else
            {
                f = new frmReceptionistHome(ManagerName);
            }
            Application.Run(f);
            this.Close();
        }
        public void ShowForm()
        {
            Form f = null;

            if (IsStaff)
            {
                f = new frmStaffHome(StaffID);
            }
            else
            {
                f = new frmReceptionistHome(StaffID);
            }
            Application.Run(f);
            this.Close();
        }
예제 #5
0
        private void ShowForm()
        {
            // MessageBox.Show(StaffID);
            Form f = null;

            if (IsStaff)
            {
                f = new frmStaffHome(StaffID);
            }
            else
            {
                f = new frmReceptionistHome(StaffID);
            }
            Application.Run(f);
            this.Close();
        }