By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,670 Members | 1,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,670 IT Pros & Developers. It's quick & easy.

Create Line method for User Control

P: n/a
I need to create basic MyControl - Custom (User) Control having the only
"Line" method for drawing straight Line inside the control.

I want to call this method as


from the Main Form on Button_Click Event.

And I don't want no more code in this form for now.


Unfortunately I'm confused about all this Graphics graphics, onPaint....

So with various "Invalidate","Dispose", etc.... so I need some small piece
of code...


Does anybody can help me? Thanks in advance.
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.