예제 #1
0
        public void OnNewWindow3(ref object ppDisp, ref bool Cancel, uint dwFlags, string bstrUrlContext,
                                 string bstrUrl)
        {
            NewWindow3EventArgs args = new NewWindow3EventArgs(ref ppDisp, ref Cancel, bstrUrl, bstrUrlContext);

            if (null != NewWindow3)
            {
                NewWindow3(this, args);
            }
            Cancel = args.Cancel;
            ppDisp = args.PPDisp;
        }
예제 #2
0
 private void WebBrowNewWindow(object sender, NewWindow3EventArgs e)
 {
     MessageBox.Show("new window");
 }