C# Class CustomControlUsingRenderers.MyUserControl

Inheritance: System.Windows.Forms.UserControl, IContentValues
Exibir arquivo Open project: ComponentFactory/Krypton

Public Methods

Method Description
GetImage ( PaletteState state ) : Image
GetImageTransparentColor ( PaletteState state ) : Color
GetLongText ( ) : string
GetShortText ( ) : string
MyUserControl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
CreateRectGraphicsPath ( Rectangle rect ) : GraphicsPath
GetButtonState ( ) : PaletteState
OnGlobalPaletteChanged ( object sender, EventArgs e ) : void
OnPalettePaint ( object sender, PaletteLayoutEventArgs e ) : void

Method Details

Dispose() protected method

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

GetImage() public method

public GetImage ( PaletteState state ) : Image
state PaletteState
return Image

GetImageTransparentColor() public method

public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState
return Color

GetLongText() public method

public GetLongText ( ) : string
return string

GetShortText() public method

public GetShortText ( ) : string
return string

MyUserControl() public method

public MyUserControl ( ) : System
return System

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
e System.Windows.Forms.LayoutEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

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

OnMouseLeave() protected method

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

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void