private void pictureBox1_Click(object sender, EventArgs e) { ItemMas frm = new ItemMas(); frm.StartPosition = FormStartPosition.CenterParent; frm.Show(); }
private void button1_Click(object sender, EventArgs e) { ItemMas frm = new ItemMas(); //frm.MdiParent = this.MdiParent; //frm.Dock = DockStyle.Fill; //frm.StartPosition = FormStartPosition.CenterParent; frm.Show(); }