Zebra0.com

csharp pictureviewer

We will do a large project in several steps.

  1. Start a new C# Form Application and name it PictureViewer.
  2. Add the following controls to the project:
  3. The menuStrip is built as shown below with mnuOpen, mnuSelectFolder and mnuExit.

Type FILE in the first menu position, then going down type &Open, Select &Folder, -, E&xit
Typing the - creates a line. After entering all of the menu items go to the properties window and name the menu items mnuFile, mnuOpen, mnuSelectFolder and mnuExit.

The form will look like this (the picture box is not visible here because there is no picture yet.):

Shows menu with File, Open, Select Folder and Exit

End of lesson, Next lesson: The Pizza Project in C#