public virtual void SetSecureLockIcon(int secureLockIcon) { DWebBrowserEvents2_SetSecureLockIconEvent setsecurelockiconEvent = new DWebBrowserEvents2_SetSecureLockIconEvent(secureLockIcon); this.parent.RaiseOnSetSecureLockIcon(this.parent, setsecurelockiconEvent); }
/// <summary> /// Forward the SetSecureLockIcon event /// </summary> /// <param name="sender">sender</param> /// <param name="e">event args</param> private void AxWebBrowser_SetSecureLockIcon( object sender, DWebBrowserEvents2_SetSecureLockIconEvent e) { // set value m_encryptionLevel = (EncryptionLevel)e.secureLockIcon; // fire event OnEncryptionLevelChanged(EventArgs.Empty); }
internal void RaiseOnSetSecureLockIcon(object sender, DWebBrowserEvents2_SetSecureLockIconEvent e) { if ((this.SetSecureLockIcon != null)) { this.SetSecureLockIcon(sender, e); } }