..
This commit is contained in:
@@ -905,15 +905,15 @@ namespace FEQ0000
|
||||
|
||||
private void button5_Click(object sender, EventArgs e)
|
||||
{
|
||||
FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
var bmp = f.bmp.Clone();
|
||||
Application.DoEvents();
|
||||
var oimag = this.pictureBox1.Image;
|
||||
this.pictureBox1.Image = (Image)bmp;
|
||||
if (oimag != null) oimag.Dispose();
|
||||
}
|
||||
//FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex);
|
||||
//if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
//{
|
||||
// var bmp = f.bmp.Clone();
|
||||
// Application.DoEvents();
|
||||
// var oimag = this.pictureBox1.Image;
|
||||
// this.pictureBox1.Image = (Image)bmp;
|
||||
// if (oimag != null) oimag.Dispose();
|
||||
//}
|
||||
}
|
||||
|
||||
private void button6_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user