Exemplo n.º 1
0
 private void tsMnuUsers_Click(object sender, EventArgs e)
 {
     try
     {
         pnlContext.Controls.Clear();
         UserDetailsCtl objUsers = new UserDetailsCtl(this);
         objUsers.Parent = this;
         pnlContext.Controls.Add(objUsers);
         objUsers.Dock = DockStyle.Fill;
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 2
0
 private void usersTsButton_Click(object sender, EventArgs e)
 {
     try
     {
         pnlContext.Controls.Clear();
         UserDetailsCtl objUsers = new UserDetailsCtl(this);
         objUsers.Parent = this;
         pnlContext.Controls.Add(objUsers);
         objUsers.Dock = DockStyle.Fill;
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }