You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/get-started/csharp/tutorial-wpf.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -334,11 +334,11 @@ The final UI element that you'll add is a [Button](/dotnet/framework/wpf/control
334
334
335
335
::: moniker range="<=vs-2019"
336
336
337
-
When this application runs, a message box appears after a user chooses a radio button and then chooses the **Display** button. One message box will appear for Hello, and another will appear for Goodbye. To create this behavior, you'll add code to the `Button_Click` event in *Greetings.xaml.cs*.
337
+
When this application runs, a message box appears after a user chooses a radio button and then chooses the **Display** button. One message box will appear for Hello, and another will appear for Goodbye. To create this behavior, you'll add code to the `Button_Click` event in *MainWindow.xaml.cs*.
338
338
339
339
1. On the design surface, double-click the **Display** button.
340
340
341
-
*Greetings.xaml.cs* opens, with the cursor in the `Button_Click` event.
341
+
*MainWindow.xaml.cs* opens, with the cursor in the `Button_Click` event.
@@ -366,11 +366,11 @@ When this application runs, a message box appears after a user chooses a radio b
366
366
367
367
:::monikerrange=">=vs-2022"
368
368
369
-
Whenthisapplicationruns, amessageboxappearsafterauserchoosesaradiobuttonandthenchoosesthe**Display**button. Onemessageboxwillappearfor Hello, and another will appear for Goodbye. To create this behavior, you'll add code to the `Button_Click` event in *Greetings.xaml.cs*.
369
+
Whenthisapplicationruns, amessageboxappearsafterauserchoosesaradiobuttonandthenchoosesthe**Display**button. Onemessageboxwillappearfor Hello, and another will appear for Goodbye. To create this behavior, you'll add code to the `Button_Click` event in *MainWindow.xaml.cs*.
370
370
371
371
1. On the design surface, double-click the **Display** button.
372
372
373
-
*Greetings.xaml.cs* opens, with the cursor in the `Button_Click` event.
373
+
*MainWindow.xaml.cs* opens, with the cursor in the `Button_Click` event.
0 commit comments