/// <summary> /// Clear Contents of TreeView (From Any Thread) /// </summary> /// <param name="RadTree">RadTreeView Control To Clear</param> public static void PlayPause(this mpcWin Player) { _AHK ahk = new _AHK(); _Apps.Mpc mpc = new _Apps.Mpc(); ahk.MsgBox(Player.WinHwnd.ToString()); mpc.MPC_Actions(Player.WinHwnd, _Apps.Mpc.Actions.PlayPause); }
public static string MpcAction(this mpcWin MPCWIN, mpcActions action) { string ReturnVal = ""; _Apps.Mpc mpc = new _Apps.Mpc(); MPCWIN.mpcID = "ahk_PID " + MPCWIN.PID; // define mpcID value mpc.MpcAction(MPCWIN.mpcID, action); return(ReturnVal); }