C# Class Revit.SDK.Samples.ModelLines.CS.PointUserControl

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode Description
AssertPointIntegrity ( ) : bool

Check the point data which the user input are integrated or not

CoordinateTextBox_Validating ( object sender, CancelEventArgs e ) : void

This method is called to Validate whether the TextBox data is a number.

GetPointData ( ) : Autodesk.Revit.DB.XYZ

Stand for the point data of this user control

PointUserControl ( ) : System

Default constructor of ModelLinesForm

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

IsNumber ( String number ) : bool

Check whether the string data can stand for a double number

Method Details

AssertPointIntegrity() public méthode

Check the point data which the user input are integrated or not
public AssertPointIntegrity ( ) : bool
Résultat bool

CoordinateTextBox_Validating() public méthode

This method is called to Validate whether the TextBox data is a number.
public CoordinateTextBox_Validating ( object sender, CancelEventArgs e ) : void
sender object the event sender(can be all TextBox)
e CancelEventArgs contain event data(not used)
Résultat void

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

GetPointData() public méthode

Stand for the point data of this user control
public GetPointData ( ) : Autodesk.Revit.DB.XYZ
Résultat Autodesk.Revit.DB.XYZ

PointUserControl() public méthode

Default constructor of ModelLinesForm
public PointUserControl ( ) : System
Résultat System