Пример #1
0
 public void HandleRoutedEvent(BubbleEventArgs args)
 {
     if (RoutedHandlers.ContainsKey(args.Token))
     {
         RoutedHandlers[args.Token].Invoke(args);
     }
 }
Пример #2
0
    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);
        }
    }
Пример #3
0
 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();
 }
Пример #4
0
 void mSceneControlBubbleResize(object sender, BubbleEventArgs e)
 {
     System.Drawing.Point point = new Point(e.Bubble.ClientLeft, e.Bubble.ClientTop);
     mInformationBubble.Location = point;
     mInformationBubble.Visible  = true;
 }
Пример #5
0
 void mSceneControlBubbleClose(object sender, BubbleEventArgs e)
 {
     mInformationBubble.Visible = false;
 }
Пример #6
0
 public void RedirectionRoutedEvent(IUILogicalNode redirector, BubbleEventArgs args)
 {
 }