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

Last change on this file since 2598 was 2598, checked in by matkovic, 11 years ago

-IEditorInterface: Added Zoom related Methods + ZoomChangedEvent
-CryptWin: Added two button to change 'Zoom' and for editor FitToScreen

File size: 834 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        {
[2598]17            long x, y;
18            x = DateTime.Now.Ticks;
[1416]19            Cryptool.CrypWin.MainWindow wnd = new Cryptool.CrypWin.MainWindow();
[2181]20            try
21            {
22                wnd.Show();
23            }
24            catch (Exception)
25            {
26                //This window has already been closed
27            }
[2598]28            y = DateTime.Now.Ticks - x;
29            Console.WriteLine(y.ToString());
[1416]30        }
31    }
32}
Note: See TracBrowser for help on using the repository browser.