Beispiel #1
0
 bool OnWebHostCreateNewWindow(object sender, Mono.WebBrowser.CreateNewWindowEventArgs e)
 {
     return(OnNewWindowInternal());
 }
		public bool OnCreateNewWindow ()
		{
			bool ret = false;

#if debug
			OnGeneric ("OnCreateNewWindow");
			Console.Error.WriteLine ("OnCreateNewWindow");
#endif
			CreateNewWindowEventHandler eh = (CreateNewWindowEventHandler) (owner.Events[WebBrowser.CreateNewWindowEvent]);
			if (eh != null) {
				CreateNewWindowEventArgs e = new CreateNewWindowEventArgs (false);
				ret = eh (this, e);
			}
			return ret;
		}