Example #1
0
        private void toolStripBtnHome_Click(object sender, EventArgs e)
        {
            Staff_Data_Entry staff = new Staff_Data_Entry();

            staff.MdiParent   = this;
            staff.WindowState = FormWindowState.Maximized;
            staff.Show();
        }
Example #2
0
 private void facutyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (isLoggedIn)
     {
         var staffMan = new Staff_Data_Entry();
         staffMan.MdiParent = this;
         staffMan.Show();
     }
     else
     {
         ShowLoginForm();
     }
 }