private void userProfileReportToolStripMenuItem_Click(object sender, EventArgs e) { // show all user account records var users = new frm_Users(); users.MdiParent = this; users.WindowState = FormWindowState.Maximized; users.Show(); }
private void pictureBox1_Click(object sender, EventArgs e) { frm_Users users = new frm_Users(); users.Hide(); frm_Categories category = new frm_Categories(); category.Hide(); this.Hide(); frm_Login login = new frm_Login(); login.Show(); }
/// <summary> /// Пользователи /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void mni_Users_Click(object sender, System.EventArgs e) { frm_Users frm_users = new frm_Users(); ShowMDIChild(frm_users, frm_users.Text, mni_Users); }
private void usersToolStripMenuItem_Click(object sender, EventArgs e) { frm_Users user = new frm_Users(); user.Show(); }