Пример #1
0
        private static void Main(string[] args)
        {
            var path = args.Length > 0 ? args[0] : null;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var factory = new MasterFactory(path);

            TabsTools.SetupCatcher(factory.Name);
            var form = new MainForm(factory);

            form.Size = new Size(1200, 600);
            Application.Run(form);
        }
Пример #2
0
        private static void Main(string[] args)
        {
            //SetHighDpiMode introduced in net5-win
            //Application.SetHighDpiMode(HighDpiMode.SystemAware);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var path = args.Length > 0 ? args[0] : null;

            TabsTools.IsDebug = Program.IsDebug;
            var factory = new TerminalFactory(path);

            TabsTools.SetupCatcher(factory.Name);
            //SharpLogger.LogDebug.Enable(typeof(LogView).Name);
            //SharpLogger.LogDebug.AddDefaultFile();
            Application.Run(new MainForm(factory));
        }