Exemple #1
0
        private void 商品出库ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OutWarehouse f5 = new OutWarehouse();

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

            outwarehouse.ShowDialog();
        }