private void InitRecord() { Cursor.Current = Cursors.WaitCursor; supplierBindingSource.DataSource = SupplierManager.GetAll(); categoryBindingSource.DataSource = CategoryManager.GetAll(); drugTypeBindingSource.DataSource = DrugTypeManager.GetAll(); Cursor.Current = Cursors.Default; }
private void InitRecords() { Cursor.Current = Cursors.WaitCursor; categoryBindingSource.DataSource = CategoryManager.GetAll(); unitBindingSource.DataSource = UnitManager.GetAll(); drugTypeBindingSource.DataSource = DrugTypeManager.GetAll(); packingBindingSource.DataSource = PackingManager.GetAll(); voidReasonBindingSource.DataSource = VoidReasonManager.GetAll(); Cursor.Current = Cursors.Default; }
private void InitRecord() { Cursor.Current = Cursors.WaitCursor; supplierBindingSource.DataSource = SupplierManager.GetAll(); categoryBindingSource.DataSource = CategoryManager.GetAll(); unitBindingSource.DataSource = UnitManager.GetAll(); drugTypeBindingSource.DataSource = DrugTypeManager.GetAll(); packingBindingSource.DataSource = PackingManager.GetAll(); _listProducts = ProductManager.GetAll(); productBindingSource.DataSource = _listProducts; Cursor.Current = Cursors.Default; }