Torna al Thread

Private Sub Button1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Button1.Paint Dim Ctrl As Button = CType(sender, Button) e.Graphics.DrawRectangle(New Pen(Brushes.Black, 1), 2, 2, Ctrl.ClientRectangle.Width - 5, Ctrl.ClientRectangle.Height - 5) End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5