C# Class FlatRedBall.Gui.FileTextBox

A TextBox-like window which allows the user to browse the folder structure and select a file. The selected file will appear in the TextBox.
Inheritance: Window
显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
FileTextBox ( Cursor cursor ) : System
SetFileType ( List FileType ) : void
SetFileType ( string fileType ) : void

Sets the filetype that the FileWindow can view.

This method also clears all types. Setting a filter then calling SetFileType clears the filter. Setting the filetype as "graphic" sets all of the file types that FRB can load. FlatRedBall.Gui.FileWindow.Filter

Private Methods

Method Description
AddFileType ( string type ) : void
FileWindowOkClick ( Window callingWindow ) : void
OpenFileWindow ( Window callingWindow ) : void

Method Details

FileTextBox() public method

public FileTextBox ( Cursor cursor ) : System
cursor Cursor
return System

SetFileType() public method

public SetFileType ( List FileType ) : void
FileType List
return void

SetFileType() public method

Sets the filetype that the FileWindow can view.
This method also clears all types. Setting a filter then calling SetFileType clears the filter. Setting the filetype as "graphic" sets all of the file types that FRB can load. FlatRedBall.Gui.FileWindow.Filter
public SetFileType ( string fileType ) : void
fileType string
return void