예제 #1
0
        void Runner_NewVersionAvailable(CodePlexNewReleaseChecker.Release obj)
        {
            //show popup that new version is available.
            NewPulseVersion npv = new NewPulseVersion();

            npv.LoadRelease(obj);

            npv.ShowDialog();
        }
예제 #2
0
        public void LoadRelease(CodePlexNewReleaseChecker.Release release)
        {
            _release = release;

            //get current version
            string versionDesc = "{0} ({1})";
            string version = string.Format("Pulse {0}", Assembly.GetExecutingAssembly().GetName().Version.ToString());
            lblOldVersion.Text = version;
            lblNewVersion.Text = string.Format(versionDesc, _release.Name, _release.ReleaseDate.Value.ToShortDateString());

            rtbDesc.Text = _release.Description;
        }
예제 #3
0
        public void LoadRelease(CodePlexNewReleaseChecker.Release release)
        {
            _release = release;

            //get current version
            string versionDesc = "{0} ({1})";
            string version     = string.Format("Pulse {0}", Assembly.GetExecutingAssembly().GetName().Version.ToString());

            lblOldVersion.Text = version;
            lblNewVersion.Text = string.Format(versionDesc, _release.Name, _release.ReleaseDate.Value.ToShortDateString());

            rtbDesc.Text = _release.Description;
        }