private void suivantToolStripMenuItem_Click(object sender, EventArgs e) { fermer(); FrmMenu menu = new FrmMenu(); menu.MdiParent = this; menu.Show(); menu.WindowState = FormWindowState.Maximized; }
private void Form1_Load(object sender, EventArgs e) { Computer mycomputer = new Computer(); //this.Width = mycomputer.Screen.Bounds.Width; //this.Height = mycomputer.Screen.Bounds.Height; this.Width = 820; this.Height = 510; this.SetDesktopLocation(0, 0); fermer(); FrmMenu menu = new FrmMenu(); menu.MdiParent = this; menu.Show(); menu.WindowState = FormWindowState.Maximized; }