private void EmuListInstanButton_Click(object sender, EventArgs e) { if (!Nox.IsNoxInstalled()) { return; } SelectedEmuInstance.Items.Clear(); foreach (var item in Nox.ListNoxInstances()) { Log(item); SelectedEmuInstance.Items.Add(item); SelectedEmuInstance.SelectedIndex = 0; } }
private void MainBotForm_Load(object sender, EventArgs e) { DebugPictureBox = DebugImageBox; BotLogTextbox = BotLog; SelectedEmuInstance = EmulatorInstComboBox; Adb = new ADB(); Clicks = new Clicks(); ImageSearch = new ImageSearchClass(); CaptureImage = new CaptureImage(); Nox = new Nox(); foreach (var item in Nox.ListNoxInstances()) { Log(item); SelectedEmuInstance.Items.Add(item); SelectedEmuInstance.SelectedIndex = 0; } }