/// <summary> /// Select command and return true if selected /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> public bool SelectCommand(float x, float y) { currentCommand = this.EditorProject.CurrentReportPage.SelectCommand(x, y); return currentCommand != null; }
/// <summary> /// Stop moving command /// </summary> public void StopMovingCommand() { if (currentCommand != null) { currentCommand.StopMoving(); } isMovingCommand = false; currentCommand = null; OnEditorItemHierarchyChanged(); }
/// <summary> /// Select command and return true if selected /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> public bool SelectCommand(float x, float y) { currentCommand = this.EditorProject.CurrentReportPage.SelectCommand(x, y); return(currentCommand != null); }