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 = ...
///
 
Back
Top