Esempio n. 1
0
 private void showSalesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _home             = null;
     _category         = null;
     _product          = null;
     _customer         = null;
     _supplier         = null;
     _purchase         = null;
     _sales            = null;
     _reportOnSales    = null;
     _reportOnPurchase = null;
     _purchaseShow     = null;
     if (_salesViewUi == null)
     {
         _salesViewUi = new SalesViewUI();
         OpenForm(_salesViewUi);
     }
 }
Esempio n. 2
0
 private void stockInToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //MessageBox.Show(@"This functionality does not available at this moment", @"Error", MessageBoxButtons.OK,
     //    MessageBoxIcon.Error);
     _home             = null;
     _category         = null;
     _product          = null;
     _customer         = null;
     _supplier         = null;
     _purchase         = null;
     _sales            = null;
     _reportOnPurchase = null;
     _reportOnSales    = null;
     _purchaseShow     = null;
     _salesViewUi      = null;
     if (_stockInUi == null)
     {
         _stockInUi = new StockInUI();
         OpenForm(_stockInUi);
     }
 }