private void toolStripButton22_Click(object sender, EventArgs e) { if (toolStripButton22.Checked) { toolStripButton22.BackColor = System.Drawing.Color.Black; } else { toolStripButton22.BackColor = default(System.Drawing.Color); } mainFormManager.SetUsingParallelForStereoVision(); }