C# Class XCore.StatusBarSizeGrip

This is a size grip that can be added to a status bar. We use this instead of letting the status bar draw the size grip because the size grip can draw too large at 120dpi overlapping adjacent panels.
Inheritance: System.Windows.Forms.StatusBarPanel
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
StatusBarSizeGrip ( System.Windows.Forms.StatusBar bar ) : System

Initializes a new instance of the StatusBarSizeGrip class.

bar_DrawItem ( object sender, System.Windows.Forms.StatusBarDrawItemEventArgs sbdevent ) : void

Method Details

StatusBarSizeGrip() public method

Initializes a new instance of the StatusBarSizeGrip class.
public StatusBarSizeGrip ( System.Windows.Forms.StatusBar bar ) : System
bar System.Windows.Forms.StatusBar The status bar.
return System

bar_DrawItem() public method

public bar_DrawItem ( object sender, System.Windows.Forms.StatusBarDrawItemEventArgs sbdevent ) : void
sender object
sbdevent System.Windows.Forms.StatusBarDrawItemEventArgs
return void