C# Class System.Drawing.PieChart.PieChartControl

Summary description for PieChartControl.
Inheritance: System.Windows.Forms.Panel
显示文件 Open project: Longkong/Pojjaman Class Usage Examples

Public Methods

Method Description
PieChartControl ( ) : System

Initializes the PieChartControl.

Protected Methods

Method Description
DoDraw ( Graphics graphics ) : void

Sets values for the chart and draws them.

OnMouseEnter ( System e ) : void

Handles MouseEnter event to activate the tooltip.

OnMouseLeave ( System e ) : void

Handles MouseLeave event to disable tooltip.

OnMouseMove ( System e ) : void

Handles MouseMove event to display tooltip for the pie slice under pointer and to display slice in highlighted color.

OnPaint ( PaintEventArgs args ) : void

Handles OnPaint event.

OnResize ( EventArgs args ) : void

Handles OnResize event.

Method Details

DoDraw() protected method

Sets values for the chart and draws them.
protected DoDraw ( Graphics graphics ) : void
graphics Graphics /// Graphics object used for drawing. ///
return void

OnMouseEnter() protected method

Handles MouseEnter event to activate the tooltip.
protected OnMouseEnter ( System e ) : void
e System
return void

OnMouseLeave() protected method

Handles MouseLeave event to disable tooltip.
protected OnMouseLeave ( System e ) : void
e System
return void

OnMouseMove() protected method

Handles MouseMove event to display tooltip for the pie slice under pointer and to display slice in highlighted color.
protected OnMouseMove ( System e ) : void
e System
return void

OnPaint() protected method

Handles OnPaint event.
protected OnPaint ( PaintEventArgs args ) : void
args System.Windows.Forms.PaintEventArgs /// PaintEventArgs object. ///
return void

OnResize() protected method

Handles OnResize event.
protected OnResize ( EventArgs args ) : void
args System.EventArgs ///
return void

PieChartControl() public method

Initializes the PieChartControl.
public PieChartControl ( ) : System
return System