/// <summary>
 ///  Function to fill VoucherType combobox
 /// </summary>
 public void VoucherTypeCombofill()
 {
     try
     {
         MaterialReceiptBll bllMaterialReceiptDetails = new MaterialReceiptBll();
         List<DataTable> ListObj = new List<DataTable>();
         ListObj = bllMaterialReceiptDetails.VoucherTypeCombofillforMaterialReceipt();
         cmbVoucherType.DataSource = ListObj[0];
         cmbVoucherType.ValueMember = "voucherTypeId";
         cmbVoucherType.DisplayMember = "voucherTypeName";
         cmbVoucherType.SelectedIndex = 0;
     }
     catch (Exception ex)
     {
         MessageBox.Show("MRR2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }