예제 #1
0
 bool OnWebHostCreateNewWindow(object sender, Mono.WebBrowser.CreateNewWindowEventArgs e)
 {
     return(OnNewWindowInternal());
 }
예제 #2
0
		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;
		}