944,093 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Marked Solved
  • Views: 489
  • C# RSS
Oct 30th, 2009
0

minmizing form size less than what it allows

Expand Post »
hello every one
i m trying to minimize the form size
but less than what it allows for me

if i do like this .. it is okey
this.Size = new Size(124, 36);

but less than these values for the width and length
it won't work..

i need to make it smaller..
im not sure if this problem makes sense
Reputation Points: 9
Solved Threads: 2
Light Poster
dima shawahneh is offline Offline
30 posts
since Sep 2009
Oct 30th, 2009
0
Re: minmizing form size less than what it allows
Hello.
Dunno if it will suit your problem, but as an option - you could remove the header of the window. That's gonna help you to set the size to whatever you want.
Reputation Points: 293
Solved Threads: 82
Posting Whiz
Antenka is offline Offline
361 posts
since Nov 2008
Oct 30th, 2009
0
Re: minmizing form size less than what it allows
thanks alot
i set FormBorderStyle property to None
and it really works

thanks again
Reputation Points: 9
Solved Threads: 2
Light Poster
dima shawahneh is offline Offline
30 posts
since Sep 2009
Oct 30th, 2009
0
Re: minmizing form size less than what it allows
You're welcome .. please, mark this thread as solved if we're done with you problem
Reputation Points: 293
Solved Threads: 82
Posting Whiz
Antenka is offline Offline
361 posts
since Nov 2008
Oct 30th, 2009
0
Re: minmizing form size less than what it allows
try this
Form1.Size = new System.Drawing.Size(100, 100);
Reputation Points: 13
Solved Threads: 1
Newbie Poster
sharensla is offline Offline
12 posts
since Apr 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: C# in .Net 3.5
Next Thread in C# Forum Timeline: SqlDatabase





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC