private void btnCancle_Click(object sender, EventArgs e) { var form = new ProductForm(logic); form.Show(); Close(); }
private void btn_product_Click(object sender, EventArgs e) { ProductForm productForm = new ProductForm(); productForm.Show(); this.Hide(); }
private void btnPrint_Click(object sender, EventArgs e) { DataSet1.ProductDataTable dt = new DataSet1.ProductDataTable(); dt = (DataSet1.ProductDataTable)SetProductInfo(prod); ProductForm rf = new ProductForm(dt); rf.Show(); }
private void buttonGoProducts_Click(object sender, EventArgs e) { if (Application.OpenForms["ProductOperations"] == null) { Form ProductOperations = new ProductForm(); ProductOperations.Show(); } }
private void btnProducts_Click(object sender, EventArgs e) { HideOtherForm("FrmProduct"); if (IsAlreadyOpened("FrmProduct")) { return; } ProductForm.MdiParent = this; ProductForm.Show(); ProductForm.Location = new Point(150, 20); }
private void productosToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; ProductForm frmProduct = new ProductForm(); frmProduct.Show(); } finally { this.Cursor = Cursors.Default; } }
private void productToolStripMenuItem_Click(object sender, EventArgs e) { if (MdiChildren.Length > 0) { return; } var product = new ProductForm { MdiParent = this }; product.Show(); }
private void ProductToolStripMenuItem_Click(object sender, EventArgs e) { ProductForm productForm = new ProductForm(); productForm.MdiParent = this; productForm.Show(); }
private void productsToolStripMenuItemClick(object sender, System.EventArgs e) { ProductForm.Show(); ProductForm.WindowState = FormWindowState.Maximized; }
private void button1_Click(object sender, EventArgs e) { ProductForm prdForm = new ProductForm(); prdForm.Show(); }