add webtestversion
This commit is contained in:
@@ -61,15 +61,9 @@ namespace Project.Dialog
|
||||
// 시스템에 설치된 WebView2 사용
|
||||
await this.webView21.EnsureCoreWebView2Async();
|
||||
}
|
||||
var fn = "intro.html";
|
||||
if (System.Diagnostics.Debugger.IsAttached)
|
||||
fn = "dashboard.html";
|
||||
var fi = new System.IO.FileInfo($"view\\{fn}");
|
||||
if(fi.Exists)
|
||||
{
|
||||
webView21.Source = new Uri(fi.FullName);
|
||||
label1.Visible = false;
|
||||
}
|
||||
// OWIN 서버의 DashBoard 페이지로 연결
|
||||
webView21.Source = new Uri("http://127.0.0.1:9000/DashBoard");
|
||||
label1.Visible = false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user