How to resize win form?

  • Thread starter Thread starter jiangyh
  • Start date Start date
J

jiangyh

hi there:

I have a win from that set then set the FormBorderStyle property to
None.My question is how to resize windows form at run time.
 
You can not modify Size property of a Form directly. You have to do
either this.Size = new Size(900,800) or probably need to deal this.Width
and this.Height properties such that, this.Width = 900; this.Height =
800;

Maqsood Ahmed
Kolachi Advanced Technologies
http://www.kolachi.net
 
jiangyh said:
I have a win from that set then set the FormBorderStyle
property to None.My question is how to resize windows form at
run time.

\\\
Me.Height = ...
Me.Width = ...
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Resize form w/out border 4
Resizing Form 1
How to customize the form 1
MDI form question. 2
Form position when maximized. 4
what is control boxes 2
Dialog still resizeable? 2
SizeableToolWindow 2

Back
Top