C# Класс SketchViewer.Form1

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

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