C# Class EpLibrary.cs.OpenFileDialogEx

his is a class for Open File Dialog
Inheritance: IDisposable
Datei anzeigen Open project: juhgiyo/EpLibrary.cs

Private Properties

Property Type Description

Public Methods

Method Description
Dispose ( ) : void
GetFileExt ( ) : String

Return only ext

GetFileName ( ) : String

Return only filename

GetFileTitle ( ) : String

Return file title

GetPathName ( ) : String

Return full path and filename

OpenFileDialogEx ( String title = null, String defaultExt = null, String defaultDir = null, String filter = null, IWin32Window owner = null ) : System

Default Constructor

ShowDialog ( ) : DialogResult

Show dialog and return DialogResult

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

GetFileExt() public method

Return only ext
public GetFileExt ( ) : String
return String

GetFileName() public method

Return only filename
public GetFileName ( ) : String
return String

GetFileTitle() public method

Return file title
public GetFileTitle ( ) : String
return String

GetPathName() public method

Return full path and filename
public GetPathName ( ) : String
return String

OpenFileDialogEx() public method

Default Constructor
public OpenFileDialogEx ( String title = null, String defaultExt = null, String defaultDir = null, String filter = null, IWin32Window owner = null ) : System
title String the title of the dialog
defaultExt String the default extension
defaultDir String the default directory
filter String the file extension filter
owner IWin32Window the parent window
return System

ShowDialog() public method

Show dialog and return DialogResult
public ShowDialog ( ) : DialogResult
return DialogResult