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