/// <summary> /// Function to Get Type Of Voucher From VoucherType /// </summary> /// <param name="strvoucherTypeName"></param> /// <returns></returns> public string TypeOfVoucherView(string strvoucherTypeName) { string StrTypeOfVoucher = string.Empty; try { StrTypeOfVoucher = spVoucherType.TypeOfVoucherView(strvoucherTypeName); } catch (Exception ex) { MessageBox.Show("VT3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(StrTypeOfVoucher); }