Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
223 views
in Technique[技术] by (71.8m points)

C#: making a form non-resizable

In order to make a form non-resizable I have set MaximumSize and MinimumSize to the same value.

The problem I have is that when the user points to the border of the form, the mouse pointer changes so that it look as though the form is resizable. Is is possible for this not to happen?

question from:https://stackoverflow.com/questions/5169131/c-making-a-form-non-resizable

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Set Form.FormBorderStyle to something else than Sizable.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...