C# Class Smrf.NodeXL.ExcelTemplate.ExportedFilesDescriptionControl

Control for providing a title and description for files that will be exported.
This control is used by several dialogs that export an image of the graph, along with optional NodeXL workbook, workbook options, and GraphML files.

You must set the Workbook property after the control is created.

Also set the Title and Description properties after the control is created. To retrieve the edited properties, call , and if Validate returns true, read the properties.

This control uses the following keyboard shortcuts: S and whatever is set by the TitleLabel and DescriptionLabel properties.

Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook
m_sDescription String
m_sTitle String

Public Methods

Method Description
ExportedFilesDescriptionControl ( ) : System

Initializes a new instance of the class.

Validate ( ) : System.Boolean

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean

Private Methods

Method Description
AssertValid ( ) : void
InitializeComponent ( ) : void

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

btnInsertGraphSummary_Click ( object sender, EventArgs e ) : void

Method Details

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

ExportedFilesDescriptionControl() public method

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

Validate() public method

public Validate ( ) : System.Boolean
return System.Boolean

Property Details

m_oWorkbook protected_oe property

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

m_sDescription protected_oe property

protected String m_sDescription
return String

m_sTitle protected_oe property

protected String m_sTitle
return String