parent
aec42f5a9d
commit
51285867d4
|
@ -620,11 +620,10 @@ namespace ITC81DB_0H.Controls
|
||||||
private void buttonCapture_Click(object sender, EventArgs e)
|
private void buttonCapture_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string filePath = "";
|
string filePath = "";
|
||||||
Bitmap bitMap = new Bitmap(800, 480);
|
Bitmap bitMap = new Bitmap(800, 600);
|
||||||
|
|
||||||
bitMap = IntechGraphics.CopyFromScreen();
|
bitMap = IntechGraphics.CopyFromScreen();
|
||||||
filePath = string.Format("{0}{1}_EngineerSetting.jpg",
|
filePath = string.Format("{0}\\{1}_EngineerSetting.jpg", this.ParentForm.ParentForm.PathDataLogFolder, DateTime.Now.ToString("yyyyMMdd"));
|
||||||
this.ParentForm.ParentForm.PathDataBackupFolder, this.ParentForm.ParentForm.SystemConfig1.SerialNumber);
|
|
||||||
bitMap.Save(filePath, ImageFormat.Jpeg);
|
bitMap.Save(filePath, ImageFormat.Jpeg);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -1042,7 +1042,7 @@ namespace ITC81DB_0H.Controls
|
||||||
Bitmap bitMap = new Bitmap(800, 600);
|
Bitmap bitMap = new Bitmap(800, 600);
|
||||||
|
|
||||||
bitMap = IntechGraphics.CopyFromScreen();
|
bitMap = IntechGraphics.CopyFromScreen();
|
||||||
filePath = string.Format("{0}\\{1}_EquipmentSetting.jpg", this.ParentForm.ParentForm.PathDataLogFolder, DateTime.Now.ToString("yyyyMMdd"));
|
filePath = string.Format("{0}\\{1}_FunctionSetting.jpg", this.ParentForm.ParentForm.PathDataLogFolder, DateTime.Now.ToString("yyyyMMdd"));
|
||||||
bitMap.Save(filePath, ImageFormat.Jpeg);
|
bitMap.Save(filePath, ImageFormat.Jpeg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue