|
|
|
|
|
The Microsoft
Visual C# .Net member of the Microsoft Visual Studio .Net |
|
Picture Show_VCSNet application ..., describe how to use Microsoft Visual C# .Net to to
show
JPG, GIF and BMP Picture files from your PC Hard disk
The Classes
used in this application
System.IO, Microsoft.VisualBasic, Combobox,
ContextMenu, DirListbox, FileListBox, HScrollBar, ImageList, Label,
ListBox, ListView, Panel, PictureBox,
TabControl, Timer, ToolBar, ToolTip, TreeView,
VScrollBar.
- Name -
Picture Show_VCSNet.
- Graphic
Software.
- Developed with
Microsoft Visual C# .Net.
-
Functions ...
-
Show any JPG, GIF and BMP Picture files from your PC Hard disk(s)
|
- Requirements:
Microsoft Visual Studio .Net.
If
you want to run it:
- Remove the
read-only attribute of all files in the
folder - C:\Picture Show_VCSNet
- Run the
Microsoft Visual Studio .Net.
- From
File menu, choose Open,
choose Project ..., the
Open Project dialog box appears,
select the project file Picture Show_VCSNet.csproj -
(C:\Picture Show_VCSNet\Picture Show_VCSNet.csproj)
and then click Open.
- From
Debug menu, choose and click
Start.
|
Project - Picture Show_VCSNet
and those items
|
Create Project -
Picture Show_VCSNet Run Microsoft
Visual Studio .Net. On the File menu , click New,
and then click Project .... The New Project dialog box
appears.
- In the Project
Types pane, select the Visual C# Projects
folder.
- In the Templates
pane, select Windows Application icon (project type). A
message appears indicating the type of project you are going to
create - (A project for creating an application with a Windows
user interface).
- In the Name
box, type
Picture Show_VCSNet
- In the
Location box, type C:\
- Click OK.
The
Windows Application create all necessary files and opens the
Microsoft Visual Basic .Net project - Picture Show_VCSNet
|
|
Rename the Form created ...
- On the View
menu , click Solution Explorer
- In Solution
Explorer, expand the Picture Show_VCSNet project node
and select Form1.cs
- In Properties
windows, Type the new File Name
|
Old |
New |
Filename : |
Form1.cs |
PictureForm_cs.cs |
|
|
|
After running, you can observe the design
.. |
 |
|
|
|
The View design ..
List of controls added
from the
Toolbox/Windows Form: One Combobox control,
two DirListbox control, one FileListBox control,
two HScrollBar controls,
four ImageList controls,
five Label controls, one ListBox control, one ListView control,
fourteen Panel controls, seven PictureBox control, one TabControl control,
tree ToolBar control, one ToolTip control, one TreeView control, one VScrollBar.
The Functions ...
Show any JPG, GIF and BMP Picture files from your PC Hard disk(s)
Various Zoom Level
Show info about the Picture file
Navigation ...
The Codes
...
| | |
This Form displays when you select the Zoom
button ( zoom+ ) of PictureForm_cs.cs
The Form
design.
|
|
|
This Form includes the following
controls:
One ContextMenu control,
one PictureBox control and one
Panel control.
New zoom picture
displays, when you select
ContextMenu item.
| | |
|
|
1. |
ShowForm.cs
|
Click the Button Show of PictureForm_cs.cs,
new design
display.
|
|
List of controls
added from the
Toolbox/Windows Form:
One PictureBox control, one Button control,
two Label controls and one Timer control.
Digital clock
displays
Click the Button Done,
the current Form
unload
|
|
2. |
About.cs
|
Click the Button About of PictureForm_cs.cs,
new design with
animation display.
|
|
List of controls
added from the
Toolbox/Windows Form:
Tree PictureBox control, seven
Label controls, one Button
control and one Timer
control.
Click the Button Done, the
current Form
unload
|
|
|
|
|