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

how to use inherited control

P: n/a
I created an inherited control as follows

Public Class WowButto
Inherits System.Windows.Forms.Butto
Protected Overrides Sub OnPaint(ByVal pe As PaintEventArgs
Dim myPath As New Drawing2D.GraphicsPat
myPath.AddString("Wow!", Font.FontFamily, Font.Style, 72, New PointF(0, 0), StringFormat.GenericDefault
Dim myRegion As New Region(myPath
Me.Region = myRegio
End Su
End Clas
I put the code in a form, is it correct
How can I use this control



Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.