2012-05-16 112 views
-1

我有下面一行從我的窗體中刪除所有邊框。是否可以將窗體拖到屏幕的不同部分。例如,通過添加某種隱藏的酒吧,我可以拖動的停止?移動一個沒有狀態欄的窗體,邊框樣式

下面是我用隱藏邊框

this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; 

感謝代碼,

+0

可能重複:http://stackoverflow.com/questions/30184 –

+0

的可能重複[ Winforms - 單擊/拖動窗體中的任意位置以將其移動,就像在表單標題中單擊](http://stackoverflow.com/questions/30184/winforms-click-drag-anywhere-in-the-form-to-move - 它-AS-IF-點擊的內式形式) –

回答