C# Класс Smrf.NodeXL.ExcelTemplate.GraphMetricsDialog

Edits the user's graph metric settings and optionally calculates the graph metrics.
This dialog lets the user select from a set of graph metrics. It saves the user's selection in a GraphMetricUserSettings object. If the DialogMode argument to the constructor is , it also calculates the selected metrics.

If the user edits and saves graph metrics, Form.ShowDialog() returns DialogResult.OK. Otherwise, it returns DialogResult.Cancel.

Наследование: ExcelTemplateForm
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_eMode DialogMode
m_oGraphMetricUserSettings GraphMetricUserSettings
m_oGraphMetricsDialogUserSettings GraphMetricsDialogUserSettings
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Открытые методы

Метод Описание
AssertValid ( ) : void
GraphMetricsDialog ( DialogMode mode, Microsoft workbook ) : System

Initializes a new instance of the GraphMetricsDialog class.

Защищенные методы

Метод Описание
CalculateTopNByMetrics ( ) : System.Boolean
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EditTopNByMetricUserSettings ( ) : void
EditWordMetricUserSettings ( ) : void
ItemToGraphMetricInformation ( Object oCheckedListBoxItem ) : GraphMetricInformation
TryGetSelectedGraphMetricInformation ( GraphMetricInformation &oSelectedGraphMetricInformation ) : System.Boolean

Приватные методы

Метод Описание
InitializeComponent ( ) : void

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

OnCheckOrUncheckAll ( object sender, System e ) : void
btnOK_Click ( object sender, System e ) : void
btnOptions_Click ( object sender, EventArgs e ) : void
clbGraphMetrics_SelectedIndexChanged ( object sender, EventArgs e ) : void
wbDescription_Navigating ( object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void

Описание методов

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

CalculateTopNByMetrics() защищенный Метод

protected CalculateTopNByMetrics ( ) : System.Boolean
Результат System.Boolean

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

DoDataExchange() защищенный Метод

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
Результат System.Boolean

EditTopNByMetricUserSettings() защищенный Метод

protected EditTopNByMetricUserSettings ( ) : void
Результат void

EditWordMetricUserSettings() защищенный Метод

protected EditWordMetricUserSettings ( ) : void
Результат void

GraphMetricsDialog() публичный Метод

Initializes a new instance of the GraphMetricsDialog class.
public GraphMetricsDialog ( DialogMode mode, Microsoft workbook ) : System
mode DialogMode /// Indicates the mode in which the dialog is being used. ///
workbook Microsoft /// Workbook containing the graph contents. ///
Результат System

ItemToGraphMetricInformation() защищенный Метод

protected ItemToGraphMetricInformation ( Object oCheckedListBoxItem ) : GraphMetricInformation
oCheckedListBoxItem Object
Результат GraphMetricInformation

TryGetSelectedGraphMetricInformation() защищенный Метод

protected TryGetSelectedGraphMetricInformation ( GraphMetricInformation &oSelectedGraphMetricInformation ) : System.Boolean
oSelectedGraphMetricInformation GraphMetricInformation
Результат System.Boolean

Описание свойств

m_eMode защищенное свойство

protected DialogMode m_eMode
Результат DialogMode

m_oGraphMetricUserSettings защищенное свойство

protected GraphMetricUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphMetricUserSettings
Результат GraphMetricUserSettings

m_oGraphMetricsDialogUserSettings защищенное свойство

protected GraphMetricsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphMetricsDialogUserSettings
Результат GraphMetricsDialogUserSettings

m_oWorkbook защищенное свойство

protected Microsoft.Office.Interop.Excel.Workbook m_oWorkbook
Результат Microsoft.Office.Interop.Excel.Workbook