In the previous step you created a new project and added button controls to the application. In this step you'll continue by adding a C1Window control in a user control.
Complete the following steps:
If it does not open automatically, double-click the MyWindow.xaml file in the Solution Explorer to open it.
XAML Copy Code <Grid> <TextBlock Height="21" HorizontalAlignment="Left" Margin="10,10,0,0" Name="TextBlock1" VerticalAlignment="Top" Width="120" Text="Hello World!" /> </Grid>Note that you can add additional controls to the form, if you choose – items you add will be included in the body of the C1Window control.
You've successfully set up your application's user interface, but if you run your application right now the buttons will do nothing when pressed. In the next step you'll add code to your application to add functionality to the controls.