318 Part II Programming Fundamentals
- If the project’s form isn’t visible, display it now.
The Text Browser form opens, as shown here:
The form contains a large text box object that has scroll bars. It also contains a menu
strip object that places Open, Close, and Exit commands on the File menu; an open file
dialog object; and a label providing operating instructions. I also created the property
settings shown in the following table. (Note especially the text box settings .)
Object Property Setting
txtNote Enabled
Multiline
Name
ScrollBars
False
True
txtNote
Both
CloseToolStripMenuItem Enabled False
lblNote Text
Name
“Load a text file with the Open command .”
lblNote
Form1 Text “Text Browser”
- Click the Start Debugging button on the Standard toolbar.
The Text Browser program runs.
- On the Text Browser File menu, click the Open command.
The Open dialog box opens.