Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

vb.net center form in screen

  Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    Me.Size = New System.Drawing.Size(400, 650)
    Me.CenterToScreen()
End Sub
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #center #form #screen
ADD COMMENT
Topic
Name
9+3 =