Exemplo n.º 1
0
 /// <summary>
 /// To fill productgroup combobox
 /// </summary>
 public void ProductGroupComboFill()
 {
     try
     {
         DataTable dtbl = TransactionGenericFillObj.ProductGroupViewAll(cmbProductgroup, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("STKR:1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Function to fill the productgroup combobox
 /// </summary>
 public void ProductGroupComboFill()
 {
     try
     {
         dtbl = TrGeneralFill.ProductGroupViewAll(cmbProductGroup, true);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PR2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Function to fill ProductCombobox
 /// </summary>
 public void ProductComboFill()
 {
     try
     {
         DataTable dtbl = TransactionsGeneralFillObj.ProductGroupViewAll(cmbProductGroup, true);
         cmbProductGroup.DataSource    = dtbl;
         cmbProductGroup.DisplayMember = "groupName";
         cmbProductGroup.ValueMember   = "groupId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS:03" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }