예제 #1
0
        private void 商品入库ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            InWarehouse f5 = new InWarehouse();

            //窗体最大化
            f5.WindowState = FormWindowState.Maximized;
            //去掉边框
            f5.FormBorderStyle = FormBorderStyle.None;
            f5.MdiParent       = this;
            //设置新窗体的Parent
            f5.Parent = panel1;
            f5.Show();
        }
예제 #2
0
        private void InWarehouse_Click(object sender, EventArgs e)
        {
            InWarehouse inwarehouse = new InWarehouse();

            inwarehouse.ShowDialog();
        }