C# 클래스 Revit.SDK.Samples.NewRoof.RoofForms.CS.GraphicsControl

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

공개 프로퍼티들

프로퍼티 타입 설명
m_drawCenter PointF

공개 메소드들

메소드 설명
GraphicsControl ( FootPrintRoofWrapper footPrintRoofWrapper ) : System

The construct of the GraphicsControl.

GraphicsControl_Load ( object sender, EventArgs e ) : void

When the GraphicsControl was loaded, then add the picture box control to it and initialize the draw center and scale value.

m_footPrintRoofWrapper_OnFootPrintRoofLineChanged ( object sender, EventArgs e ) : void

When the current selected FootPrintRoofLine changed in the PropertyGrid, then update the drawing.

picturebox_Paint ( object sender, PaintEventArgs e ) : void

Display the footprint roof lines in the picture box control.

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
GraphicsControl ( ) : System

The private construct

InitializeComponent ( ) : void

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

메소드 상세

Dispose() 보호된 메소드

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

GraphicsControl() 공개 메소드

The construct of the GraphicsControl.
public GraphicsControl ( FootPrintRoofWrapper footPrintRoofWrapper ) : System
footPrintRoofWrapper FootPrintRoofWrapper A reference to FootPrintRoofWrapper which will be displayed in /// the picture box control.
리턴 System

GraphicsControl_Load() 공개 메소드

When the GraphicsControl was loaded, then add the picture box control to it and initialize the draw center and scale value.
public GraphicsControl_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

m_footPrintRoofWrapper_OnFootPrintRoofLineChanged() 공개 메소드

When the current selected FootPrintRoofLine changed in the PropertyGrid, then update the drawing.
public m_footPrintRoofWrapper_OnFootPrintRoofLineChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

picturebox_Paint() 공개 메소드

Display the footprint roof lines in the picture box control.
public picturebox_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
리턴 void

프로퍼티 상세

m_drawCenter 공개적으로 프로퍼티

public PointF m_drawCenter
리턴 PointF