C# Class Revit.SDK.Samples.FrameBuilder.CS.DuplicateTypeForm

form to duplicate FamilySymbol and edit its name and parameters
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
DuplicateTypeForm ( object obj, FrameTypesMgr typesMgr ) : System

constructor

ShowDialog ( ) : DialogResult

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

Dispose() protected méthode

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

DuplicateTypeForm() public méthode

constructor
public DuplicateTypeForm ( object obj, FrameTypesMgr typesMgr ) : System
obj object FamilySymbol object
typesMgr FrameTypesMgr FamilySymbols' manager
Résultat System

ShowDialog() public méthode

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