Esempio n. 1
0
		protected virtual void OnLinkClicked (LocationChangingEventArgs args)
		{
			if (suppressLinkClickedBecauseCausedByLoadUrlCall) {
				suppressLinkClickedBecauseCausedByLoadUrlCall = false;
				return;
			}
			if (LinkClicked != null)
				LinkClicked (this, args);
		}
Esempio n. 2
0
		protected bool OnLocationChanging (string aURI)
		{
			LocationChangingEventArgs args = new LocationChangingEventArgs (aURI, false);
			args.SuppressChange = false;
			if (LocationChanging != null)
				LocationChanging (this, args);
			OnLinkClicked (args);
			return args.SuppressChange;
		}