Example #1
0
 /// <summary>
 /// Function to fill the Size combobox
 /// </summary>
 public void SizeComboFill()
 {
     try
     {
         TransactionGenericFillObj.SizeViewAll(cmbSize, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show(" RPL5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Example #2
0
 /// <summary>
 /// Function to fill the Size combobox
 /// </summary>
 public void SizeComboFill()
 {
     try
     {
         TrGeneralFill.SizeViewAll(cmbSize, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PR3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Example #3
0
 public void SizeComboFill()
 {
     try
     {
         List <DataTable> listObj = new List <DataTable>();
         listObj               = TransactionsGeneralFillObj.SizeViewAll(cmbSize, true);
         cmbSize.DataSource    = listObj[0];
         cmbSize.DisplayMember = "size";
         cmbSize.ValueMember   = "sizeId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS05:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }