示例#1
0
 /// <summary>
 /// Function to fill Salesman combobox
 /// </summary>
 public void salesManComboFill()
 {
     try
     {
         TransactionGeneralFillObj.SalesmanViewAllForComboFill(cmbSalesMan, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SIRPT: 04" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// Function to fill Salesman combobox
 /// </summary>
 public void SalesManComboFill()
 {
     try
     {
         DataTable dtbl = TransactionGenericFillObj.SalesmanViewAllForComboFill(cmbSalesMan, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SQRT:03" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
示例#3
0
        /// <summary>
        /// Function to fill Salesman combobox
        /// </summary>
        public void salesmancombofill()
        {
            TransactionsGeneralFill transactionGeneralFillObj = new TransactionsGeneralFill();

            try
            {
                transactionGeneralFillObj.SalesmanViewAllForComboFill(cmbSalesMan, true);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RIReport:03" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
示例#4
0
 /// <summary>
 /// Function to fill Salesman combobox
 /// </summary>
 public void SalesmanComboFill()
 {
     try
     {
         DataTable dtblSalesMan = new DataTable();
         dtblSalesMan              = TransactionGenerateFillObj.SalesmanViewAllForComboFill(cmbSalesMan, true);
         cmbSalesMan.DataSource    = dtblSalesMan;
         cmbSalesMan.ValueMember   = "employeeId";
         cmbSalesMan.DisplayMember = "employeeName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("DNREP03: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }