public BlockControl(InARowGame.Lib.Block block)
        {
            Block       = block;
            DataContext = Block;

            Block.BeginIsTapped   += new InARowGame.Lib.Block.BeginIsTappedDelegate(Block_BeginIsTapped);
            Block.BeginShowWinner += new Lib.Block.BeginShowWinnerDelegate(Block_BeginShowWinner);
            Block.ResetBlock      += new Lib.Block.ResetDelegate(Block_Reset);

            InitializeComponent();

            ToBigAnimation.Completed += new EventHandler(ToBigAnimation_Completed);
            //ExplodeAnimation.Completed += new EventHandler(ExplodeAnimation_Completed);
        }
 void Block_BeginShowWinner(InARowGame.Lib.Block block)
 {
     LayoutRoot.Background = new SolidColorBrush(Colors.Yellow);
 }
 void Block_Reset(InARowGame.Lib.Block block)
 {
     LayoutRoot.Background = new SolidColorBrush(Colors.Transparent);
 }