Skip to content

Instantly share code, notes, and snippets.

View ninoslat1's full-sized avatar
🎯
Focusing

Benedict Ell Nino ninoslat1

🎯
Focusing
View GitHub Profile
@ninoslat1
ninoslat1 / RoundedPanel.vb
Last active September 27, 2024 06:48
Rounded Panel Visual Basic Forms Component
'For use this as custom component. Click Add > New Item > User Control (Windows Forms) and paste this code
Imports System.Runtime.InteropServices
Public Class RoundedPanel
<DllImport("Gdi32.dll", EntryPoint:="CreateRoundRectRgn")>
Private Shared Function CreateRoundRectRgn(
ByVal nLeftRect As Integer,
ByVal nTopRect As Integer,
ByVal nRightRect As Integer,