예제 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();

            //If Aion path is not configured yet, do so
            if (!Config.game_path_exists())
            {
                //Prompt user
                MessageBox.Show("Please set the path for your AION installation.", "Need AION path!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);

                //Setup Config window to get path from user
                ConfigWindow cfg = new ConfigWindow();
                cfg.ShowDialog();
            }

            //Setup the main window to display
            main_window = new MeterWindow();
            Application.Run(main_window);
        }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();

            //If Aion path is not configured yet, do so
            if (!Config.game_path_exists())
            {
                //Prompt user
                MessageBox.Show("Please set the path for your AION installation.", "Need AION path!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);

                //Setup Config window to get path from user
                ConfigWindow cfg = new ConfigWindow();
                cfg.ShowDialog();
            }

            //Setup the main window to display
            main_window = new MeterWindow();
            Application.Run(main_window);
        }