The WinForms Notepad Project: Fixes, File New, and Zoom (Premium)

With basic file save capabilities out of the way, let’s do a bit of fit and finish work and add some more new features.

First up, a few improvements to the existing code.
Exception handling
Mojohill mentioned that the SaveToolStripMenuItem_Click event handler was throwing an exception related to permissions and suggested putting the line with the method System.IO.File.WriteAllText in a T...

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.

Tagged with

Share post

Please check our Community Guidelines before commenting

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2023 Thurrott LLC