C# WPF Tutorial #9 - MessageBox

preview_player
Показать описание
How to display a modal message box for notifications/alerts as well as getting user responses back such as "Yes", "No", and "Cancel". This class is built into .NET and very quick and easy to use, as well as easy to replace if/when you need to create a custom notification box.

Happy Coding!

Chapters:
0:00 Setup
0:19 Setup
0:23 Showing a MessageBox
1:05 MessageBox Arguments/Options
2:54 MessageBox Result
4:55 Next Up
Рекомендации по теме
Комментарии
Автор

Thank you so much its really the first time i was learning and coding with fun <333

vood
Автор

Thanks for taking time to create these videos. Excellent work.

johnmaguire
Автор

It's been a while! 😆😆 Thanks to your videos, I have been learning C# WPF smoothly and my recent c# wpf toy-project is going well too. As always, thank you very much for your videos. 😊😊😊 😊 Now I have to catch up your new videos! I'm looking forward to it. 🤩🤩🤩

wookyumkim
Автор

Thank you! Another concise and helpful video!

thomasaminer
Автор

Code to copy:

<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Button Name="btnFire" Content="Fire" Width="100" Height="40"/>
<TextBlock Grid.Row="1" Name="tbInfo" FontSize="16"
VerticalAlignment="Center"
</Grid>

magmyr