自学还没成才的python猿
/// <summary> /// 设置窗体在屏幕的位置 /// </summary> public void WinPosition() { double ScreenWidth = System.Windows.SystemParameters.PrimaryScreenWidth;//WPF this.Top = this.ActualWidth / 5; this.Left = ScreenWidth - this.ActualWidth *1.3; }
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3