C# Class Smrf.AppLib.TrackBarWithDelay

TrackBar control that delays its TrackBar.Scroll event until the thumb has stopped moving.
This control fires a TrackBar.Scroll event milliseconds after the thumb was last moved. Use this control instead of TrackBar in applications where the event handler code is slow and handling every TrackBar.Scroll event would result in sluggish performance.
Inheritance: System.Windows.Forms.TrackBar
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_oDelayTimer System.Windows.Forms.Timer

Méthodes publiques

Méthode Description
TrackBarWithDelay ( ) : System

Initializes a new instance of the TrackBarWithDelay class.

Méthodes protégées

Méthode Description
OnScroll ( EventArgs e ) : void
m_oDelayTimer_Tick ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
AssertValid ( ) : void

Method Details

OnScroll() protected méthode

protected OnScroll ( EventArgs e ) : void
e System.EventArgs
Résultat void

TrackBarWithDelay() public méthode

Initializes a new instance of the TrackBarWithDelay class.
public TrackBarWithDelay ( ) : System
Résultat System

m_oDelayTimer_Tick() protected méthode

protected m_oDelayTimer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

m_oDelayTimer protected_oe property

protected Timer,System.Windows.Forms m_oDelayTimer
Résultat System.Windows.Forms.Timer