private void BotaoVoltar(object sender, EventArgs e) { if (WebView3.CanGoBack) { WebView3.GoBack(); } }
private void BotaoProximo(object sender, EventArgs e) { if (WebView3.CanGoForward) { WebView3.GoForward(); } }
public About_FAQPage() { InitializeComponent(); webViewQA = this.FindControl <WebView3>("webViewQA"); webViewQA.Url = string.Format( UrlConstants.OfficialWebsite_Box_Faq_, CefNetApp.GetTheme(), R.Language); }
public About_ChangeLog() { InitializeComponent(); webView = this.FindControl <WebView3>(nameof(webView)); webView.Url = string.Format( UrlConstants.OfficialWebsite_Box_Changelog_, CefNetApp.GetTheme(), R.Language); }
public About_FAQPage() { InitializeComponent(); webViewQA = this.FindControl <WebView3>(nameof(webViewQA)); webViewQA.InitialUrl = string.Format( "https://steampp.net/faqbox?theme={0}&language={1}", CefNetApp.GetTheme(), R.Language); }
public DebugWebViewPage() { InitializeComponent(); webView = this.FindControl <WebView3>("webView"); webView.Url = "chrome://version"; //webView.BrowserCreated += WebView_BrowserCreated; urlTextBox = this.FindControl <TextBox>("urlTextBox"); urlTextBox.KeyUp += UrlTextBox_KeyUp; }
public WebView3Window() { InitializeComponent(); #if DEBUG this.AttachDevTools(); #endif webView = this.FindControl <WebView3>(nameof(webView)); webView.InitialUrl = WebView3WindowViewModel.AboutBlank; webView.Opacity = 0; webView.DocumentTitleChanged += WebView_DocumentTitleChanged; }
public WebView3Window() : base() { InitializeComponent(); #if DEBUG this.AttachDevTools(); #endif webView = this.FindControl <WebView3>(nameof(webView)); webView.Browser.InitialUrl = WebView3WindowViewModel.AboutBlank; webView.Browser.DocumentTitleChanged += WebView_DocumentTitleChanged; webView.Browser.LoadingStateChange += WebView_LoadingStateChange; webView.Browser.BrowserCreated += WebView_BrowserCreated; }
public About_FAQPage() { InitializeComponent(); webViewQALoading = this.FindControl <ProgressRing>(nameof(webViewQALoading)); webViewQA = this.FindControl <WebView3>(nameof(webViewQA)); webViewQA.Opacity = 0; webViewQA.LoadingStateChange += WebView_LoadingStateChange; webViewQA.InitialUrl = string.Format( "https://steampp.net/faqbox?theme={0}&language={1}", CefNetApp.GetTheme(), R.Language); }
private void BotaoAtualizar(object sender, EventArgs e) { WebView3.Reload(); }
/// <summary> /// This is the click handler for the 'Script' button. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Script_Click(object sender, RoutedEventArgs e) { // Invoke the javascript function called 'SayGoodbye' that is loaded into the WebView. WebView3.InvokeScript("SayGoodbye", null); }
/// <summary> /// This is the click handler for the 'Load' button. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Load_Click(object sender, RoutedEventArgs e) { // Grab the HTML from the text box and load it into the WebView WebView3.NavigateToString(HTML3.Text); }