C# Class EpLibrary.cs.SaveFileDialogEx

This is a class for Save 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

SaveFileDialogEx ( String title = null, String defaultExt = null, String defaultDir = null, String filter = null, bool overwritePrompt = true, 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

SaveFileDialogEx() public method

Default Constructor
public SaveFileDialogEx ( String title = null, String defaultExt = null, String defaultDir = null, String filter = null, bool overwritePrompt = true, 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
overwritePrompt bool flag to prompt when overwrite
owner IWin32Window The parent window
return System

ShowDialog() public method

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