Button and Label differences

T

Tim Mulholland

I'm trying to use the code found in this newsgroup post:

http://groups.google.com/groups?hl=...0size&hl=en&lr=&ie=UTF-8&c2coff=1&sa=N&tab=wg

WHen i use it an attempt to have my usercontrol inherit from a
System.Windows.Forms.Label then it works beautifully.
But if i change it to inherit from System.Windows.Forms.Button, it
essentially just draws a ton of stuff until the whole contorl is black.

Can anyone point me in the direction of what i need to do to make this
function work for Buttons as well as Labels?

Thanks in advance,

Tim
 
R

Rhett Gong [MSFT]

Hi Tim,
I have post a reply in the winform newsgroup. Please check it and reply there if you
need further assistance on this problem. Thanks.


Best regards,
Rhett Gong [MSFT]
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top