Пример #1
0
        /// <summary>
        /// Show the changelog.
        /// </summary>
        /// <param name="welcomes"></param>
        public static void ShowChangelog(bool welcomes)
        {
            ChangelogForm changelog = new ChangelogForm();

            changelog.Initialize(welcomes);

            changelog.ShowDialog();
        }
Пример #2
0
 private void changelogTile_Click(object sender, EventArgs e)
 {
     if (String.IsNullOrWhiteSpace(_changelog))
     {
         Process.Start(@"https://github.com/kreischweide/metrothing/releases");
     }
     else
     {
         var form = new ChangelogForm(_changelog);
         form.Show();
     }
 }
Пример #3
0
        public void ShowChangelogDialog(bool isUpgraded)
        {
            var dlg = new ChangelogForm();

            dlg.InitEx(isUpgraded);

            var result = UIUtil.ShowDialogAndDestroy(dlg);

            if (result == DialogResult.Yes)
            {
                this.ShowSettingsDialog();
            }
        }