C# Class XCore.TestControlBase

Test class that implements WndProc by noting start and finish, and possibly making recursive calls.
Inheritance: System.Windows.Forms.Control
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Свойство Type Description
m_messages System.Collections.ArrayList

Méthodes publiques

Méthode Description
CallOnPaint ( PaintEventArgs e ) : void

allow protected method to be called by test code

CallWndProc ( Message &m ) : void

allow protected method to be called by test code

TestControlBase ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool release_all ) : void
OnPaint ( PaintEventArgs e ) : void

Fake OnPaint notes order things happen.

RunPendingMessages ( object original ) : void

Override to simulate recursive calls to WndProc.

WndProc ( Message &m ) : void

Fake WndProc notes order things happen.

Method Details

CallOnPaint() public méthode

allow protected method to be called by test code
public CallOnPaint ( PaintEventArgs e ) : void
e System.Windows.Forms.PaintEventArgs
Résultat void

CallWndProc() public méthode

allow protected method to be called by test code
public CallWndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void

Dispose() protected méthode

protected Dispose ( bool release_all ) : void
release_all bool
Résultat void

OnPaint() protected méthode

Fake OnPaint notes order things happen.
protected OnPaint ( PaintEventArgs e ) : void
e System.Windows.Forms.PaintEventArgs
Résultat void

RunPendingMessages() protected méthode

Override to simulate recursive calls to WndProc.
protected RunPendingMessages ( object original ) : void
original object
Résultat void

TestControlBase() public méthode

public TestControlBase ( ) : System
Résultat System

WndProc() protected méthode

Fake WndProc notes order things happen.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void

Property Details

m_messages public_oe property

public for test purposes
public ArrayList,System.Collections m_messages
Résultat System.Collections.ArrayList