Example #1
0
 private void FrmStock_Load(object sender, EventArgs e)
 {
     try
     {
         var list = _repository.GetLookUpList("InventoryType");
         cmbInventoryType.DataSource = list;
         ClearAll();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }