/// <summary> /// Function to get id for PrinterSettings based on parameter /// </summary> /// <param name="inMasterId"></param> /// <returns></returns> public int FormIdGetForPrinterSettings(int inMasterId) { int frmId = 0; try { frmId = spVoucherType.FormIdGetForPrinterSettings(inMasterId); } catch (Exception ex) { MessageBox.Show("VT9:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(frmId); }