That e is PaintEventArgs instance.
It is used in methods for event handlers
this.Paint += new PaintEventHandler(this.form1_paint);
private void form1_paint(object sender, PaintEventArgs e)
{
Graphics g = e.Graphics;
}
or when overriden from Control
protected override void OnPaint(PaintEventArgs e)
{
//...
}
Paint event handler is generated automatically for you when you double click
on your form in form designer.
"Raed Sawalha" <Ra*********@discussions.microsoft.com> wrote in message
news:41**********************************@microsof t.com...
I read in MSDN an examples for Image Stretching but something I can not
understand is this line
e.Graphics.DrawImage(newImage, destRect1, x, y, width, height, units);
what is e in all example they did not show what is e ????? any help