public StainlessForm(ProductSalesForm quantityForm, ProductSalesQuantityModel2 model) { InitializeComponent(); QuantityForm = quantityForm; Model = model; }
private void productSalesToolStripMenuItem_Click(object sender, EventArgs e) { ProductSalesForm myForm = new ProductSalesForm(); myForm.MdiParent = this; myForm.WindowState = FormWindowState.Maximized; myForm.Show(); }