public void HandleRoutedEvent(BubbleEventArgs args) { if (RoutedHandlers.ContainsKey(args.Token)) { RoutedHandlers[args.Token].Invoke(args); } }
public void HandleNewBubblesOnGameBoard(object sender, BubbleEventArgs bubbleEventArgs) { Debug.Log($"GameBoardGraphicsController: About to handle {bubbleEventArgs.BubbleNodes.Count} bubbleNodes."); foreach (var bubbleNode in bubbleEventArgs.BubbleNodes) { SetupBubbleGraphics(bubbleNode); } }
public void LaunchRoutedEvent(IUILogicalNode Launcher, BubbleEventArgs args) { foreach (IUILogicalNode node in GetUINode(Launcher, args.RoutingStrategy)) { if (args.RoutingState == RoutingState.Handled) { break; } //node.HandleRoutedEvent(args); } RoutedEventOver(); }
void mSceneControlBubbleResize(object sender, BubbleEventArgs e) { System.Drawing.Point point = new Point(e.Bubble.ClientLeft, e.Bubble.ClientTop); mInformationBubble.Location = point; mInformationBubble.Visible = true; }
void mSceneControlBubbleClose(object sender, BubbleEventArgs e) { mInformationBubble.Visible = false; }
public void RedirectionRoutedEvent(IUILogicalNode redirector, BubbleEventArgs args) { }