Свойство | Тип | Описание | |
---|---|---|---|
m_sBaseTitle | string | ||
m_sFileOpenFilter | string | ||
m_sLoadedFile | string |
Метод | Описание | |
---|---|---|
MarkClean ( ) : void |
Marks this form as clean (save not needed)
|
|
MarkDirty ( ) : void |
Marks this form as dirty (needing save)
|
Метод | Описание | |
---|---|---|
InitNew ( ) : void |
Initializes a simple new file
|
|
InitOpen ( string sFileName ) : bool |
Initializes the open process with the file specified.
|
|
InitOpen ( ) : void |
Initializes the Open process via the OpenFileDialog
|
|
InitSave ( bool bForceSaveAs ) : void |
Initializes the Save / Save As dialog
|
|
OpenFormData ( string sFileName ) : bool |
This method should have an override that performs the load of the data from the file.
|
|
SaveFormData ( string sFileName ) : bool |
This method should have an override that performs the save of the data to the file.
|
|
SaveOnClose ( CancelEventArgs eArg ) : void |
Event to associate with the OnClose event of the form
|
|
SaveOnEvent ( CancelEventArgs eArg, bool bAllowCancel ) : void | ||
SetLoadedFile ( string sFileName ) : void |
Sets the currently loaded file and marks the state as clean
|
Метод | Описание | |
---|---|---|
GetDialogDirectory ( ) : string |
Gets the current directory associated with the form
|
protected InitOpen ( string sFileName ) : bool | ||
sFileName | string | The file to open the data from |
Результат | bool |
protected InitSave ( bool bForceSaveAs ) : void | ||
bForceSaveAs | bool | |
Результат | void |
protected OpenFormData ( string sFileName ) : bool | ||
sFileName | string | The file to load the data from |
Результат | bool |
protected SaveFormData ( string sFileName ) : bool | ||
sFileName | string | The file to save the data to |
Результат | bool |
protected SaveOnClose ( CancelEventArgs eArg ) : void | ||
eArg | CancelEventArgs | |
Результат | void |
protected SaveOnEvent ( CancelEventArgs eArg, bool bAllowCancel ) : void | ||
eArg | CancelEventArgs | |
bAllowCancel | bool | |
Результат | void |
protected SetLoadedFile ( string sFileName ) : void | ||
sFileName | string | |
Результат | void |