Esempio n. 1
0
 private void WebView_LoadCompleted(object sender, NavigationTaskEventArgs e)
 {
     try
     {
         if (this._currPage == "CHART" && !this._isSetChartParam)
         {
             JSObject dOMWindow = this.webControl1.WebView.GetDOMWindow();
             JSFunction jSFunction = (JSFunction)this.webControl1.WebView.EvalScript("setParametersSave");
             object obj = jSFunction.Invoke(dOMWindow, new object[]
             {
                 Settings.Default.Template
             });
             this._isSetChartParam = true;
         }
     }
     catch (Exception ex)
     {
         this.ShowError("WebView_LoadCompleted", ex);
     }
 }
Esempio n. 2
0
 private void WebView_LoadCompleted(object sender, NavigationTaskEventArgs e)
 {
     this.proceso.Text = "Listo";
 }