0
我需要調整自己的狀態,並使其佔據了屏幕80%的80%,目前,這是我一直調整大小和中心的形式屏幕
Dim Sw As Integer = CInt(Screen.PrimaryScreen.Bounds.Width * 0.8)
Dim Sh As Integer = CInt(Screen.PrimaryScreen.Bounds.Height * 0.8)
Dim nTaskBarHeight As Integer = Screen.PrimaryScreen.Bounds.Bottom - Screen.PrimaryScreen.WorkingArea.Bottom
Me.Size = New Size(Sw, Sh - nTaskBarHeight)
但它沒有中心,任何人都可以幫幫我?
感謝的是,它給了我什麼,我真的需要一個想法,做 – Smith
樂意效勞 :) – Anton