Beispiel #1
0
 protected void OnAddressBarModified(Object aSender, EventArgs aEa)
 {
     if (LocationBarModified != null)
     {
         LocationBarEventArgs lbea = new LocationBarEventArgs(mAddressBar.Text);
         LocationBarModified(this, lbea);
     }
 }
Beispiel #2
0
 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;
 }
Beispiel #5
0
 protected void OnAddressBarModified(Object aSender, EventArgs aEa)
 {
     if (LocationBarModified != null)
       {
     LocationBarEventArgs lbea = new LocationBarEventArgs(mAddressBar.Text);
     LocationBarModified(this, lbea);
       }
 }
Beispiel #6
0
 protected void FireLocationBarCommit()
 {
     if (LocationBarCommit != null)
       {
     LocationBarEventArgs lbea = new LocationBarEventArgs(mAddressBar.Text);
     LocationBarCommit(this, lbea);
       }
 }
Beispiel #7
0
 protected void OnLocationModified(Object aSender, LocationBarEventArgs aLbea)
 {
     mUserTyped = true;
 }
Beispiel #8
0
        ///////////////////////////////////////////////////////////////////////////
        // 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);
        }