Example #1
0
        private void userListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UserInfoForm ui = new UserInfoForm();

            ui.Dock = DockStyle.Fill;
            this.panel1.Controls.Clear();
            this.panel1.Controls.Add(ui);
            ui.Show();
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            UserInfoForm ui = new UserInfoForm();

            ui.Show();
        }