C# Class Smrf.NodeXL.ExcelTemplate.TopNByMetricUserSettingsDialog

Edits one TopNByMetricUserSettings object.
Pass a TopNByMetricUserSettings object to the constructor. If the user edits the object, Form.ShowDialog() returns DialogResult.OK. Otherwise, Form.ShowDialog() returns DialogResult.Cancel and the object isn't modified.
Inheritance: ExcelTemplateForm
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oTopNByMetricUserSettings TopNByMetricUserSettings
m_oTopNByMetricUserSettingsDialogUserSettings TopNByMetricUserSettingsDialogUserSettings
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Public Methods

Method Description
AssertValid ( ) : void
TopNByMetricUserSettingsDialog ( TopNByMetricUserSettings topNByMetricUserSettings, Microsoft workbook ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean

Private Methods

Method Description
InitializeComponent ( ) : void

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

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

TopNByMetricUserSettingsDialog() public method

Initializes a new instance of the class.
public TopNByMetricUserSettingsDialog ( TopNByMetricUserSettings topNByMetricUserSettings, Microsoft workbook ) : System
topNByMetricUserSettings TopNByMetricUserSettings /// The object being edited. ///
workbook Microsoft /// Workbook containing the graph contents. ///
return System

Property Details

m_oTopNByMetricUserSettings protected_oe property

protected TopNByMetricUserSettings,Smrf.NodeXL.ExcelTemplate m_oTopNByMetricUserSettings
return TopNByMetricUserSettings

m_oTopNByMetricUserSettingsDialogUserSettings protected_oe property

protected TopNByMetricUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oTopNByMetricUserSettingsDialogUserSettings
return TopNByMetricUserSettingsDialogUserSettings

m_oWorkbook protected_oe property

protected Workbook,Microsoft.Office.Interop.Excel m_oWorkbook
return Microsoft.Office.Interop.Excel.Workbook