All pastes #58154 Raw Edit

Untitled

public text v1 · immutable
#58154 ·published 2006-05-22 21:14 UTC
rendered paste body
		void SubPaint(PaintEventArgs e) {
			//PaintEventArgs f;
			PEA f;

			//f = new PaintEventArgs(e.Graphics, e.ClipRectangle);
			f = new PEA(e.Graphics, e.ClipRectangle);
			Console.WriteLine("e.Hash={0:X}, f.Hash={1:X}", e.Graphics.GetHashCode(), f.Graphics.GetHashCode());
		}

		protected override void OnPaint(PaintEventArgs e) {
			SubPaint(e);
			GC.Collect();
			base.OnPaint (e);
		}