Welcome to the FoxLearn
Today we will learn how to make a notepad in visual studio
First, You need to add a TextBox, a MenuStrip to Form 1
The MenuStrip control is new to this version of Visual Studio and the .NET Framework
With the control, you can easily create menus like those found in Microsoft Office
The MenuStrip control supports the multiple-document interface and menu merging, tool tips, and overflow
You can enhance the usability and readability of your menus by adding access keys, shortcut keys, check marks, images, and separator bars
The MenuStrip control replaces and adds functionality to the MainMenu control
However, the MainMenu control is retained for backward compatibility and future use if you choose
Now, We will handle code to read and write text file
You can use StreamReader to read a text file, StreamWriter to write a text file
The StreamReader is designed for character input in a particular encoding, whereas the Stream class is designed for byte input and output
Use StreamReader for reading lines of information from a standard text file
The StreamWriter is designed for character output in a particular encoding, whereas classes derived from Stream are designed for byte input and output.
Thank you for watching this video