protected void OnAddressBarModified(Object aSender, EventArgs aEa) { if (LocationBarModified != null) { LocationBarEventArgs lbea = new LocationBarEventArgs(mAddressBar.Text); LocationBarModified(this, lbea); } }
protected void FireLocationBarCommit() { if (LocationBarCommit != null) { LocationBarEventArgs lbea = new LocationBarEventArgs(mAddressBar.Text); LocationBarCommit(this, lbea); } }
/////////////////////////////////////////////////////////////////////////// // Location Bar protected void OnLocationCommit(Object aSender, LocationBarEventArgs aLbea) { string url = ServiceManager.Bookmarks.ResolveKeyword(aLbea.Text); if (url == "") { url = aLbea.Text; } mUserTyped = false; LoadURL(url); }
protected void OnLocationModified(Object aSender, LocationBarEventArgs aLbea) { mUserTyped = true; }
/////////////////////////////////////////////////////////////////////////// // Location Bar protected void OnLocationCommit(Object aSender, LocationBarEventArgs aLbea) { string url = ServiceManager.Bookmarks.ResolveKeyword(aLbea.Text); if (url == "") url = aLbea.Text; mUserTyped = false; LoadURL(url); }