private void contextMenu_Opening(object sender, System.ComponentModel.CancelEventArgs e) { StopPreview(); }