C# WPF UI Tutorials: 21 - Custom Dialog System Message Box Popup

preview_player
Показать описание
Part of a series of tutorials on creating WPF applications in C#

In this we create a custom reusable dialog window system and make a basic message box popup styled in the same style as our application.

We also add a nice dimmed background to focus the users attention on the dialog.

Рекомендации по теме
Комментарии
Автор

I'm just spended half day just reviewing your content, and I'm about to start really studying on your videos, you are a hero to me! very well explained excellent quality and you even provide the source code.

TheRealNOTcode
Автор

Thank you so much for these videos - very useful indeed! It is difficult to find learning resources for WPF that follow best practices and are up to date, really appreciate you sharing this with the world.

natyo
Автор

My God !!! You are an expert in doing this .. Great ... and Thanks for helping ... I will always be in debt of you. Thank You..

BondTricks
Автор

Nice work as always. Espacially with the background effect when the message is showing or the window unfocused.

barryjohnson
Автор

I'd love to see some videos about asynchronous and synchronous programming in C#.
Btw. great job as always!

JJayToKlamca
Автор

Hello again, within the MessageBox I miss a little bit a list of buttons instead of just one. I can only imagine a Dialog Box : Do you want to continue? Yes / No. Rarely a 3rd button is needed ( or more ) but as example: Share this message: Facebook / Twitter / Google+. Another kind of control could be input box to ( for example ) set a user status visible to others. Enjoy the bank holiday weekend !

elpe
Автор

Really enjoying this series - going through them for the second time and now really understanding why you do things as you do (and at my age that is a miracle!). Looking forward to learning how to bind to databases and then I will be ready to start on an app I have had in mind for some years.
Really stupid question: When you are entering comments in the code-behind you have a nice multi-line format which you seem to be entering with a keyboard short cut ... how??

rupertprice
Автор

Are you accepting donations on paypal or have a patreon? Outstanding work on these series!

MullerTutorial
Автор

thank you for this great tutorial! realy thank you

krimbelkacem
Автор

awesome clear video. If I am not mistaken you are following MVVM here right? Do you use any framework fro it? Also, I want to mention that DialogWindows are awaited by default, so I don't think to await in the ViewModel ICommand unless if I'm missing something here! Thank you again

muhanad
Автор

AngelSix help me please. I makin' url audioPlayer using WPF\C#, and i use default MediaPlayer class to execute audio. How I can make buffering speed line progress a.k.a. YouTube video loading speed line? I tryed to use BufferingProgress & DownloadProgress, but this values show percentage in downloading segment with size about current file downloading speed, or something like that. I very want to make this loading bar, but I'm newbie D:

АфанасийМятникович
Автор

Question how did you do fasetto word and fasetto core? Is there a specific video?

christopherbaldwin
Автор

21st episode and I still don't understand 3/4 of the code. I guess I will have to go all the way from the begining of the series and analize everything more carefully. Well, hot-headedly writing code after you just to see things work amazingly wasn't the best idea after all ;(
edit. At least I have holidays right now, so I have plenty of time to do so :)

JJayToKlamca
Автор

Hello, I am getting an error inside of UIManager stating no overload for ShowDialog takes 1 argument. any idea's of what might cause this? i can't seem to figure it out

funkel
Автор

Hey thanks for awesome video, I am using this popup in my WPF application. I am facing one issue in this, When I logged out and login again popup is open multiple time. Can you please help me to resolve this issue.

chetanverve
Автор

How to make items in sidemenu list clickable(selectable) and how to check which one is selected?

MultiMinors
Автор

Why we have to do this:

*// Create a task to await the dialog closing
var tcs = new TaskCompletionSource<bool>();

Task.Run(() =>
{
// Run on UI thread
=>
{
try
{
// Show dialog
new DialogWindow().ShowDialog();
}
finally
{
// Let caller know we finished
tcs.TrySetResult(true);
}
});
});

return tcs.Task;*

and not simply write *new DialogWindow().ShowDialog();* ??

tomas
Автор

Hi again AngelSix, not so relevant, but this video isn't in the WPF playlist.

henrickkakutalua
welcome to shbcf.ru