static void Main(string[] args)
        {
            // Sets the UI culture to German.
            //Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE");

            //RELEASE MODE; ERROR DIALOG
            try
            {
                Form.CheckForIllegalCrossThreadCalls = false;

                WorkingDirectory = Application.StartupPath + "\\";

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

                InitConfig();

                // check for file to load
                if (args.Length > 0 && File.Exists(args[0]))
                {
                    qdForm = new QuestDesignerForm(new FileInfo(args[0]));
                }

                Application.ApplicationExit += new EventHandler(Application_ApplicationExit);

                Application.Run(DesignerForm);
            }
            catch (Exception e)
            {
                new ErrorForm(e);
            }
        }
        static void Main(string[] args)
        {
            // Sets the UI culture to German.
            //Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE");

            //RELEASE MODE; ERROR DIALOG
            try
            {
                Form.CheckForIllegalCrossThreadCalls = false;

                WorkingDirectory = Application.StartupPath+"\\";

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

                InitConfig();

                // check for file to load
                if (args.Length > 0 && File.Exists(args[0]))
                {
                    qdForm = new QuestDesignerForm(new FileInfo(args[0]));
                }

                Application.ApplicationExit += new EventHandler(Application_ApplicationExit);

                Application.Run(DesignerForm);
            }
            catch (Exception e)
            {
                new ErrorForm(e);
            }
        }