C# 클래스 Revit.SDK.Samples.PerformanceAdviserControl.CS.TestDisplayDialog

파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
AddData ( string name, bool isOurRule, bool isEnabled ) : void

This method is called by UICommand::Execute() and adds test information to the grid data object "testData."

TestDisplayDialog ( PerformanceAdviser performanceAdviser, Document document ) : System

Basic setup -- stores references to the active document and PerformanceAdviser for later use

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

btn_Cancel_Click ( object sender, EventArgs e ) : void

Closes the dialog without committing any action

btn_DeselectAll_Click ( object sender, EventArgs e ) : void

Called when the user clicks the "Deselect All" button.

btn_RunTests_Click ( object sender, EventArgs e ) : void

Called when the user clicks the "Run Selected Tests" button

btn_SelectAll_Click ( object sender, EventArgs e ) : void

Called when the user clicks the "Select All" button.

메소드 상세

AddData() 공개 메소드

This method is called by UICommand::Execute() and adds test information to the grid data object "testData."
public AddData ( string name, bool isOurRule, bool isEnabled ) : void
name string The rule name
isOurRule bool Whether or not the rule is a the API-defined rule in this project
isEnabled bool Whether or not the rule is currently selected to run
리턴 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

TestDisplayDialog() 공개 메소드

Basic setup -- stores references to the active document and PerformanceAdviser for later use
public TestDisplayDialog ( PerformanceAdviser performanceAdviser, Document document ) : System
performanceAdviser PerformanceAdviser The revit PerformanceAdviser class
document Document The active document
리턴 System