private void cEXWB1_WBContextMenu(object sender, csExWB.ContextMenuEventArgs e)
 {
     try
     {
         IHTMLElement        pelem = cEXWB1.GetActiveElement();
         frmPropertyExplorer frm   = new frmPropertyExplorer();
         frm.SetWindowProperties(MainScript, PopupName, pelem);
         frm.Location      = e.pt;
         frm.ShowInTaskbar = false;
         frm.ShowDialog();
         e.displaydefault = false;
     }
     catch (Exception ex)
     {
         AllForms.m_frmLog.AppendToLog("WBContext Failure\r\n" + ex.ToString());
     }
 }
Пример #2
0
        private void cEXWB1_WBContextMenu(object sender, csExWB.ContextMenuEventArgs e)
        {
            try
            {
                IHTMLElement pelem = cEXWB1.GetActiveElement();
                frmPropertyExplorer frm = new frmPropertyExplorer();
                frm.SetWindowProperties(MainScript, PopupName, pelem);
                frm.Location = e.pt;
                frm.ShowInTaskbar = false;
                frm.ShowDialog();
                e.displaydefault = false;
            }
            catch (Exception ex)
            {
                AllForms.m_frmLog.AppendToLog("WBContext Failure\r\n" + ex.ToString());
            }

        }