示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            PhoenixLauncher app = new PhoenixLauncher();

            Application.Run(app);
        }
        public RoutineController(PhoenixLauncher MainForm)
        {
            this.logger                 = new Logger(MainForm.Console);
            this.phoenixClient          = new HTTPRequest();
            this.JSON                   = new JavaScriptSerializer();
            this.progress               = new ProgressController(MainForm.progressBar);
            this.FS                     = new FileService(this.logger);
            this.MainForm               = MainForm;
            this.MainForm.Headline.Text = MainForm.Headline.Text + ' ' + Config.Launcher.VERSION;

            this.routine();
        }