Dim iWidth As Integer = Screen.PrimaryScreen.Bounds.Width Dim iHeight As Integer = Screen.PrimaryScreen.Bounds.Height Me.Width = iWidth Me.Height = iHeight Me.Location = New System.Drawing.Point(0, 0)
You can add this snippet in Form_Load sub
Visual Studio .NET Tips and Tricks, VB.NET Code Samples, C# Code Snippets, ASP.NET Code Samples, .NET Tips and Tricks, C# Tips & Tricks, Visual Studio 2010, .NET Framework Code Samples, VB.NET Tips & Tricks
Dim iWidth As Integer = Screen.PrimaryScreen.Bounds.Width Dim iHeight As Integer = Screen.PrimaryScreen.Bounds.Height Me.Width = iWidth Me.Height = iHeight Me.Location = New System.Drawing.Point(0, 0)
You can add share your interview questions here.
ReplyDelete