C# Class Smrf.NodeXL.ExcelTemplate.ExportToNodeXLGraphGalleryDialog

Exports the graph to the NodeXL Graph Gallery.
This dialog lets the user specify export settings. It saves the settings in an ExportToNodeXLGraphGalleryUserSettings object. If the DialogMode argument to the constructor is , it also exports the graph.

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

Most of the work is done by an internal object.

Inheritance: ExcelTemplateForm
ファイルを表示 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_eMode DialogMode
m_oExportToNodeXLGraphGalleryDialogUserSettings ExportToNodeXLGraphGalleryDialogUserSettings
m_oExportToNodeXLGraphGalleryUserSettings ExportToNodeXLGraphGalleryUserSettings
m_oNodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl
m_oPasswordUserSettings PasswordUserSettings
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Public Methods

Method Description
AssertValid ( ) : void
ExportToNodeXLGraphGalleryDialog ( DialogMode mode, Microsoft workbook, NodeXLControl nodeXLControl ) : 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
EnableControls ( ) : void
InitializeForEditOnly ( ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

OnEventThatRequiresControlEnabling ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, EventArgs 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

EnableControls() protected method

protected EnableControls ( ) : void
return void

ExportToNodeXLGraphGalleryDialog() public method

Initializes a new instance of the class.
public ExportToNodeXLGraphGalleryDialog ( DialogMode mode, Microsoft workbook, NodeXLControl nodeXLControl ) : System
mode DialogMode /// Indicates the mode in which the dialog is being used. ///
workbook Microsoft /// Workbook containing the graph data. ///
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl /// NodeXLControl containing the graph. This can be null if is . ///
return System

InitializeForEditOnly() protected method

protected InitializeForEditOnly ( ) : void
return void

Property Details

m_eMode protected_oe property

protected DialogMode m_eMode
return DialogMode

m_oExportToNodeXLGraphGalleryDialogUserSettings protected_oe property

protected ExportToNodeXLGraphGalleryDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oExportToNodeXLGraphGalleryDialogUserSettings
return ExportToNodeXLGraphGalleryDialogUserSettings

m_oExportToNodeXLGraphGalleryUserSettings protected_oe property

protected ExportToNodeXLGraphGalleryUserSettings,Smrf.NodeXL.ExcelTemplate m_oExportToNodeXLGraphGalleryUserSettings
return ExportToNodeXLGraphGalleryUserSettings

m_oNodeXLControl protected_oe property

protected NodeXLControl,Smrf.NodeXL.Visualization.Wpf m_oNodeXLControl
return Smrf.NodeXL.Visualization.Wpf.NodeXLControl

m_oPasswordUserSettings protected_oe property

protected PasswordUserSettings,Smrf.NodeXL.ExcelTemplate m_oPasswordUserSettings
return PasswordUserSettings

m_oWorkbook protected_oe property

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