Ben,
To add your own functionality to the refresh method you will need to subclass the button and then use that new class in your form.
>Hi Cathi,
>
>Thanks for your reply.
>
>When I view the source code, I do not see a class definition for the button, the code just shows the button as member-variable:
>
>private System.Windows.Forms.Button cmdCancel;
>
>Do I have to define my own button class in the code and base my button from that?
>
>TIA,
>
>Ben Alicea
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi