private void Run_Button_Click(object sender, EventArgs e) { Focus_Label.Focus(); if (Check4WarframeLaunched()) { if (Baro_Button.Text.Contains("Stop")) { Baro_Button.PerformClick(); } if (RB_Continuous.Checked) { Module_RelicScanner.Relic_ContinuousToggle(); } else { Relic_Button.Enabled = false; } if (Relic_Button.Text.Contains("Run")) { RelicBGWorker.RunWorkerAsync(); } } else { MessageBox.Show("Warframe is not running.", "Warframe Relic Scanner", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void RelicScan_Timer_Tick(object sender, EventArgs e) { RelicScan_Timer.Stop(); RelicBGWorker.RunWorkerAsync(); }