Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Today's featured program is "Match colours or symbols" written by Glenn Broadway.
Glenn wanted to learn how to use OnKeyDown and OnMouseDown events in the GraphicsWindow so he wrote a simple matching game. The program ID is PRP467.
But he said it seems that FontSize doesn't work in the Silverlight player. I tried to fixed this problem according to a Silverlight issue. The new version is PRP467-0. I took 100 ms for a delay. This workaround works with my machine. But I'm not sure for other machines.
Other way to avoid this issue is to prepare some Shapes for texts and to use Shapes.ShowShape and Shapes.HideShape.
Thank you Glenn for sharing your game!
Please post your programs or ideas to the forum thread Nominate games (or other programs) here to get featured on our Blog! (PART 3).
Please sign in to use this experience.
Sign in