private void MDIWin_Load(object sender, EventArgs e) { loginWin x = new loginWin(); x.MdiParent = this; x.Show(); x.WindowState = FormWindowState.Maximized; }
public static void viewWindow(fullDashBoard x, loginWin y, Form z) { x.Show(); x.WindowState = FormWindowState.Maximized; }