C# Class FarsiLibrary.Win.BaseClasses.BaseStyledControl

Inheritance: System.Windows.Forms.Control
Show file Open project: HEskandari/FarsiLibrary Class Usage Examples

Private Properties

Property Type Description
OnInternalManagerThemeChanged void

Public Methods

Method Description
BaseStyledControl ( ) : System

Creates a new instance of BaseStyledControl class.

BeginUpdate ( ) : void

Locks the control for update.

CancelUpdate ( ) : void

Cancels all previous locks on the control. Does NOT repaint the control.

EndUpdate ( ) : void

Removes a update lock from control.

Repaint ( ) : void

Invalidate and repaints the control if it is not in lock mode.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnHandleCreated ( EventArgs e ) : void
OnSystemColorsChanged ( EventArgs e ) : void
OnThemeChanged ( EventArgs e ) : void

Private Methods

Method Description
OnInternalManagerThemeChanged ( object sender, EventArgs e ) : void

Method Details

BaseStyledControl() public method

Creates a new instance of BaseStyledControl class.
public BaseStyledControl ( ) : System
return System

BeginUpdate() public method

Locks the control for update.
public BeginUpdate ( ) : void
return void

CancelUpdate() public method

Cancels all previous locks on the control. Does NOT repaint the control.
public CancelUpdate ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndUpdate() public method

Removes a update lock from control.
public EndUpdate ( ) : void
return void

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void

OnSystemColorsChanged() protected method

protected OnSystemColorsChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnThemeChanged() protected method

protected OnThemeChanged ( EventArgs e ) : void
e System.EventArgs
return void

Repaint() public method

Invalidate and repaints the control if it is not in lock mode.
public Repaint ( ) : void
return void