C# Class SidebarLibrary.WinControls.ComboBoxBase

Inheritance: System.Windows.Forms.ComboBox
Datei anzeigen Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
ComboBoxBase ( ) : System
ComboBoxBase ( bool toolBarUse ) : System
SetFontHeight ( int newHeight ) : void

Protected Methods

Method Description
DrawComboBoxItem ( Graphics g, Rectangle bounds, int Index, bool selected, bool editSel ) : void
DrawComboBoxItemEx ( Graphics g, Rectangle bounds, int Index, bool selected, bool editSel ) : void
DrawDisableState ( ) : void
OnGotFocus ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnSelectedIndexChanged ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
CalculateArrowBoxCoordinates ( int &left, int &top, int &width, int &height ) : void
DrawArrowGlyph ( Graphics g, bool disable ) : void
DrawComboBoxArrowNormal ( Graphics g, bool disable ) : void
DrawComboBoxArrowSelected ( Graphics g, bool erase ) : void
DrawComboBoxBorder ( Graphics g, Color color ) : void
EndHook ( ) : void
ForcePaint ( Message &m ) : void
ForceUpdate ( ) : void
MouseHook ( int code, IntPtr wparam, IntPtr lparam ) : IntPtr
OnDrawItem ( DrawItemEventArgs e ) : void
PaintComboBoxBackground ( Graphics g, Color backColor ) : void
StartHook ( ) : void

Method Details

ComboBoxBase() public method

public ComboBoxBase ( ) : System
return System

ComboBoxBase() public method

public ComboBoxBase ( bool toolBarUse ) : System
toolBarUse bool
return System

DrawComboBoxItem() protected method

protected DrawComboBoxItem ( Graphics g, Rectangle bounds, int Index, bool selected, bool editSel ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
Index int
selected bool
editSel bool
return void

DrawComboBoxItemEx() protected method

protected DrawComboBoxItemEx ( Graphics g, Rectangle bounds, int Index, bool selected, bool editSel ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
Index int
selected bool
editSel bool
return void

DrawDisableState() protected method

protected DrawDisableState ( ) : void
return void

OnGotFocus() protected method

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

OnHandleCreated() protected method

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

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
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

OnPaint() protected method

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

OnSelectedIndexChanged() protected method

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

SetFontHeight() public method

public SetFontHeight ( int newHeight ) : void
newHeight int
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void