..
This commit is contained in:
@@ -396,23 +396,23 @@ namespace FCM0000
|
||||
return;
|
||||
}
|
||||
|
||||
FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
System.Drawing.Bitmap bmp = f.bmp.Clone() as System.Drawing.Bitmap;
|
||||
Application.DoEvents();
|
||||
//FCOMMON.fWebCamera f = new FCOMMON.fWebCamera(FCOMMON.info.camIndex);
|
||||
//if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
//{
|
||||
// System.Drawing.Bitmap bmp = f.bmp.Clone() as System.Drawing.Bitmap;
|
||||
// Application.DoEvents();
|
||||
|
||||
if (!FCOMMON.DBM.setImageData(bmp, "Items", "image", dr.idx))
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 실패");
|
||||
}
|
||||
else
|
||||
{
|
||||
var oimag = this.pictureBox1.Image;
|
||||
this.pictureBox1.Image = (Image)bmp;
|
||||
if (oimag != null) oimag.Dispose();
|
||||
}
|
||||
}
|
||||
// if (!FCOMMON.DBM.setImageData(bmp, "Items", "image", dr.idx))
|
||||
// {
|
||||
// FCOMMON.Util.MsgE("등록 실패");
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// var oimag = this.pictureBox1.Image;
|
||||
// this.pictureBox1.Image = (Image)bmp;
|
||||
// if (oimag != null) oimag.Dispose();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
private void tbSearch_KeyDown(object sender, KeyEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user