/// <summary> /// Raises the FSCommand event. /// </summary> /// <param name="command">A <see cref="String"/> with the command to be sent.</param> /// <param name="args">A <see cref="String"/> with the comman arguments.</param> public virtual void FSCommand(string command, string args) { AxFlashFSCommandEvent fscommandEvent = new AxFlashFSCommandEvent(command, args); this.parent.RaiseOnFSCommand(this.parent, fscommandEvent); }
/// <summary> /// Raises the FSCommand event. /// </summary> /// <param name="sender">The sender of the event.</param> /// <param name="e">An <see cref="AxFlashFSCommandEvent"/> with the event data.</param> internal void RaiseOnFSCommand(object sender, AxFlashFSCommandEvent e) { if (this.FSCommand != null) { this.FSCommand(sender, e); } }