C# Class Smrf.NodeXL.ExcelTemplate.SaveWorkbookSettingsFileDialog

Save's the workbook settings to an external file.
Call ShowDialogAndSaveWorkbookSettings to allow the user to save the workbook settings to a location of his choice.
Inheritance: Smrf.AppLib.SaveFileDialog2
显示文件 Open project: 2014-sed-team3/term-project

Public Methods

Method Description
AssertValid ( ) : void
SaveWorkbookSettingsFileDialog ( String initialDirectory, String initialFileName ) : System

Initializes a new instance of the class.

ShowDialogAndSaveWorkbookSettings ( String workbookSettings ) : DialogResult

Protected Methods

Method Description
GetDialogTitle ( Object oObjectBeingSaved ) : String
GetFilter ( ) : String
SaveObject ( Object oObject, String sFileName ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

GetDialogTitle() protected method

protected GetDialogTitle ( Object oObjectBeingSaved ) : String
oObjectBeingSaved Object
return String

GetFilter() protected method

protected GetFilter ( ) : String
return String

SaveObject() protected method

protected SaveObject ( Object oObject, String sFileName ) : void
oObject Object
sFileName String
return void

SaveWorkbookSettingsFileDialog() public method

Initializes a new instance of the class.
public SaveWorkbookSettingsFileDialog ( String initialDirectory, String initialFileName ) : System
initialDirectory String /// Initial directory the dialog will display. Use an empty string to let /// the dialog select an initial directory. ///
initialFileName String /// Initial file name. Can be a complete path, a path without an /// extension, a file name, or a file name without an extension. ///
return System

ShowDialogAndSaveWorkbookSettings() public method

public ShowDialogAndSaveWorkbookSettings ( String workbookSettings ) : DialogResult
workbookSettings String
return DialogResult