private static void UninstallPrompt()
 {
     var prompt = new InstallationPrompt();
     prompt.RemindMeLaterButton.Click += (sender, args) => prompt.Close();
     prompt.Remove.Click += (sender, args) => prompt.Close();
     prompt.Remove.Click += (sender, args) => UninstallOldVersion();
     prompt.ShowDialog();
 }
Пример #2
0
        private static void UninstallPrompt()
        {
            var prompt = new InstallationPrompt();

            prompt.RemindMeLaterButton.Click += (sender, args) => prompt.Close();
            prompt.Remove.Click += (sender, args) => prompt.Close();
            prompt.Remove.Click += (sender, args) => UninstallOldVersion();
            prompt.ShowDialog();
        }