Ejemplo n.º 1
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);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Function to fill the ModelNumber combobox
 /// </summary>
 public void ModelNoComboFill()
 {
     try
     {
         listObj = TrGeneralFill.ModelNoViewAll(cmbModelNo, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PR4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Ejemplo n.º 3
0
 public void ModelNoComboFill()
 {
     try
     {
         List <DataTable> listObj = new List <DataTable>();
         listObj = TransactionsGeneralFillObj.ModelNoViewAll(cmbModelNo, true);
         cmbModelNo.DataSource    = listObj[0];
         cmbModelNo.DisplayMember = "modelNo";
         cmbModelNo.ValueMember   = "modelNoId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS04:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }