public CyCustErr GetBodyText(ICySystemBuilderCompArgs_v1 args, out string bodyText)
        {
            string appVersion = "";
            System.UInt16 iappVersion;

            CyCompDevParam applicationVersion = args.InstQuery.GetCommittedParam(CyParameters.PARAM_VERSION);

            if (applicationVersion.ErrorCount == 0)
            {
                applicationVersion.TryGetValueAs<System.UInt16>(out iappVersion);
                appVersion = ConvertDecToHex(iappVersion);
            }

            bodyText = String.Format(Resources.SBComponentBodyText, appVersion);

            return CyCustErr.OK;
        }
        public CyCustErr GetBodyText(ICySystemBuilderCompArgs_v1 args, out string bodyText)
        {
            string appVersion = "";

            System.UInt16 iappVersion;

            CyCompDevParam applicationVersion = args.InstQuery.GetCommittedParam(CyParameters.PARAM_VERSION);

            if (applicationVersion.ErrorCount == 0)
            {
                applicationVersion.TryGetValueAs <System.UInt16>(out iappVersion);
                appVersion = ConvertDecToHex(iappVersion);
            }

            bodyText = String.Format(Resources.SBComponentBodyText, appVersion);

            return(CyCustErr.OK);
        }
 public CyCustErr GetTitleText(ICySystemBuilderCompArgs_v1 args, out string title)
 {
     title = Properties.Resources.SBComponentTitle;
     return(CyCustErr.OK);
 }
 public CyCustErr GetTitleText(ICySystemBuilderCompArgs_v1 args, out string title)
 {
     title = Properties.Resources.SBComponentTitle;
     return CyCustErr.OK;
 }