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