예제 #1
0
파일: MainMenu.cs 프로젝트: thalesmotta/SGP
        private void staffToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmStaff frm = new frmStaff();

            frm.lblUser.Text = lblUser.Text;
            //frm.Reset();
            frm.Show();
        }
예제 #2
0
 private void btnStaff_Click(object sender, EventArgs e)
 {
     if (checkQuyen(QUYEN))
     {
         pnZone.Controls.Clear();
         frmStaff frmStaff = new frmStaff();
         frmStaff.TopLevel = false;
         pnZone.Controls.Add(frmStaff);
         frmStaff.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         frmStaff.AutoScroll      = true;
         frmStaff.Dock            = DockStyle.Fill;
         frmStaff.Show();
     }
 }
예제 #3
0
    private void btnStaff_Click(object sender, EventArgs e)
    {
        frmStaff staff = new frmStaff(this);

        staff.Show();
    }