Alvo von Cossel I wrote:
i asked this question before and got a link to a website that didnt help
me.
my question was, how do i create a custom control (e.g. a round button or a
toolbar that you can drag and drop in the middle of a window (like
microsoft
office toolbars)? the only thing i know so far is create a class and
include
some code like
public class name : UserControl
but thats all i know and i need a little bit more code to get me started.
Hm, that's difficult to explain, you know :-) You would probably derive
the round button from a Control, not a UserControl - these decisions are
documented in MSDN, like here:
http://shrinkster.com/7ou and here:
http://shrinkster.com/7ov . There's also a sample here:
http://shrinkster.com/7ow
Apart from this stuff, why don't you go to
www.codeproject.com and read
some of the articles there? There are many that explain how to create your
own controls, and they come with source code you can download and take a
look at. I'd think that this is the best way to get you started.
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619
http://www.sturmnet.org/blog