private void toolStripMenuItemCaptureOnAlarm_Click(object sender, EventArgs e) { this.CaptureFlag = CAPTUREFLAG.ONALARM; }