Now, we are going to create a new
UserControl to display a bonus gauge. In this case, we will use the previously created
ScoreGauge as a baseline to create this new gauge, making a few small changes.
3DInvadersSilverlightin Visual Studio or Visual C#.
ScoreGauge.xamlin the Solution Explorer.
ScoreGauge.xaml. The IDE will add an item named
Copy of ScoreGauge.xaml.
Copy of ScoreGauge.xaml) in the Solution Explorer.
BonusGauge.xaml(the XAML code) and replace the text
BonusGauge, as shown in the following line: