#4 SIMPLE DARK NOTEPAD IN C#
A very simple notepad application using the windows API. The following controls are used:
menuStrip: The topbar menu with integrated drop down boxes. The DarkClass.cs
class allows us to change the color of this control.
openFileDialog: Lets us search for and open a file on our windows machine.
saveFileDialog: Allows us to search for a location and save a file.
fontDialog: Shows us the font control menu allowing us to modify our typography inside the text box.
Inside the DarkClass.cs
we can change the colors of the menustrip by returning the colors we define in the RGB format Color.FromArgb(46, 204, 113)
. This class is then called on the application load from the MyRenderer()
like so:
menuStrip1.Renderer = new DarkClass.MyRenderer();