/// <summary>
 /// VoucherTypeComboFill
 /// </summary>
 public void VoucherTypeComboFill()
 {
     try
     {
         //DeliveryNoteMasterSP spDeliveryNoteMaster = new DeliveryNoteMasterSP();
         DeliveryNoteBll bllDeliveryNote = new DeliveryNoteBll();
         string typeOfVoucher = string.Empty;
         if (cmbDeliveryMode.Text == "Against Order")
         {
             typeOfVoucher = "Sales Order";
         }
         else
         {
             typeOfVoucher = "Sales Quotation";
         }
         List<DataTable> listObj = new List<DataTable>();
         listObj = bllDeliveryNote.VoucherTypesBasedOnTypeOfVouchers(typeOfVoucher);
         cmbType.ValueMember = "voucherTypeId";
         cmbType.DisplayMember = "voucherTypeName";
         cmbType.DataSource = listObj[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("DN34:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }