visual basic: create custom control for windows form application

Peruttu Julkaistu 7 vuotta sitten Maksettu toimituksen yhteydessä
Peruttu

i need create own control (e.g ARC line), which will be selectable on windows form, I've started from the class creation, how to complete it?

Public Class mARCd : Inherits Control

Public mPen As Pen

Public rect As Rectangle

Public startAngle As Single

Public sweepAngle As Single

Public X0 As Integer, Y0 As Integer

Public mBitmap As Bitmap

Public Sub New()

[url removed, login to view]()

[url removed, login to view]()

MsgBox([url removed, login to view])

End Sub

Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)

[url removed, login to view](mPen, rect, startAngle, sweepAngle)

End Sub

Protected Overrides Sub OnClick(ByVal e As [url removed, login to view])

[url removed, login to view]()

[url removed, login to view]()

End Sub

End Class

my budget 30USD

VB.NET

Projektin tunnus: #14123405

Tietoa projektista

5 ehdotusta Etäprojekti Aktiivinen 7 vuotta sitten