Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Open File Dialog « GUI Windows Form « C# / C Sharp
C# / C Sharp
GUI Windows Form
Open File Dialog
1.
Call ShowDialog() to display an OpenFileDialog
2.
Set InitialDirectory
3.
Set CheckFileExists to true
4.
Set Filter
5.
FileOk Action
6.
shows browsing for a set of files
7.
shows browsing for a file
8.
Open File Dialog with file types
9.
Demonstrates using an OpenFileDialog to prompt for a file name, and to open a file
10.
Show the use of some of the OpenFile dialog box