public static void showUserForm(Form form) { frmUsers frmUsers = new frmUsers(); frmUsers.MdiParent = form; frmUsers.Show(); }
private void btnLogin_Click(object sender, EventArgs e) { frmUsers frmUsers = new frmUsers(); frmUsers.MdiParent = this.MdiParent; frmUsers.Show(); }