vb.net to the next level Imports System Imports - TopicsExpress



          

vb.net to the next level Imports System Imports System.Drawing Imports System.Windows.Forms Public Class HelloWindows Inherits Form Private lblHelloWindows As Label Public Shared Sub Main( ) Application.Run(New HelloWindows( )) End Sub Public Sub New( ) lblHelloWindows = New Label( ) With lblHelloWindows .Location = New Point(37, 31) .Size = New Size(392, 64) .Font = New Font(Arial, 36) .Text = Hello, Windows! .TabIndex = 0 .TextAlign = ContentAlignment.TopCenter End With Me.Text = Programming Visual Basic .NET AutoScaleBaseSize = New Size(5, 13) FormBorderStyle = FormBorderStyle.FixedSingle ClientSize = New Size(466, 127) Controls.Add(lblHelloWindows) End Sub End Class
Posted on: Wed, 29 Jan 2014 12:33:40 +0000

Trending Topics



Recently Viewed Topics




© 2015