示例#1
0
        protected void OnPaintNeeded()
        {
            if (PaintNeeded != null)
            {
                PaintNeededEventArgs args = new PaintNeededEventArgs {
                    DrawLength = TimeSpan.MinValue
                };

                PaintNeeded(this, args);
            }
        }
示例#2
0
		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();
 }
示例#5
0
		void ItemPaintNeeded (object sender, PaintNeededEventArgs e)
		{
			AnimatedDraw ();
		}