/// <summary> /// /// </summary> protected virtual void OnScriptValueSet( ScriptValueSetEventArgs args) { if (ScriptValueSet != null) { ScriptValueSet(this, args); } }
/// <summary> /// This can be called from JavaScript that is being loaded into /// the HTML control. See "WebBrowser.ObjectForScripting" in the /// documentation manual for further details. /// </summary> /// <remarks> /// Although this method is public, it should not be called from /// your C# code but only from your JavaScript on the HTML page. /// </remarks> public virtual void SetValueFromScript( string key, string value) { var args = new ScriptValueSetEventArgs(key, value); OnScriptValueSet(args); }
/// <summary> /// /// </summary> protected virtual void OnScriptValueSet( ScriptValueSetEventArgs args ) { if ( ScriptValueSet != null ) { ScriptValueSet( this, args ); } }
/// <summary> /// This can be called from JavaScript that is being loaded into /// the HTML control. See "WebBrowser.ObjectForScripting" in the /// documentation manual for further details. /// </summary> /// <remarks> /// Although this method is public, it should not be called from /// your C# code but only from your JavaScript on the HTML page. /// </remarks> public virtual void SetValueFromScript( string key, string value ) { var args = new ScriptValueSetEventArgs( key, value ); OnScriptValueSet( args ); }