C# 클래스 SketchViewer.Form1

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
Form1 ( ) : System

보호된 메소드들

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

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
DataChanged ( ) : void

This method is called through an Event dispatch. It is registered with the DataChangedEvent of the viewer class. It should be raised whenever a new set of drawing commands hits to viewer from the network. It is a bit inefficient as it does not distinguish drawing commands from state setting commands, so it could be doing a bit more work than necessary. Also, it does not observe the updated region, and just invalidates the entire form. This will result in a lot of flashing in a highly collaborative environment.

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

Form1() 공개 메소드

public Form1 ( ) : System
리턴 System

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e System.Windows.Forms.PaintEventArgs
리턴 void