Exemplo n.º 1
0
 public void Attach(MiniCardView miniCard)
 {
     miniCard.ButtonReleased += delegate(object sender, ButtonEventArgs e) {
         if (e.Button == PointerButton.Right)
             this.PopUp(miniCard);
     };
 }
Exemplo n.º 2
0
        public void PopUp(MiniCardView miniCard)
        {
            activeCard = miniCard;

            hideItem.Visible = miniCard.Card.Visible;
            showItem.Visible = !miniCard.Card.Visible;

            menu.Popup();
        }