示例#1
0
        public Trainer_Charts(DolphinManager d, WWChartMask c)
        {
            charts  = c;
            dolphin = d;
            InitializeComponent();

            SetCheckboxesFromCharts();
        }
示例#2
0
        public Trainer_MailBag(DolphinManager d, Bag b)
        {
            dolphin = d;
            mailBag = b;
            InitializeComponent();

            SetBoxesFromMailBag();
        }
示例#3
0
        public Trainer_Statues(DolphinManager d, WWStatueMask s)
        {
            dolphin = d;
            statues = s;
            InitializeComponent();

            SetCheckboxesFromStatues();
        }
示例#4
0
        public Trainer_Triforce(DolphinManager d, WWTriforceMask t)
        {
            dolphin  = d;
            triforce = t;
            InitializeComponent();

            SetCheckboxesFromTriforce();
        }
示例#5
0
        public Trainer_Bottles(DolphinManager d, byte b1, byte b2, byte b3, byte b4)
        {
            dolphin    = d;
            bottles[0] = b1;
            bottles[1] = b2;
            bottles[2] = b3;
            bottles[3] = b4;
            InitializeComponent();

            SetBoxesFromBottles();
        }
示例#6
0
        public MainForm()
        {
            InitializeComponent();

            triforcePicture.Controls.Add(triforceCounter);
            triforceCounter.Location  = new Point(32, 26);
            triforceCounter.BackColor = Color.Transparent;

            heartsPicture.Controls.Add(heartCounter);
            heartCounter.Location  = new Point(32, 18);
            heartCounter.BackColor = Color.Transparent;

            trainerModeCheckbox.Checked = trainermode;

            modeBox.SelectedIndex = 0;

            dolphin = new DolphinManager();
            PrintConsole("Opened and attached Dolphin");

            dolphinListener.DoWork += this.DolphinListener;
            listeningToDolphin      = true;
            dolphinInQueue          = new List <string>();
            dolphinListener.RunWorkerAsync();
        }