예제 #1
0
        private void usersListToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            if ((usersList == null) || (usersList.IsDisposed))
            {
                usersList = new UsersListForm();

                usersList.Show();
            }
        }
        private void UsersListButton_Click(object sender, System.EventArgs e)
        {
            UsersListForm.Dock     = System.Windows.Forms.DockStyle.Fill;
            UsersListForm.TopLevel = false;
            UsersListForm.TopMost  = true;

            showMenuPanel.Controls.Clear();
            showMenuPanel.Controls.Add(UsersListForm);
            UsersListForm.Show();
        }