WPF “Tip of the Day” window

by Geert 8. February 2010 19:55

Sometimes, your end-users aren’t the smartest creatures on the planet. Lots of times, I am talking to an end-user because there is a “bug” or “critical issue” that needs to be fixed right away.

During the “debug” session (read: using the software as the end-user has described), you hit a lot of key strokes and other useful shortcuts that I thought the user was already familiar with. Unfortunately, most of the time, they are not.

Therefore, the Tip of the Day window is a great way of showing the end-user some handy tips when they start your software. For example, to learn about shortcuts, “hidden” features and more. The window of this post just does that:

tip_of_the_day

The window is really easy to use, you will just need to call the following code in the startup (or any location you like) of your software:

 

TipOfTheDayWindow tipOfTheDayWindow = new TipOfTheDayWindow();
if (tipOfTheDayWindow.HasTipsToShow)
{
    tipOfTheDayWindow.ShowDialog();
}

 

You must be thinking: why a blog post for such an easy window? Well, because this “Tip of the Day” window has much more features than you can see on first sight. For example, did you ever think on how to enter or manage the tips? Well, this window takes care of that for you.

Simply hit CTRL + F2 when the “Tip of the Day” window is focused, and you will see the following edit mode:

tip_of_the_day_editor

With the included editor, you can simply create, modify, remove and preview all the tips that are included with the window. The tips are stored in xml format in a subdirectory “Help”.

Don’t wait too long, start using the “Tip of the Day” window today!

TipOfTheDayWindow.zip (295.57 kb) [Downloads: 315]

kick it on DotNetKicks.com

A WPF "Tip of the Day" window

Tags:

C# | WPF

Comments are closed

About the Author

Geert van Horrik is a independent freelance software developer since January 1st, 2007. Since then he was been working on several projects from C++ to C# (WPF, ASP.NET, etc). Currently he loves to write his software using WPF (or Silverlight if WPF isn't an option).

Lately, Geert is spending a lot of time on Catel, a free open-source MVVM Framework for WPF and Silverlight. Actually, it's more than "just" an MVVM Framework, it's a complete application library!