C# Class Smrf.NodeXL.ExcelTemplate.OpenUcinetFileDialog

Represents a dialog box for opening a UCINET file.
Call Form.ShowDialog() to allow the user to open a UCINET file from a location of his choice. If Form.ShowDialog() returns DialogResult.OK, the resulting graph can be retrieved from the property.
Inheritance: ExcelTemplateForm
ファイルを表示 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oGraph IGraph
m_oOpenFileDialog System.Windows.Forms.OpenFileDialog
m_oOpenUcinetFileDialogUserSettings OpenUcinetFileDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
OpenUcinetFileDialog ( ) : System

Initializes a new instance of the OpenUcinetFileDialog class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
OpenUcinetFile ( ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

btnBrowse_Click ( object sender, System e ) : void
btnOK_Click ( object sender, System e ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DoDataExchange() protected method

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
return System.Boolean

OpenUcinetFile() protected method

protected OpenUcinetFile ( ) : void
return void

OpenUcinetFileDialog() public method

Initializes a new instance of the OpenUcinetFileDialog class.
public OpenUcinetFileDialog ( ) : System
return System

Property Details

m_oGraph protected_oe property

protected IGraph m_oGraph
return IGraph

m_oOpenFileDialog protected_oe property

protected OpenFileDialog,System.Windows.Forms m_oOpenFileDialog
return System.Windows.Forms.OpenFileDialog

m_oOpenUcinetFileDialogUserSettings protected_oe property

protected OpenUcinetFileDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oOpenUcinetFileDialogUserSettings
return OpenUcinetFileDialogUserSettings