C# Класс Revit.SDK.Samples.PlaceFamilyInstanceByFace.CS.PointUserControl

Stand for the point data of this user control
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Описание методов

AssertPointIntegrity() публичный Метод

Check the point data which the user input are integrated or not
public AssertPointIntegrity ( ) : bool
Результат bool

CoordinateTextBox_Validating() публичный Метод

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)
Результат 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

GetPointData() публичный Метод

Get the point data of this user control
public GetPointData ( ) : Autodesk.Revit.DB.XYZ
Результат Autodesk.Revit.DB.XYZ

IsNumber() публичный статический Метод

Check whether the string data can represent a double number
public static IsNumber ( String number ) : bool
number String The test string
Результат bool

PointUserControl() публичный Метод

Default constructor of ModelLinesForm
public PointUserControl ( ) : System
Результат System

SetPointData() публичный Метод

Set the point data of this user control
public SetPointData ( Autodesk data ) : void
data Autodesk the point data
Результат void