C# Class Smrf.NodeXL.ExcelTemplate.SaveGraphFileDialog

Abstract base class for dialogs that save a graph to a file.
The file format is defined by the derived class's implementation.
Inheritance: Smrf.AppLib.SaveFileDialog2
显示文件 Open project: 2014-sed-team3/term-project

Public Methods

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

Initializes a new instance of the SaveGraphFileDialog class.

ShowDialogAndSaveGraph ( IGraph graph ) : DialogResult

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

SaveGraphFileDialog() public method

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

ShowDialogAndSaveGraph() public method

public ShowDialogAndSaveGraph ( IGraph graph ) : DialogResult
graph IGraph
return DialogResult