C# 클래스 Revit.SDK.Samples.ModelLines.CS.ModelLinesForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
ModelLinesForm ( ModelLines dataBuffer ) : System

Constructor of ModelLinesForm

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
AssertDataIntegrity ( LineType createType ) : bool

Check the data which the user input are integrated or not

BindComboBox ( ComboBox control, Object dataSource ) : void

Bind the data source of the ComboBox

GetCurveType ( ) : LineType

Get the curve type for creation from the UI

InitializeComponent ( ) : void

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

InitializeInformationGrid ( ) : void

Bind the DataSource of the information DataGridView

NurbSplineRadioButton_CheckedChanged ( object sender, EventArgs e ) : void

When the NurbSplineRadioButton checked state changed, this method is called If it is checked, make otherPanel visible and reset the elementIdComboBox

ReBindElementIdComboBox ( LineType type ) : void

Rebind the data source of the elementIdComboBox control according to the line type

arcRadioButton_CheckedChanged ( object sender, EventArgs e ) : void

When the arcRadioButton checked state changed, this method is called If it is checked, make lineArcPanel visible and able third point

closeButton_Click ( object sender, EventArgs e ) : void

When the user click the close button, just close the form

createButton_Click ( object sender, EventArgs e ) : void

When the user click the create button, invoke method to create ReferencePlane

createSketchPlaneButton_Click ( object sender, EventArgs e ) : void

When click the createSketchPlaneButton, create a new sketch plane in revit

ellipseRadioButton_CheckedChanged ( object sender, EventArgs e ) : void

When the ellipseRadioButton checked state changed, this method is called If it is checked, make otherPanel visible and reset the elementIdComboBox

hermiteSplineRadioButton_CheckedChanged ( object sender, EventArgs e ) : void

When the hermiteSplineRadioButton checked state changed, this method is called If it is checked, make otherPanel visible and reset the elementIdComboBox

lineRadioButton_CheckedChanged ( object sender, EventArgs e ) : void

When the lineRadioButton checked state changed, this method is called If it is checked, make lineArcPanel visible and disable third point

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

ModelLinesForm() 공개 메소드

Constructor of ModelLinesForm
public ModelLinesForm ( ModelLines dataBuffer ) : System
dataBuffer ModelLines A reference of ModelLines class
리턴 System