Пример #1
0
 /// <summary>
 /// Function to fill ModelNo combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         TransactionGeneralFillObj.ModelNoViewAll(cmbModelNo, true);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SIRPT5:" + ex.Message;
     }
 }
Пример #2
0
 /// <summary>
 /// Function to fill modelno combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         DataTable dtbl = TransactionGenericFillObj.ModelNoViewAll(cmbModel, true);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RPL7:" + ex.Message;
     }
 }
Пример #3
0
 /// <summary>
 /// Function to fill the ModelNumber combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         dtbl = TrGeneralFill.ModelNoViewAll(cmbModelNo, true);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PR4:" + ex.Message;
     }
 }
Пример #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)
     {
         formMDI.infoError.ErrorString = "PS:05" + ex.Message;
     }
 }