Exemple #1
0
 static void Main()
 {
     ntrClient    = new NTR();
     scriptHelper = new ScriptHelper();
     helper       = new RemoteControl();
     PKTable      = new LookupTable();
     pkhex        = new PKHeX();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     f1  = new MainForm();
     gd  = new GiveawayDetails();
     bld = new BanlistDetails();
     Application.Run(f1);
 }
Exemple #2
0
        static void Main()
        {
            ntrClient            = new NTR();
            ntrClient.DataReady += NTR.handleDataReady;
            PKTable              = new LookupTable();
            pkhex = new PKHeX();
            data  = new Data();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            f1           = new MainForm();
            gd           = new GiveawayDetails();
            bld          = new BanlistDetails();
            scriptHelper = new ScriptHelper(ntrClient);
            scriptHelper.onAutoDisconnect += f1.startAutoDisconnect;
            helper = new RemoteControl(scriptHelper, ntrClient);
            helper.onDumpedPKHeXData += setDumpedData;


            Application.Run(f1);
        }