Ejemplo n.º 1
0
        private void userToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmUser us = new frmUser();

            us.MdiParent = this;
            us.Visible   = true;
        }
Ejemplo n.º 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);
     }
 }