Beispiel #1
0
 /// <summary>
 /// To fill modelNo combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         DataTable dtbl = TransactionGenericFillObj.ModelNoViewAll(cmbModel, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("STKR:2" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Function to fill ModelNo combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         TransactionGeneralFillObj.ModelNoViewAll(cmbModelNo, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SIRPT: 05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Beispiel #3
0
 /// <summary>
 /// Function to fill the ModelNumber combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         dtbl = TrGeneralFill.ModelNoViewAll(cmbModelNo, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PR4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Beispiel #4
0
 /// <summary>
 /// Function to fill Model Combobox
 /// </summary>
 public void ModelComboFill()
 {
     try
     {
         DataTable dtbl = TransactionsGeneralFillObj.ModelNoViewAll(cmbModelNo, true);
         cmbModelNo.DataSource    = dtbl;
         cmbModelNo.DisplayMember = "modelNo";
         cmbModelNo.ValueMember   = "modelNoId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS:05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }