/// <summary> /// Function to fill Cash/Party combobox /// </summary> public void CashOrPartyComboFill() { try { TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); } catch (Exception ex) { formMDI.infoError.ErrorString = "ROREG4:" + ex.Message; } }
/// <summary> /// Function to fill CashOrParty combobox /// </summary> public void CashOrPartyComboFill() { try { TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); } catch (Exception ex) { MessageBox.Show("PRRT:02" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill Accountledger combobox /// </summary> private void AccountLedgerComboFill() { try { TransactionsGeneralFill TransactionsGeneralFillObj = new TransactionsGeneralFill(); TransactionsGeneralFillObj.CashOrPartyComboFill(cmbAccountLedger, true); } catch (Exception ex) { MessageBox.Show("ODPO:1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <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 CashOrParty combobox /// </summary> public void CashOrPartyComboFill() { try { TransactionsGeneralFill TransactionGeneralFillObj = new TransactionsGeneralFill(); TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); } catch (Exception ex) { MessageBox.Show("PIREP2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <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; } }
/// <summary> /// Function to fill the Cash/party combobox /// </summary> public void CashOrPartyComboFill() { try { isDontExecuteCashorParty = true; TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); isDontExecuteCashorParty = false; } catch (Exception ex) { MessageBox.Show("MRREG3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
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; } }
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) { MessageBox.Show("VPS :05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill Cash Or Party combobox /// </summary> public void CashOrPartyComboFill() { try { TransactionsGeneralFill TransactionGeneralFillObj = new TransactionsGeneralFill(); isDontExecuteCashorParty = true; TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true); isDontExecuteCashorParty = false; } catch (Exception ex) { MessageBox.Show("MRR3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill Cash or Party combobox /// </summary> public void CashOrPartyComboFill() { TransactionsGeneralFill TransactionGeneralFillObj = new TransactionsGeneralFill(); try { TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, false); cmbCashOrParty.SelectedValue = 1; } catch (Exception ex) { MessageBox.Show("PR:01 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function for Call from Account Ledger popup /// </summary> /// <param name="frmLedgerPopup"></param> /// <param name="decId"></param> /// <param name="strComboTypes"></param> public void CallFromLedgerPopup(frmLedgerPopup frmLedgerPopup, decimal decId, string strComboTypes) { TransactionsGeneralFill TransactionGeneralFillObj = new TransactionsGeneralFill(); try { base.Show(); this.frmLedgerPopupObj = frmLedgerPopup; if (strComboTypes == "CashOrSundryCreditors") { TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, false); cmbCashOrParty.SelectedValue = decId; } else if (strComboTypes == "PurchaseAccount") { PurchaseAccountComboFill(); cmbPurchaseAccount.SelectedValue = decId; } frmLedgerPopupObj.Close(); frmLedgerPopupObj = null; } catch (Exception ex) { MessageBox.Show("PR:26" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }