Preventing user from moving form

Change the location to wherever you'd like the form to show up.

VB.NET:
	Private Sub Form1_Move(ByVal sender As System.Object, ByVal e As System.EventArgs) _
	Handles MyBase.Move

		MyBase.Location = New System.Drawing.Point(50, 50)

	End Sub
 
Back
Top