엔지니어, 기능설정 Capture 버튼 버그 수정

master V3.1.2
DESKTOP-999R8N3\CJY 2023-11-07 17:05:52 +09:00
parent aec42f5a9d
commit 51285867d4
4 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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);
} }