コード例 #1
0
        private void linkNew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmUsersDetails frm = new frmUsersDetails(null, true);

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
コード例 #2
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Global.shouldEditRoles = true;
            frmUsersDetails frm = new frmUsersDetails();

            frm.MdiParent   = this;
            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }