private void coalescedOperatorToolStripMenuItem_Click(object sender, EventArgs e) { Coalesced_Operator.Operator newop = new Coalesced_Operator.Operator(); newop.MdiParent = this; Size newvalue = new Size(900, 600); this.Size = newvalue; //getting a bit cramped up at smaller resolution taskbar.AddTool(newop, Properties.Resources.coalesced_operator_64x64); newop.Show(); newop.WindowState = FormWindowState.Maximized; }
private void coalescedOperatorToolStripMenuItem_Click(object sender, EventArgs e) { Coalesced_Operator.Operator newop = new Coalesced_Operator.Operator(); newop.MdiParent = this; Size newvalue = new Size(900, 600); this.Size = newvalue; //getting a bit cramped up at smaller resolution taskbar.AddTool(newop, imageList1.Images[17]); newop.Show(); newop.WindowState = FormWindowState.Maximized; }