C# 클래스 Habanero.Faces.Win.DialogUtilities

These utilities provide quick methods for retrieving information from a user dialog. For example: an open file name or select folder name dialog.
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

공개 메소드들

메소드 설명
GetOpenFileName ( IWin32Window owner, string &fileName ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( IWin32Window owner, string &fileName, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( string &fileName ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( string &fileName, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( string &fileName, string extension, string extensionDescription ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetOpenFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt, bool createPrompt ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt, string initialDirectory ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( string &fileName ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( string &fileName, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( string &fileName, string extension, string extensionDescription ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool

This method shows a dialog for the user to choose a file to open

GetSaveFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt ) : bool

This method shows a dialog for the user to choose a file to open

SelectFolderDialog ( IWin32Window owner, string &selectedPath ) : bool

This method shows a dialog for the user to choose a folder

SelectFolderDialog ( IWin32Window owner, string &selectedPath, string currentFolder ) : bool

This method shows a dialog for the user to choose a folder

SelectFolderDialog ( IWin32Window owner, string &selectedPath, string currentFolder, string description ) : bool

This method shows a dialog for the user to choose a folder

SelectFolderDialog ( string &selectedPath ) : bool

This method shows a dialog for the user to choose a folder

SelectFolderDialog ( string &selectedPath, string currentFolder ) : bool

This method shows a dialog for the user to choose a folder

SelectFolderDialog ( string &selectedPath, string currentFolder, string description ) : bool

This method shows a dialog for the user to choose a folder

비공개 메소드들

메소드 설명
ShowFileDialog ( FileDialog openFileDialog, IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool
ShowFileDialog ( FileDialog openFileDialog, IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string initialDirectory ) : bool

메소드 상세

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( IWin32Window owner, string &fileName ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( IWin32Window owner, string &fileName, string defaultFileName ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
defaultFileName string The default file to open
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( string &fileName ) : bool
fileName string The file that was selected by the user
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( string &fileName, string defaultFileName ) : bool
fileName string The file that was selected by the user
defaultFileName string The default file to open
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( string &fileName, string extension, string extensionDescription ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
리턴 bool

GetOpenFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetOpenFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string defaultFileName ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
defaultFileName string The default file to open
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
overwritePrompt bool Should the dialog prompt the user when the file will overwrite another file?
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt, bool createPrompt ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
overwritePrompt bool Should the dialog prompt the user when the file will overwrite another file?
createPrompt bool Should the dialog prompt the user when the file will be created?
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( IWin32Window owner, string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt, string initialDirectory ) : bool
owner IWin32Window The owner window for the dialog
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
overwritePrompt bool Should the dialog prompt the user when the file will overwrite another file?
initialDirectory string The default directory to open in
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( string &fileName ) : bool
fileName string The file that was selected by the user
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( string &fileName, string defaultFileName ) : bool
fileName string The file that was selected by the user
defaultFileName string The default file to open
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( string &fileName, string extension, string extensionDescription ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName, string title ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
리턴 bool

GetSaveFileName() 공개 정적인 메소드

This method shows a dialog for the user to choose a file to open
public static GetSaveFileName ( string &fileName, string extension, string extensionDescription, string defaultFileName, string title, bool overwritePrompt ) : bool
fileName string The file that was selected by the user
extension string The default file extension
extensionDescription string A description of the default file extension
defaultFileName string The default file to open
title string The title that will be displayed on the dialog
overwritePrompt bool Should the dialog prompt the user when the file will overwrite another file?
리턴 bool

SelectFolderDialog() 공개 정적인 메소드

This method shows a dialog for the user to choose a folder
public static SelectFolderDialog ( IWin32Window owner, string &selectedPath ) : bool
owner IWin32Window The owner window for the dialog
selectedPath string The folder that was selected by the user
리턴 bool

SelectFolderDialog() 공개 정적인 메소드

This method shows a dialog for the user to choose a folder
public static SelectFolderDialog ( IWin32Window owner, string &selectedPath, string currentFolder ) : bool
owner IWin32Window The owner window for the dialog
selectedPath string The folder that was selected by the user
currentFolder string The folder to start navigating from
리턴 bool

SelectFolderDialog() 공개 정적인 메소드

This method shows a dialog for the user to choose a folder
public static SelectFolderDialog ( IWin32Window owner, string &selectedPath, string currentFolder, string description ) : bool
owner IWin32Window The owner window for the dialog
selectedPath string The folder that was selected by the user
currentFolder string The folder to start navigating from
description string The title of the dialog
리턴 bool

SelectFolderDialog() 공개 정적인 메소드

This method shows a dialog for the user to choose a folder
public static SelectFolderDialog ( string &selectedPath ) : bool
selectedPath string The folder that was selected by the user
리턴 bool

SelectFolderDialog() 공개 정적인 메소드

This method shows a dialog for the user to choose a folder
public static SelectFolderDialog ( string &selectedPath, string currentFolder ) : bool
selectedPath string The folder that was selected by the user
currentFolder string The folder to start navigating from
리턴 bool

SelectFolderDialog() 공개 정적인 메소드

This method shows a dialog for the user to choose a folder
public static SelectFolderDialog ( string &selectedPath, string currentFolder, string description ) : bool
selectedPath string The folder that was selected by the user
currentFolder string The folder to start navigating from
description string The title of the dialog
리턴 bool