示例#1
0
 private void OpenStockInForm()
 {
     if (stockInForm == null)
     {
         //todo use datasource for stockin to help updating data
         stockInForm = new StockInForm();
         stockInForm.ShowDialog();
         stockInForm             = null;
         InfoManager.stockInMode = false;
     }
     else
     {
         MessageBox.Show("กำลังจดเข้า stock", "Currently doing stock in", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
示例#2
0
 public void setStockInForm(StockInForm stockInForm)
 {
     this.stockInForm = stockInForm;
 }