R
Rotsey
Hi,
I have a interface that I use for a form so I can pass the form
to another object.
How do I add the Paint event to the interface and subsequently
handle the paint event in my other object.?
I am not sure of the syntax required to do this?
Could you please give an example?
thanks
rotsey
public interface IForm
{
TabControl TabPageControl
{
get;
set;
}
Control.ControlCollection FormControls
{
get;
}
Cursor cursor
{
get;
set;
}
void SuspendLayout();
void ResumeLayout();
}
I have a interface that I use for a form so I can pass the form
to another object.
How do I add the Paint event to the interface and subsequently
handle the paint event in my other object.?
I am not sure of the syntax required to do this?
Could you please give an example?
thanks
rotsey
public interface IForm
{
TabControl TabPageControl
{
get;
set;
}
Control.ControlCollection FormControls
{
get;
}
Cursor cursor
{
get;
set;
}
void SuspendLayout();
void ResumeLayout();
}