private void stopToolStripMenuItem_Click(object sender, EventArgs e) { // Stop if (BotSettings.Instance.Bots[dataGridView1.CurrentRow.Index].IsStarted) BotSettings.Instance.Bots[dataGridView1.CurrentRow.Index].Stop(); }