S
shilpichaudhry
Following is a method of the Control class defined in
System.Windows.Forms
protected virtual void OnPaint(PaintEventArgs e)
{
if (this.CanRaiseEvents)
{
PaintEventHandler handler = (PaintEventHandler)
base.Events[EventPaint];
if (handler != null)
{
handler(this, e);
}
}
}
Paint EventHandler is a delegate defined as;
public delegate void PaintEventHandler(object sender, PaintEventArgs
e);
Where can I find the code for the above mentioned method :
PaintEventHandler?
Thanks, Shilpi
System.Windows.Forms
protected virtual void OnPaint(PaintEventArgs e)
{
if (this.CanRaiseEvents)
{
PaintEventHandler handler = (PaintEventHandler)
base.Events[EventPaint];
if (handler != null)
{
handler(this, e);
}
}
}
Paint EventHandler is a delegate defined as;
public delegate void PaintEventHandler(object sender, PaintEventArgs
e);
Where can I find the code for the above mentioned method :
PaintEventHandler?
Thanks, Shilpi