Created
November 6, 2017 00:15
-
-
Save jankurianski/60f5098e9fbeef0de81b39b5aa8c957d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs b/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs | |
index b97bf79f..1f454947 100644 | |
--- a/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs | |
+++ b/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs | |
@@ -1,4 +1,6 @@ | |
-<U+FEFF>namespace CefSharp.WinForms.Example | |
+<U+FEFF>using System.Windows.Forms; | |
+ | |
+namespace CefSharp.WinForms.Example | |
{ | |
partial class BrowserTabUserControl | |
{ | |
@@ -178,6 +180,13 @@ | |
this.ResumeLayout(false); | |
this.PerformLayout(); | |
+ this.urlTextBox.LostFocus += UrlTextBox_LostFocus; | |
+ | |
+ } | |
+ | |
+ private void UrlTextBox_LostFocus(object sender, System.EventArgs e) | |
+ { | |
+ MessageBox.Show("test"); | |
} | |
#endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am reproducing this with your gist. You need to lose focus and your new focus MUST BE the browser control. Steps are
Result: I see the MessageBox but the application is not responding and the cursor is stuck in loading state. The only thing I can do is to kill the process.
I am reproducing this on my home computer, both x64 and Win32 and on multiple computers are my work - it is reproducible on every computer I tried so far.