..
This commit is contained in:
@@ -79,6 +79,11 @@ namespace Project.Dialog
|
|||||||
// WebView2에서 C# 메서드를 호출할 수 있도록 설정
|
// WebView2에서 C# 메서드를 호출할 수 있도록 설정
|
||||||
webView21.CoreWebView2.WebMessageReceived += WebView2_WebMessageReceived;
|
webView21.CoreWebView2.WebMessageReceived += WebView2_WebMessageReceived;
|
||||||
|
|
||||||
|
//var wwwroot = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "web", "wwwroot");
|
||||||
|
//var mapnme = $"gw{DateTime.Now.ToString("mmssfff")}.local";
|
||||||
|
//webView21.CoreWebView2.SetVirtualHostNameToFolderMapping(mapnme, wwwroot, CoreWebView2HostResourceAccessKind.Allow);
|
||||||
|
//Pub.WebServiceURL = $"http://{mapnme}";
|
||||||
|
|
||||||
// OWIN 서버의 Login 페이지로 연결
|
// OWIN 서버의 Login 페이지로 연결
|
||||||
webView21.Source = new Uri($"{Pub.WebServiceURL}/home/login");
|
webView21.Source = new Uri($"{Pub.WebServiceURL}/home/login");
|
||||||
label1.Visible = false;
|
label1.Visible = false;
|
||||||
|
|||||||
@@ -24,15 +24,11 @@ namespace Project
|
|||||||
public static UserSetting uSetting; //user setting
|
public static UserSetting uSetting; //user setting
|
||||||
public static Setting setting; //global setting
|
public static Setting setting; //global setting
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static DateTime LastInputTime = DateTime.Now;
|
public static DateTime LastInputTime = DateTime.Now;
|
||||||
public static CResult Result = new CResult();
|
public static CResult Result = new CResult();
|
||||||
public static DatabaseConnectionString.DatabaseInfo dbinfo = null;
|
public static DatabaseConnectionString.DatabaseInfo dbinfo = null;
|
||||||
public static string WebServiceURL { get; set; }
|
public static string WebServiceURL { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 무조건 업무일지를 자동으로 작성하는 경우
|
/// 무조건 업무일지를 자동으로 작성하는 경우
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user