Пример #1
0
        static void Main()
        {
            LogDirectoryMonitor monitor = new LogDirectoryMonitor();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (Properties.Settings.Default.FirstLoad)
            {
                Properties.Settings.Default.Upgrade();
            }

            IntelWindow window = new IntelWindow();

            window.Text = GetTitle();

            monitor.Path   = GetEVELogDirectory();
            window.Monitor = monitor;

            Application.Run(window);
        }
Пример #2
0
        static void Main()
        {
            LogDirectoryMonitor monitor = new LogDirectoryMonitor();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (Properties.Settings.Default.FirstLoad)
            {
                Properties.Settings.Default.Upgrade();
            }

            IntelWindow window = new IntelWindow();

            window.Text = GetTitle();

            monitor.Path = GetEVELogDirectory();
            window.Monitor = monitor;

            Application.Run(window);
        }