C# 클래스 Revit.SDK.Samples.FrameBuilder.CS.DuplicateTypeForm

form to duplicate FamilySymbol and edit its name and parameters
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
DuplicateTypeForm ( object obj, FrameTypesMgr typesMgr ) : System

constructor

ShowDialog ( ) : DialogResult

hidden subclass' method; display EditTypeNameForm to get type name; then duplicate FamilySymbol

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
DuplicateTypeForm ( ) : System

constructor without parameter is forbidden

DuplicateTypeForm_Load ( object sender, EventArgs e ) : void

provide UI to edit is parameter

InitializeComponent ( ) : void

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

OKButton_Click ( object sender, EventArgs e ) : void

to finish duplicate process

cancelButton_Click ( object sender, EventArgs e ) : void

cancel the duplicate and roll back the command

메소드 상세

Dispose() 보호된 메소드

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

DuplicateTypeForm() 공개 메소드

constructor
public DuplicateTypeForm ( object obj, FrameTypesMgr typesMgr ) : System
obj object FamilySymbol object
typesMgr FrameTypesMgr FamilySymbols' manager
리턴 System

ShowDialog() 공개 메소드

hidden subclass' method; display EditTypeNameForm to get type name; then duplicate FamilySymbol
public ShowDialog ( ) : DialogResult
리턴 DialogResult