Torna al Thread

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing My.Settings.pX = Math.Abs(Me.AutoScrollPosition.X) My.Settings.pY = Math.Abs(Me.AutoScrollPosition.Y) End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.AutoScrollPosition = New Point(My.Settings.pX, My.Settings.pY) End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5