C# 클래스 Smrf.NodeXL.ExcelTemplate.CreateSubgraphImagesDialog

Dialog that creates a subgraph image for each of a graph's vertices.
Call Form.ShowDialog() to run the dialog. All image creation is performed within the dialog.

A SubgraphImageCreator object does most of the work. The image creation is done asynchronously, so it doesn't hang the UI and can be cancelled by the user. However, the optional insertion of thumbnail images into the vertex worksheet is done synchronously, because you can't update the UI in Windows from a background thread. During thumbnail insertion, all dialog controls are disabled and the UI doesn't respond to user input.

상속: ExcelTemplateForm
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_eMode DialogMode
m_eState DialogState
m_oCreateSubgraphImagesDialogUserSettings CreateSubgraphImagesDialogUserSettings
m_oSelectedVertexNames ICollection
m_oSubgraphImageCreator SubgraphImageCreator
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

공개 메소드들

메소드 설명
AssertValid ( ) : void
CreateSubgraphImagesDialog ( DialogMode mode, Microsoft workbook, ICollection selectedVertexNames ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void
GetSelectedVertices ( IGraph oGraph, ICollection oSelectedVertexNames ) : ICollection
OnClosed ( EventArgs e ) : void
OnImageCreationCompleted ( RunWorkerCompletedEventArgs e ) : void
OnLoad ( EventArgs e ) : void
ReadWorkbook ( Microsoft oWorkbook ) : IGraph
StartImageCreation ( ) : void

비공개 메소드들

메소드 설명
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
SubgraphImageCreator_ImageCreationCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
SubgraphImageCreator_ImageCreationProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
btnCreate_Click ( object sender, EventArgs e ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CreateSubgraphImagesDialog() 공개 메소드

Initializes a new instance of the class.
public CreateSubgraphImagesDialog ( DialogMode mode, Microsoft workbook, ICollection selectedVertexNames ) : System
mode DialogMode /// Indicates the mode in which the dialog is being used. ///
workbook Microsoft /// Workbook containing the graph data. If is /// , the workbook isn't used and this /// parameter must be null. ///
selectedVertexNames ICollection /// Collection of zero or more vertex names corresponding to the selected /// rows in the vertex worksheet. If is , the collection isn't used and this /// parameter must be null. ///
리턴 System

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

EnableControls() 보호된 메소드

protected EnableControls ( ) : void
리턴 void

GetSelectedVertices() 보호된 메소드

protected GetSelectedVertices ( IGraph oGraph, ICollection oSelectedVertexNames ) : ICollection
oGraph IGraph
oSelectedVertexNames ICollection
리턴 ICollection

OnClosed() 보호된 메소드

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnImageCreationCompleted() 보호된 메소드

protected OnImageCreationCompleted ( RunWorkerCompletedEventArgs e ) : void
e System.ComponentModel.RunWorkerCompletedEventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

ReadWorkbook() 보호된 메소드

protected ReadWorkbook ( Microsoft oWorkbook ) : IGraph
oWorkbook Microsoft
리턴 IGraph

StartImageCreation() 보호된 메소드

protected StartImageCreation ( ) : void
리턴 void

프로퍼티 상세

m_eMode 보호되어 있는 프로퍼티

protected DialogMode m_eMode
리턴 DialogMode

m_eState 보호되어 있는 프로퍼티

protected DialogState m_eState
리턴 DialogState

m_oCreateSubgraphImagesDialogUserSettings 보호되어 있는 프로퍼티

protected CreateSubgraphImagesDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oCreateSubgraphImagesDialogUserSettings
리턴 CreateSubgraphImagesDialogUserSettings

m_oSelectedVertexNames 보호되어 있는 프로퍼티

protected ICollection m_oSelectedVertexNames
리턴 ICollection

m_oSubgraphImageCreator 보호되어 있는 프로퍼티

protected SubgraphImageCreator,Smrf.NodeXL.ExcelTemplate m_oSubgraphImageCreator
리턴 SubgraphImageCreator

m_oWorkbook 보호되어 있는 프로퍼티

protected Microsoft.Office.Interop.Excel.Workbook m_oWorkbook
리턴 Microsoft.Office.Interop.Excel.Workbook