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

Stand for the point data of this user control
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

Get the point data of this user control

IsNumber ( String number ) : bool

Check whether the string data can represent a double number

PointUserControl ( ) : System

Default constructor of ModelLinesForm

SetPointData ( Autodesk data ) : void

Set the point data of this user control

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.

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

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

IsNumber() public static méthode

Check whether the string data can represent a double number
public static IsNumber ( String number ) : bool
number String The test string
Résultat bool

PointUserControl() public méthode

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

SetPointData() public méthode

Set the point data of this user control
public SetPointData ( Autodesk data ) : void
data Autodesk the point data
Résultat void