Ver 2025.03.19.0
FrmEqSelector 로그파일 목록수집 개선(2회 to 1회) FrmServerLog 파일명 중복에 따른 다운로드 파일명 수정
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
@@ -378,8 +379,13 @@ namespace DDUtilityApp.LOGPARSER.PARSER
|
||||
|
||||
dlg = new FrmEqSelector();
|
||||
dlg.Owner = sender;
|
||||
dlg.Size = new System.Drawing.Size(sender.Width - 10, sender.Height - 60);
|
||||
dlg.StartPosition = FormStartPosition.CenterParent;
|
||||
dlg.StartPosition = FormStartPosition.Manual;
|
||||
int nWidth = sender.Width - 10;
|
||||
int nHeight = sender.Height - 48;
|
||||
int nLeft = sender.Left + ((sender.Width - nWidth) / 2);
|
||||
int nTop = Math.Max(0, sender.Top) + ((sender.Height - nHeight)) - 10;
|
||||
dlg.Size = new System.Drawing.Size(nWidth, nHeight);
|
||||
dlg.Location = new System.Drawing.Point(nLeft, nTop);
|
||||
dlg.ServerName = this.ServerName;
|
||||
dlg.Equipment = sender.Equipment == null ? new EisEquipment() { EquipmentID = this.EquipmentID, Server = new LogServer(this.ServerName)} : sender.Equipment;
|
||||
dlg.SelectedLogFiles = lstLogFile.ToArray();
|
||||
|
||||
Reference in New Issue
Block a user