O
Ole
I have created an user control (that inherits UserControl) in which I have
defined an override on the Dispose member like this:
protected override void Dispose( bool disposing )
{
try
{
blackPen.Dispose();
redPen.Dispose();
bluePen.Dispose();
}
catch
{ }
}
But the compiler complains with the error message:
"The Control" already defines a member called 'Dispose' with the same
parameter
Any clue what could be wrong?
Thanks
Ole
defined an override on the Dispose member like this:
protected override void Dispose( bool disposing )
{
try
{
blackPen.Dispose();
redPen.Dispose();
bluePen.Dispose();
}
catch
{ }
}
But the compiler complains with the error message:
"The Control" already defines a member called 'Dispose' with the same
parameter
Any clue what could be wrong?
Thanks
Ole