Пример #1
0
        private static void Main()
        {
            CheckAndDownloadDependencies.Start();



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

            Application.Run(new MainForm());
        }
Пример #2
0
        private static void Main()
        {
            try
            {
                CheckAndDownloadDependencies.Start();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
Пример #3
0
 private static void Main()
 {
     //WILL BE HANDLED IN THE METHOD:
     //if (MessageBox.Show("Downloading missing Files and Dependencies?", "Beware", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation) == DialogResult.OK)
     //{
     try
     {
         CheckAndDownloadDependencies.Start();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Fehler");
     }
     //}
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new MainForm());
 }