예제 #1
0
        public FormNewVersion()
        {
            InitializeComponent();

            Config.UpdateConfig lConf            = InfrastructureFacade.getInstance().getUpdateConfig();
            StringBuilder       lContributionStr = new System.Text.StringBuilder();

            try
            {
                lContributionStr.Append(@"{\rtf1\ansi There is a new Simsang version (" + lConf.AvailableVersionStr + @") available.\line Click on the link below to download it.");
                lContributionStr.Append(@"\line \line \line");
                lContributionStr.Append(@"{\b \fs20 Changes } \line ");
                if (lConf != null && lConf.Messages != null)
                {
                    foreach (String lTmp in lConf.Messages)
                    {
                        lContributionStr.Append(@"\line \bullet  " + lTmp);
                    }
                }

                lContributionStr.Append("}");
            }
            catch (Exception lEx)
            { }

            RTB_SimsangUpdate.Rtf = lContributionStr.ToString();
        }
예제 #2
0
    /// <summary>
    /// 
    /// </summary>
    /// <returns></returns>
    public static InfrastructureFacade getInstance()
    {
      if (mInstance == null)
        mInstance = new InfrastructureFacade();

      mInstance.getUpdateInformation();

      return mInstance;
    }
예제 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public static InfrastructureFacade getInstance()
        {
            if (mInstance == null)
            {
                mInstance = new InfrastructureFacade();
            }

            mInstance.getUpdateInformation();

            return(mInstance);
        }