private void noneToolStripMenuItem1_Click(object sender, EventArgs e) { motionDetectionType = 0; SetMotionDetectionAlgorithm(null); }