Пример #1
0
 private void editMenuItemMenuItem_Click(object sender, EventArgs e)
 {
     InventoryCB.ProductsEditViewDialog productsEditViewDialog = InventoryCB.ProductsEditViewDialog.Instance(this.productsBindingSource);
     productsEditViewDialog.ShowDialog();
     this.Close();
 }
 private void newMenuItemMenuItem_Click(object sender, EventArgs e)
 {
     productsBindingSource.AddNew();
     InventoryCB.ProductsEditViewDialog productsEditViewDialog = InventoryCB.ProductsEditViewDialog.Instance(this.productsBindingSource);
     productsEditViewDialog.ShowDialog();
 }