• C# 子窗体居中父窗体


    1.设置CenterParent不管用。只好用代码控制。  

       frmRunning_ = new FrmRunning();           
       frmRunning_.StartPosition = FormStartPosition.Manual;
       frmRunning_.Location = new Point(this.Location.X + this.Width / 2 - frmRunning_.Width / 2, this.Location.Y + this.Height / 2 - frmRunning_.Height / 2);
  • 相关阅读:
    Milk Patterns POJ
    Musical Theme POJ
    iOS
    iOS
    iOS
    iOS
    iOS
    iOS
    runloop
    OC -网络请求
  • 原文地址:https://www.cnblogs.com/ike_li/p/12022756.html
Copyright © 2020-2023  润新知