Dim btn As New Button btn.Text="ONE" btn.Name="ONE" btn.FlatStyle = FlatStyle.Flat btn.BackColor = Color.Transparent btn.Font = New Font("Segoe UI", 9.0) btn.Font = New Font(btn.Font, FontStyle.Bold) btn.FlatAppearance.MouseOverBackColor = Color.Transparent btn.FlatAppearance.MouseDownBackColor = Color.Transparent btn.Width = 60 'By default width is 60 btn.Height = 40 'By default height is 40
btn.Size = new Size(width, height)
btn.Width = width btn.Height = height
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)