private void cEXWB1_NewWindow2(object sender, csExWB.NewWindow2EventArgs e)
 {
     csExWB.cEXWB pWB = (csExWB.cEXWB)sender;
     if ((pWB != null) && (!pWB.RegisterAsBrowser))
     {
         pWB.RegisterAsBrowser = true;
     }
     newfrm.AssignBrowserObject(ref e.browser);
 }
Пример #2
0
 private void cEXWB1_NewWindow2(object sender, csExWB.NewWindow2EventArgs e)
 {
     try
     {
         AllForms.m_frmLog.AppendToLog("frmPopup_cEXWB1_NewWindow2");
         e.Cancel = true;
     }
     catch (Exception ee)
     {
         AllForms.m_frmLog.AppendToLog("frmPopup_cEXWB1_NewWindow2\r\n" + ee.ToString());
     }
 }
Пример #3
0
 private void cEXWB1_NewWindow2(object sender, csExWB.NewWindow2EventArgs e)
 {
     try
     {
         this.SetupNewForm();
         newfrm.AssignBrowserObject(ref e.browser);
         //AllForms.m_frmLog.AppendToLog("frmPopup_cEXWB1_NewWindow2");
         //e.Cancel = true;
     }
     catch (Exception ee)
     {
         AllForms.m_frmLog.AppendToLog("frmPopup_cEXWB1_NewWindow2\r\n" + ee.ToString());
     }
 }