Exemple #1
0
        /// <summary>
        /// Script commands come through here.
        /// </summary>
        /// <param name ="o">EventArgs</param>
        private object OnScriptCommand(object o)
        {
            MediaScriptCommandEventArgs e = (MediaScriptCommandEventArgs)o;

            _scriptCommandHelper.InvokeEvents(_sender, e);

            return(null);
        }
Exemple #2
0
 OnScriptCommand( 
     object  sender,
     MediaScriptCommandEventArgs args 
     ) 
 {
     RaiseEvent( 
         new MediaScriptCommandRoutedEventArgs(
                 ScriptCommandEvent,
                 this,
                 args.ParameterType, 
                 args.ParameterValue));
 }