C#窗体改变大小后依然显示在屏幕中央。

this.Left = (DeskWidth - this.Width) / 2;

this.Top=(DeskHeight - this.Height) / 2;

posted @ 2013-06-08 12:05  oooo0oooo0  阅读(291)  评论(0编辑  收藏  举报