Ejemplo n.º 1
0
 /// <summary>
 /// Function to fill Cash/Party combobox
 /// </summary>
 public void CashOrPartyComboFill()
 {
     try
     {
         TransactionGeneralFillObj.CashOrPartyComboFill(cmbCashOrParty, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("POREG3:" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Ejemplo n.º 2
0
 /// <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);
     }
 }
Ejemplo n.º 3
0
 /// <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);
     }
 }
Ejemplo n.º 4
0
 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);
     }
 }