Ejemplo n.º 1
0
        public void ModifyApplicationSettings()
        {
            bool?bRelaunchUnstable = ApplicationSettingsWindow.ShowModal(this, bUnstable, OriginalExecutableFileName, Settings, Log);

            if (bRelaunchUnstable.HasValue)
            {
                UpdateMonitor.TriggerUpdate(UpdateType.UserInitiated, bRelaunchUnstable);
            }
        }
Ejemplo n.º 2
0
 private void OnActivationListenerCallback()
 {
     // Check if we're trying to reopen with the unstable version; if so, trigger an update to trigger a restart with the new executable
     if (!bUnstable && (Control.ModifierKeys & Keys.Shift) != 0)
     {
         UpdateMonitor.TriggerUpdate();
     }
     else
     {
         ShowAndActivate();
     }
 }