Lecture 5 Menu Strip Demo with Dialog Controls
In your next project you will create a simple Windows Forms application that uses a menu strip to organize I/O and Edit operations on text files. The controls we will be reviewing include: MenuStrip OpenFileDialog SaveFileDialog FontDialog ColorDialog
Create a New Project
Adding a MenuStrip Control click and drag a MenuStrip to the form
add a header named File
add Subheadings for New, Open, and Save under File
drag and drop a Rich TextBox onto the form
doubleClick the subheadings to create click event handlers for each
OpenFileDialog for Text Files
SaveFileDialog for Text Files