private void autodetectToolStripMenuItem_Click(object sender, EventArgs e) { detecting = true; objectsCountLabel.Text = String.Empty; }