예제 #1
0
        private void OpenFile(object sender, EventArgs e)
        {
            AddProduct ac = new AddProduct();

            ac.MdiParent   = this;
            ac.WindowState = FormWindowState.Maximized;
            //ac.StartPosition = FormStartPosition.CenterParent;
            //ac.StartPosition = FormStartPosition.Manual;
            //ac.Location = new Point(Location.X + (Width - ac.Width) / 2, Location.Y + (Height - ac.Height) / 2);
            ac.Show();
        }
예제 #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            AddProduct ac = new AddProduct();

            ac.Show();
        }