private void toolStripButtonSnag_Click(object sender, EventArgs e) { Bitmap b = this.cameraWindow.CurrentFrame; if (b != null) { CameraSnagForm f = new CameraSnagForm(); f.Camera = this.CameraClass; f.Bitmap = b; f.Show(); } else { MessageBox.Show(Translator.Instance.T("当前窗口中尚无图像, 无法完成截图操作."), MotionPreference.Instance.MessageBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning); } }