示例#1
0
        private void btnStockEntryManual_Click(object sender, EventArgs e)
        {
            StockEntry frmStockEntry = new StockEntry();

            frmStockEntry.OnClose += new Action(ShowDitails);
            frmStockEntry.ShowDialog();
        }
示例#2
0
 private void btnAddServicesAndGoods_Click(object sender, EventArgs e)
 {
     if (CheckForStockUpdate())
     {
         StockEntry frmStockEntry = new StockEntry("");
         frmStockEntry.OnClose += new Action(ShowDitails);
         frmStockEntry.ShowDialog();
     }
     else
     {
         MessageBox.Show("Purchase bill not found for stock update.", "Stock Update", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }