protected void OnPaintNeeded() { if (PaintNeeded != null) { PaintNeededEventArgs args = new PaintNeededEventArgs { DrawLength = TimeSpan.MinValue }; PaintNeeded(this, args); } }
void HandlePaintNeeded (object o, PaintNeededEventArgs args) { // just propagate the event up OnPaintNeeded (); }
protected void OnPaintNeeded () { if (PaintNeeded != null) { PaintNeededEventArgs args = new PaintNeededEventArgs { DrawLength = TimeSpan.MinValue }; PaintNeeded (this, args); } }
void HandlePaintNeeded(object o, PaintNeededEventArgs args) { // just propagate the event up OnPaintNeeded(); }
void ItemPaintNeeded (object sender, PaintNeededEventArgs e) { AnimatedDraw (); }