コード例 #1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            ItemMas frm = new ItemMas();

            frm.StartPosition = FormStartPosition.CenterParent;
            frm.Show();
        }
コード例 #2
0
        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();
        }