Пример #1
0
        private void usersListToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            if ((usersListForm == null) || (usersListForm.IsDisposed))
            {
                usersListForm = new Admin.UsersListForm();

                usersListForm.MdiParent = this;
            }

            usersListForm.Show();
        }
        private void UsersListToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            if (usersListForm == null || usersListForm.IsDisposed)
            {
                usersListForm = new Admin.UsersListForm
                {
                    MdiParent = this,
                };
            }

            usersListForm.Show();
        }