private void FrmBackbound_Load(object sender, EventArgs e) { InitUI_FormLoad(); returnRecordView.Initialize(); returnDetailView.Initialize(); returnMasterView.Initialize(); invtDetailView.Initialize(); InitInventoryView(); if (Database.IsConnected()) { returnMasterView.Loading(); } returnRecordView.SetGridEditStatus(false); }
private void FrmInventory_Load(object sender, EventArgs e) { inventoryMasterView.Initialize(); inventoryDetialView.Initialize(); shelfInventoryView.Initialize(); if (Database.IsConnected()) { ItemTag tag = cboFilter.SelectedItem as ItemTag; if (tag != null) { inventoryMasterView.KeyWords = txtKeyWords.Text.Trim(); inventoryMasterView.FilterSql = tag.Key; } inventoryMasterView.Loading(); shelfInventoryView.LoadShelfInventory(txtShelfNo.Text.Trim()); } }