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

Imports edge and vertex columns from another open workbook to an object.
If Form.ShowDialog() returns DialogResult.OK, the imported IGraph object can be obtained from the property.
상속: ExcelTemplateForm
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_oDestinationNodeXLWorkbook Microsoft.Office.Interop.Excel.Workbook
m_oGraph IGraph
m_oImportFromWorkbookDialogUserSettings ImportFromWorkbookDialogUserSettings

공개 메소드들

메소드 설명
AssertValid ( ) : void
ImportFromWorkbookDialog ( Microsoft destinationNodeXLWorkbook ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
CheckAllIsEdgeColumnCheckBoxes ( System.Boolean bCheck ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void
GetOneBasedColumnNumbersToImport ( Int32 iDataGridViewColumnIndex ) : ICollection
GetSourceColumnItemText ( String sFirstSourceCellValue, String sColumnLetter, System.Boolean bSourceColumnsHaveHeaders ) : String
ImportFromEdgeWorkbook ( ) : void
ObjectWithTextToColumnNumberOneBased ( ObjectWithText oObjectWithText ) : Int32
OnLoad ( EventArgs e ) : void
OnSourceWorkbookChanged ( ) : void
PopulateSourceColumnsDataGridView ( ) : void
PopulateVertexComboBox ( ComboBox cbxVertex ) : void
PopulateVertexComboBoxes ( ) : void
TryGetSourceWorkbookNonEmptyRange ( Range &oNonEmptyRange ) : System.Boolean

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

btnCheckAllIsEdgeColumnCheckBoxes_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
btnUncheckAllIsEdgeColumnCheckBoxes_Click ( object sender, EventArgs e ) : void
cbxSourceColumnsHaveHeaders_CheckedChanged ( object sender, EventArgs e ) : void
cbxVertex_SelectedIndexChanged ( object sender, EventArgs e ) : void
dgvSourceColumns_CellContentClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
lbxSourceWorkbook_SelectedIndexChanged ( object sender, EventArgs e ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CheckAllIsEdgeColumnCheckBoxes() 보호된 메소드

protected CheckAllIsEdgeColumnCheckBoxes ( System.Boolean bCheck ) : void
bCheck System.Boolean
리턴 void

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

GetOneBasedColumnNumbersToImport() 보호된 메소드

protected GetOneBasedColumnNumbersToImport ( Int32 iDataGridViewColumnIndex ) : ICollection
iDataGridViewColumnIndex System.Int32
리턴 ICollection

GetSourceColumnItemText() 보호된 메소드

protected GetSourceColumnItemText ( String sFirstSourceCellValue, String sColumnLetter, System.Boolean bSourceColumnsHaveHeaders ) : String
sFirstSourceCellValue String
sColumnLetter String
bSourceColumnsHaveHeaders System.Boolean
리턴 String

ImportFromEdgeWorkbook() 보호된 메소드

protected ImportFromEdgeWorkbook ( ) : void
리턴 void

ImportFromWorkbookDialog() 공개 메소드

Initializes a new instance of the class.
public ImportFromWorkbookDialog ( Microsoft destinationNodeXLWorkbook ) : System
destinationNodeXLWorkbook Microsoft /// Workbook into which the edges and vertices will be imported. This is /// used only to avoid including the workbook in the list of workbooks /// that can be imported; the workbook itself is not modified by this /// class. ///
리턴 System

ObjectWithTextToColumnNumberOneBased() 보호된 메소드

protected ObjectWithTextToColumnNumberOneBased ( ObjectWithText oObjectWithText ) : Int32
oObjectWithText Smrf.AppLib.ObjectWithText
리턴 System.Int32

OnLoad() 보호된 메소드

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

OnSourceWorkbookChanged() 보호된 메소드

protected OnSourceWorkbookChanged ( ) : void
리턴 void

PopulateSourceColumnsDataGridView() 보호된 메소드

protected PopulateSourceColumnsDataGridView ( ) : void
리턴 void

PopulateVertexComboBox() 보호된 메소드

protected PopulateVertexComboBox ( ComboBox cbxVertex ) : void
cbxVertex System.Windows.Forms.ComboBox
리턴 void

PopulateVertexComboBoxes() 보호된 메소드

protected PopulateVertexComboBoxes ( ) : void
리턴 void

TryGetSourceWorkbookNonEmptyRange() 보호된 메소드

protected TryGetSourceWorkbookNonEmptyRange ( Range &oNonEmptyRange ) : System.Boolean
oNonEmptyRange Range
리턴 System.Boolean

프로퍼티 상세

m_oDestinationNodeXLWorkbook 보호되어 있는 프로퍼티

protected Workbook,Microsoft.Office.Interop.Excel m_oDestinationNodeXLWorkbook
리턴 Microsoft.Office.Interop.Excel.Workbook

m_oGraph 보호되어 있는 프로퍼티

protected IGraph m_oGraph
리턴 IGraph

m_oImportFromWorkbookDialogUserSettings 보호되어 있는 프로퍼티

protected ImportFromWorkbookDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oImportFromWorkbookDialogUserSettings
리턴 ImportFromWorkbookDialogUserSettings