C# Class NClass.GUI.ZoomingToolStrip

Inheritance: System.Windows.Forms.ToolStripItem
显示文件 Open project: gbaychev/NClass

Private Properties

Property Type Description
DrawSlider void
MoveSlider void

Public Methods

Method Description
GetPreferredSize ( Size constrainingSize ) : Size

Protected Methods

Method Description
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnZoomValueChanged ( EventArgs e ) : void

Private Methods

Method Description
DrawSlider ( Graphics g, TrackBarThumbState state ) : void
MoveSlider ( int location, bool snapToCenter ) : void

Method Details

GetPreferredSize() public method

public GetPreferredSize ( Size constrainingSize ) : Size
constrainingSize System.Drawing.Size
return System.Drawing.Size

OnMouseDown() protected method

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

OnMouseMove() protected method

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

OnPaint() protected method

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

OnZoomValueChanged() protected method

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