English 中文(简体)
比尔廷方法或财产,以便我们能够通过在形式上和形式上将rag泥分解,确定形式大小
原标题:Builtin method or property so that we can fix the form size by disabling the drag menu at both right and buttom side of form
  • 时间:2012-05-18 13:07:39
  •  标签:
  • c#
  • winforms

我们正在以窗户为基础开展工作。 我们正在设计的表格,如我们在电网中所使用的表格,使用<代码>IserviceProvider接口和BasicHost Loader抽象类别设计Winforms。

我们正在面临为设计商增加新形式的问题。 我们希望确定形式的规模,但正如在设计时间表上的缺省一样,我们无法确定形式。

我们增加了一种方法,以停止在<>Resize方法中重新定位,因此,我们再一次储存原来的面积,似乎形成规模不大的改变,同时拖累形式,但我们却想要使 d花菜 cur在右边和纽顿边界中心失去作用。

您能够建议任何内在的方法或财产,以便我们能够通过在形式上和表上将rag泥分解,确定形式规模。

问题回答

在你重新设计表格时,将<代码> 表格BorderStyle至Sizable。 如你想要大小,则将<编码>FormBorderStyle定型。





相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.

热门标签