C# Class Revit.SDK.Samples.TypeRegeneration.CS.MessageForm

The form is used to show the result
Inheritance: System.Windows.Forms.Form
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
AddMessage ( string message, bool enableTimer ) : void

add text to the richtextbox and set time enable is true, then timer starts timing

MessageForm ( ) : System

construction of MessageForm

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

onTimeOut ( object source, System e ) : void

the method is executed when time is out, and set the timer enabled false,then timer stop timing

Method Details

AddMessage() public method

add text to the richtextbox and set time enable is true, then timer starts timing
public AddMessage ( string message, bool enableTimer ) : void
message string message from the regeneration
enableTimer bool enable or disable the timer elapsed event
return void

Dispose() protected method

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

MessageForm() public method

construction of MessageForm
public MessageForm ( ) : System
return System