/// <summary> /// Class specific initialization. /// </summary> protected override void Initialize() { // Let base class generate targes base.Initialize(); // Create the drag feedback drawing class _dragFeedback = new DragFeedbackSolid(); _dragFeedback.Start(); }
/// <summary> /// Class specific initialization. /// </summary> protected override void Initialize() { // Create collection to hold generated targets _targetAreas = new TargetAreaCollection(); // Create the top level drop targets _targetAreas.Add(new TargetAreaSides(Squares, Host, Leaf)); // Process each potential leaf in turn TabGroupLeaf tgl = Host.FirstLeaf(); while (tgl != null) { // Create all possible targets for this leaf _targetAreas.Add(new TargetAreaLeaf(Squares, Leaf, tgl)); // Enumerate all leafs tgl = Host.NextLeaf(tgl); } // Create the drag feedback drawing class _dragFeedback = new DragFeedbackSolid(); _dragFeedback.Start(); }