source: trunk/CrypStartup/App.xaml.cs @ 2181

Last change on this file since 2181 was 2181, checked in by sauer, 11 years ago

AutoUpdate:

  • added several settings (only default values until settings can be changed via settings tab)
  • these default settings cause automatic updating
  • changed button behavior (but without info tab yet)
  • since the process can only be tested in a nightly build, it cannot be guaranteed to work under all circumstances yet
  • if it does not, use the -noupdate command line argument to deactivate the function
File size: 686 bytes
RevLine 
[1416]1using System;
2using System.Collections.Generic;
3using System.Configuration;
4using System.Data;
5using System.Linq;
6using System.Windows;
7
8namespace CrypStartup
9{
10    /// <summary>
11    /// Interaction logic for App.xaml
12    /// </summary>
13    public partial class App : Application
14    {
15        private void Application_Startup(object sender, StartupEventArgs e)
16        {
17            Cryptool.CrypWin.MainWindow wnd = new Cryptool.CrypWin.MainWindow();
[2181]18            try
19            {
20                wnd.Show();
21            }
22            catch (Exception)
23            {
24                //This window has already been closed
25            }
[1416]26        }
27    }
28}
Note: See TracBrowser for help on using the repository browser.