public void RefreshData(bool isSaveState = false) { if (isSaveState) { _refreshHelper.SaveViewInfo(); } this.gridControl1.DataSource = _managementService.GetAllItems(); this._supplierRepItem.DataSource = _managementService.GetAllSuppliers().Select(x => x.Name); if (isSaveState) { _refreshHelper.LoadViewInfo(); } }
public void RefreshData(bool isSaveState = false) { if (isSaveState) { _refreshHelper.SaveViewInfo(); } this.gridControl1.DataSource = _stockService.GetAllInStockHeaderViewModel(); if (isSaveState) { _refreshHelper.LoadViewInfo(); } }
public void RefreshData(bool isSaveState = false) { if (isSaveState) { _refreshHelper.SaveViewInfo(); } this.gridControl1.DataSource = _managementService.GetAllSuppliers(); if (isSaveState) { _refreshHelper.LoadViewInfo(); } }
public void RefreshData(bool isSaveState = false) { if (isSaveState) { _refreshHelper.SaveViewInfo(); } this.gridControl1.DataSource = _purchaseService.GetAllPurchaseApplicationHeaderViewModels(_currentRequestCategory); if (isSaveState) { _refreshHelper.LoadViewInfo(); } SetupButtonStatus(); }
public void RefreshData(bool isSaveState = false) { if (isSaveState) { _refreshHelper.SaveViewInfo(); } this.gridControl1.DataSource = _requestService.GetAllRequestHeaderByCategory(_currentRequestCategory, null); if (isSaveState) { _refreshHelper.LoadViewInfo(); } SetupButtonStatus(); }
private void simpleButton2_Click(object sender, System.EventArgs e) { helper.LoadViewInfo(); }