02-05-20, 06:13 AM
جرّب هذا الكود بالفورم لود ..
كود :
Dim douX, douY As Double
Dim srtX, srtY As Short
douX = (Screen.PrimaryScreen.Bounds.Width - Me.Width) / 2
srtX = CShort(douX)
douY = (Screen.PrimaryScreen.Bounds.Height - Me.Height) / 2
srtY = CShort(douY)
Me.SetDesktopLocation(srtX, srtY)قناتنا على اليوتوب
