Exemplo n.º 1
0
        /// <summary>
        /// override - build also the locate cursor
        /// </summary>
        public void BuildLocateCursor()
        {
            Order locateDirection = Order.Ascending;

            // get the locate order value
            if (LocalDataviewManager.Task.checkIfExistProp(PropInterface.PROP_TYPE_TASK_PROPERTIES_LOCATE_ORDER))
            {
                locateDirection = (Order)LocalDataviewManager.Task.getProp(PropInterface.PROP_TYPE_TASK_PROPERTIES_LOCATE_ORDER).getValue()[0];
            }

            LocateCursor = CursorBuilder.Build(this, locateDirection);
        }
Exemplo n.º 2
0
 /// <summary>
 /// builder for the cursor
 /// </summary>
 public void BuildCursor()
 {
     CurrentCursor = defaultCursor = CursorBuilder.Build(this);
 }