/// <summary> /// Function to fill CashOrParty combobox /// </summary> public void CashOrPartyComboFill() { try { TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); } catch (Exception ex) { formMDI.infoError.ErrorString = "PRRT2:" + ex.Message; } }
/// <summary> /// Function to fill Accountledger combobox /// </summary> private void AccountLedgerComboFill() { try { TransactionsGeneralFill TransactionsGeneralFillObj = new TransactionsGeneralFill(); TransactionsGeneralFillObj.CashOrPartyComboFill(cmbAccountLedger, true); } catch (Exception ex) { formMDI.infoError.ErrorString = "ODPO:1" + ex.Message; } }
/// <summary> /// Function to fill the Cash/party combobox /// </summary> public void CashOrPartyComboFill() { try { isDontExecuteCashorParty = true; TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); isDontExecuteCashorParty = false; } catch (Exception ex) { formMDI.infoError.ErrorString = "MRREG3:" + ex.Message; } }
public void clear() { try { txtVoucherNo.Clear(); txtProductCode.Clear(); txtProductName.Clear(); dtpFromDate.MinDate = PublicVariables._dtFromDate; dtpFromDate.MaxDate = PublicVariables._dtToDate; dtpFromDate.Value = PublicVariables._dtFromDate; dtpFromDate.Text = dtpFromDate.Value.ToString("dd-MMM-yyyy"); dtpToDate.Value = PublicVariables._dtToDate; dtpToDate.Text = dtpToDate.Value.ToString("dd-MMM-yyyy"); objtransactiongeneralfill.CashOrPartyComboFill(cmbCashOrParty, true); FillProductGroup(); VoucherTypeFill(); txtFromDate.Focus(); FillGrid(); } catch (Exception ex) { formMDI.infoError.ErrorString = "VPS :5" + ex.Message; } }