C# Class SketchViewer.Form1

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Méthode Description
Form1 ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
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.

Method Details

Dispose() protected méthode

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

Form1() public méthode

public Form1 ( ) : System
Résultat System

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e System.Windows.Forms.PaintEventArgs
Résultat void