コード例 #1
0
 private void buttonManageStock_Click(object sender, EventArgs e)
 {
     ManageBarStock r = new ManageBarStock(Model);
     this.Text = this.Text + "-Staff";
     r.Dock = DockStyle.Fill;
     r.MdiParent = this.MdiParent;
     r.Show();
     r.WindowState = FormWindowState.Maximized;
 }
コード例 #2
0
 private void manageBarStockButton_Click(object sender, EventArgs e)
 {
     ManageBarStock manageBarStock = new ManageBarStock(Model);
     manageBarStock.Dock = DockStyle.Fill;
     manageBarStock.MdiParent = this.MdiParent;
     manageBarStock.Show();
     manageBarStock.WindowState = FormWindowState.Maximized;
 }