※ 引述《huggie (huggie)》之銘言:
: 我想要讓 form 位置開在螢幕右下角
: 請問這是要得到螢幕位置嗎? 還是要怎麼做?
: 那要怎麼設定呢?
Rectangle rect = Screen.GetWorkingArea(this);
this.Top = rect.Bottom - this.Height;
this.Left = rect.Right - this.Width;
this.StartPosition = FormStartPosition.Manual;
--
Try it :)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.216.36.132