C# Class Smrf.NodeXL.ExcelTemplate.SaveGraphMLFileDialog

Represents a dialog box for saving a graph to a GraphML file.
Call SaveGraphFileDialog.ShowDialogAndSaveGraph to allow the user to save a graph to a location of his choice.
Inheritance: SaveGraphFileDialog
Exibir arquivo Open project: 2014-sed-team3/term-project

Public Methods

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

Initializes a new instance of the SaveGraphMLFileDialog class.

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

SaveGraphMLFileDialog() public method

Initializes a new instance of the SaveGraphMLFileDialog class.
public SaveGraphMLFileDialog ( 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

SaveObject() protected method

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