C# Class NekoKun.UI.LynnListbox

Inheritance: System.Windows.Forms.ListBox
Exibir arquivo Open project: NekoProject/NekoKun

Protected Properties

Property Type Description
stringFormat System.Drawing.StringFormat

Private Properties

Property Type Description

Public Methods

Method Description
LynnListbox ( ) : System

Protected Methods

Method Description
DrawText ( int id, string str, Font font, Brush fc, Rectangle bounds, StringFormat sf, Graphics g, bool selected ) : void
GetString ( int id ) : string
OnDrawItem ( DrawItemEventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnResize ( EventArgs e ) : void

Method Details

DrawText() protected method

protected DrawText ( int id, string str, Font font, Brush fc, Rectangle bounds, StringFormat sf, Graphics g, bool selected ) : void
id int
str string
font System.Drawing.Font
fc System.Drawing.Brush
bounds System.Drawing.Rectangle
sf System.Drawing.StringFormat
g System.Drawing.Graphics
selected bool
return void

GetString() protected method

protected GetString ( int id ) : string
id int
return string

LynnListbox() public method

public LynnListbox ( ) : System
return System

OnDrawItem() protected method

protected OnDrawItem ( DrawItemEventArgs e ) : void
e System.Windows.Forms.DrawItemEventArgs
return void

OnFontChanged() protected method

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

OnMouseDown() protected method

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

OnResize() protected method

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

Property Details

stringFormat protected_oe property

protected StringFormat,System.Drawing stringFormat
return System.Drawing.StringFormat