Пример #1
0
        private void menuitemUser_Click(object sender, EventArgs e)
        {
            var frmUser = new frmUser(_userInfo);

            frmUser.MdiParent = this;
            frmUser.Show();
        }
Пример #2
0
 public frmAddUser(frmUser parrent, int mode, UserInfo userInfo)
 {
     InitializeComponent();
     _userInfo      = userInfo;
     _tabUser       = tabControl1.TabPages[0];
     _tabGroup      = tabControl1.TabPages[1];
     _tabPermission = tabControl1.TabPages[2];
     _parrent       = parrent;
     _mode          = mode;
 }