[Mono-winforms-list] button implmentation

Aleksey Ryabchuk ryabchuk@yahoo.com
Mon, 11 Aug 2003 07:11:20 -0700 (PDT)


May be from technical point of view there is no
difference where this code is located . But it can be
wrong logically, because this code is not common for
all button controls.


--- Dennis Hayes <denisraytek@yahoo.com> wrote:
> Button.cs implments OnPaint.
> The spec says this should be in ButtonBase.cs.
> ButtonBase is just
> base.OnPaint (pevent)
> There is a lot of implmentation in button.cs
> *
> It looks like just replacing the ButtonBase OnPaint
> with the Button OnPaint, and removing the OnPaint
> from Button.cs would be the correct option.
> *
> Can someone do this and verify that is does not
> break any of the test?
> Thanks,
> Dennis

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.