public Trainer_Charts(DolphinManager d, WWChartMask c) { charts = c; dolphin = d; InitializeComponent(); SetCheckboxesFromCharts(); }
public Trainer_MailBag(DolphinManager d, Bag b) { dolphin = d; mailBag = b; InitializeComponent(); SetBoxesFromMailBag(); }
public Trainer_Statues(DolphinManager d, WWStatueMask s) { dolphin = d; statues = s; InitializeComponent(); SetCheckboxesFromStatues(); }
public Trainer_Triforce(DolphinManager d, WWTriforceMask t) { dolphin = d; triforce = t; InitializeComponent(); SetCheckboxesFromTriforce(); }
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(); }
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(); }