Inheritance: WindowsFormsApplicationBase
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);
            Application.EnableVisualStyles();

            SingleInstanceController controler = new SingleInstanceController();
            controler.Run(Environment.GetCommandLineArgs());
        }
Beispiel #2
0
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);
            Application.EnableVisualStyles();

            SingleInstanceController controler = new SingleInstanceController();

            controler.Run(Environment.GetCommandLineArgs());
        }
Beispiel #3
0
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);
            Application.EnableVisualStyles();

            AppCenter.Start("8e9dbe40-0b00-46ee-8a37-738dcb1a9e4d",
                            typeof(Analytics), typeof(Crashes));

#if DEBUG
            Microsoft.AppCenter.Analytics.Analytics.TrackEvent("Starting in DEBUG");
#else
            Microsoft.AppCenter.Analytics.Analytics.TrackEvent("Starting in RELEASE");
#endif

            SingleInstanceController controler = new SingleInstanceController();
            controler.Run(Environment.GetCommandLineArgs());
        }