C# Class Smrf.NodeXL.ExcelTemplate.SavePajekFileDialog

Represents a dialog box for saving a graph to a Pajek text file.
Call SaveGraphFileDialog.ShowDialogAndSaveGraph to allow the user to save a graph to a location of his choice.
Inheritance: SaveGraphFileDialog
ファイルを表示 Open project: 2014-sed-team3/term-project

Public Methods

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

Initializes a new instance of the SavePajekFileDialog 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

SaveObject() protected method

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

SavePajekFileDialog() public method

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