public virtual void ScriptCommand(string scType, string param) { _WMPOCXEvents_ScriptCommandEvent scriptcommandEvent = new _WMPOCXEvents_ScriptCommandEvent(scType, param); this.parent.RaiseOnScriptCommand(this.parent, scriptcommandEvent); }
internal void RaiseOnScriptCommand(object sender, _WMPOCXEvents_ScriptCommandEvent e) { if ((this.ScriptCommand != null)) { this.ScriptCommand(sender, e); } }