예제 #1
0
파일: MDI1.cs 프로젝트: stemakwenyu/KUNIS
        private void userToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmUser us = new frmUser();

            us.MdiParent = this;
            us.Visible   = true;
        }
예제 #2
0
 private void userToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Sessions.prev == "Admin")
     {
         frmUser us = new frmUser();
         us.MdiParent = this;
         us.Visible   = true;
     }
     else
     {
         MessageBox.Show("You dont have priviledge to access this service", "KUNIS Messaging System", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }