The WinForms Notepad Project: A Little Refactoring (Premium)


And seriously, thanks again for the pointers, everyone. I appreciate this kind of feedback more than you may realize, and I want this series to be as interactive as possible. I’m not a real/professional developer and am learning as I go as well. Thanks.

As you may recall, I tried to implement a semi-reasonable clone of the Notepad dialog that appears when you try to exit with a document with unsaved changes. I assumed that this dialog was something provided not by the system because I couldn’t find anything like it in Visual Studio. But as and jhoersch pointed out, this dialog wasn’t created specifically for Notepad. Instead, it’s a system-provided feature called a Task Dialog that debuted alongside Windows Vista as a replacement for an extension to the capabilities provided by the Message Box dialog.

Gain unlimited access to Premium articles.

With technology shaping our everyday lives, how could we not dig deeper?

Thurrott Premium delivers an honest and thorough perspective about the technologies we use and rely on everyday. Discover deeper content as a Premium member.

Become a Premium Member Create a Free Account