C# Class MetroFramework.Controls.MetroProgressBar

Inheritance: System.Windows.Forms.ProgressBar, IMetroControl
Mostrar archivo Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Property Type Description
DrawProgressContinuous void
DrawProgressMarquee void
DrawProgressText void
StartTimer void
StopTimer void
marqueeTimer_Tick void

Public Methods

Method Description
GetPreferredSize ( Size proposedSize ) : Size
MetroProgressBar ( ) : System

Protected Methods

Method Description
OnCustomPaint ( MetroPaintEventArgs e ) : void
OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnPaintForeground ( PaintEventArgs e ) : void

Private Methods

Method Description
DrawProgressContinuous ( Graphics graphics ) : void
DrawProgressMarquee ( Graphics graphics ) : void
DrawProgressText ( Graphics graphics ) : void
StartTimer ( ) : void
StopTimer ( ) : void
marqueeTimer_Tick ( object sender, EventArgs e ) : void

Method Details

GetPreferredSize() public method

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

MetroProgressBar() public method

public MetroProgressBar ( ) : System
return System

OnCustomPaint() protected method

protected OnCustomPaint ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintBackground() protected method

protected OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnCustomPaintForeground() protected method

protected OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
e MetroFramework.Drawing.MetroPaintEventArgs
return void

OnPaint() protected method

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

OnPaintBackground() protected method

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

OnPaintForeground() protected method

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