C# 클래스 Revit.SDK.Samples.SharedCoordinateSystem.CS.CoordinateSystemDataForm

coordinate system data form
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
CoordinateSystemDataForm ( CoordinateSystemData data, CitySet citySet, SiteLocation siteLocation ) : System

override constructor

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
CheckModify ( ) : bool

check whether user modify the offset value

CheckSelecteCurrent ( ) : void

when the selected item is the current location,make the button to disable

CoordinateSystemDataForm ( ) : System

constructor of form

CoordinateSystemDataForm_Load ( object sender, EventArgs e ) : void

load the form

DealDecimalNumber ( string value ) : string

deal with decimal number

DisplayInformation ( ) : void

display the location information on the form

DoCityNameChanged ( ) : void

call by CitiesNameSelectedChanged,when CitiesName ComboBox selected changed

DoTextBoxChanged ( ) : void

called by some functions to do same operation

GetCityInfo ( string cityName, CityInfoString &cityInfoString ) : bool

used when city name changed

GetCityNameTimeZone ( CityInfoString cityInfoString, string &cityName, string &timeZone ) : void

used when city information changed

InitializeComponent ( ) : void

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

SaveSiteLocation ( ) : void

save siteLocation to Revit

ShowOffsetValue ( ) : void

show the offset values on the form

angleTextBox_Leave ( object sender, EventArgs e ) : void

check the format of the user's input and add a degree symbol behind the angle value

cityNameComboBox_SelectedValueChanged ( object sender, EventArgs e ) : void

be invoked when SelectedValue of control cityNameComboBox changed

duplicateButton_Click ( object sender, EventArgs e ) : void

display the duplicate form

latitudeTextBox_Leave ( object sender, EventArgs e ) : void

be invoked when focus leave control latitudeTextBox

latitudeTextBox_TextChanged ( object sender, EventArgs e ) : void

be invoked when text changed in control latitudeTextBox

locationListBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

the function will be invoked when the selected item changed

longitudeTextBox_Leave ( object sender, EventArgs e ) : void

be invoked when focus leave control longitudeTextBox

longitudeTextBox_TextChanged ( object sender, EventArgs e ) : void

be invoked when text changed in control longitudeTextBox

makeCurrentButton_Click ( object sender, EventArgs e ) : void

set the selected item of the listbox to be the current project location

okButton_Click ( object sender, EventArgs e ) : void

close the form and return true

timeZoneComboBox_SelectedValueChanged ( object sender, EventArgs e ) : void

be invoked when SelectValue of control timeZoneComboBox changed

메소드 상세

CoordinateSystemDataForm() 공개 메소드

override constructor
public CoordinateSystemDataForm ( CoordinateSystemData data, CitySet citySet, SiteLocation siteLocation ) : System
data CoordinateSystemData a instance of CoordinateSystemData class
citySet CitySet
siteLocation SiteLocation
리턴 System

Dispose() 보호된 메소드

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