private void toolStripMenuItemDetectModeMotion_Click(object sender, EventArgs e) { this.DetectMode = DETECTMODE.MOTION; }