FrmServerLog 추가 (개발중...)
This commit is contained in:
@@ -106,22 +106,32 @@ namespace DDUtilityApp
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loading AppSettings
|
||||
/// </summary>
|
||||
private void LodConfig()
|
||||
{
|
||||
// DefaultPath
|
||||
string defaultPath = ConfigurationManager.AppSettings["DefaultPath"];
|
||||
if (string.IsNullOrEmpty(defaultPath)) defaultPath = $@"%MyDocuments%\DDUtility\";
|
||||
this.DefaultPath = defaultPath.Replace("%MyDocuments%", Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
|
||||
this.DownloadPath = $@"{this.DefaultPath}Download\";
|
||||
this.WorkflowPath = $@"{this.DefaultPath}Workflow\";
|
||||
this.MesDownloadPath = $@"{this.DefaultPath}MesDownload\"; //jhlim 20250202
|
||||
this.DownloadPath = Path.Combine(this.DefaultPath, "Download");
|
||||
this.WorkflowPath = Path.Combine(this.DefaultPath, "Workflow");
|
||||
this.MesDownloadPath = Path.Combine(this.DefaultPath, "DownloadMES");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loading Setting.xml
|
||||
/// </summary>
|
||||
public void LoadSetting()
|
||||
{
|
||||
this.LoadSetting($@"{this.DefaultPath}Setting.xml");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loading Setting File
|
||||
/// </summary>
|
||||
/// <param name="filename"></param>
|
||||
private void LoadSetting(string filename)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user