private async void lookForUpdate() { lookedForUpdate = true; if (await Octo.isUpdate()) { MessageBox.Show("A new version has been released!"); checkingUpdateToolStripMenuItem.Text = "Update available!"; updateAvailable = true; } else { //MessageBox.Show("No new release found!"); updateAvailable = false; checkingUpdateToolStripMenuItem.Text = "No new Update!"; } }
private void CmdWindow_Load(object sender, EventArgs e) { resetLog(); textBox_Ip.Text = Program.sm.ip_address; if (Program.sm.ip_address != "Nintendo 3DS IP") { Addlog("Loaded your last IP address!"); } // Start Heartbeat hbc = new Heartbeat_controller(); hbc.start(); // Start Octo Octo.init(); }
private async void button_debug_rTime_Click(object sender, EventArgs e) { textBox_rTime.Text = "" + await Octo.getLastUpdate(); }