minmizing form size less than what it allows

Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Sep 2009
Posts: 17
Reputation: dima shawahneh is an unknown quantity at this point 
Solved Threads: 0
dima shawahneh dima shawahneh is offline Offline
Newbie Poster

minmizing form size less than what it allows

 
0
  #1
26 Days Ago
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 249
Reputation: Antenka has a spectacular aura about Antenka has a spectacular aura about Antenka has a spectacular aura about 
Solved Threads: 65
Antenka's Avatar
Antenka Antenka is offline Offline
Posting Whiz in Training
 
0
  #2
26 Days Ago
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.
So what if you can see the darkest side of me?
No one would ever change this animal I have become
Help me believe it's not the real me
Somebody help me tame this animal
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 17
Reputation: dima shawahneh is an unknown quantity at this point 
Solved Threads: 0
dima shawahneh dima shawahneh is offline Offline
Newbie Poster
 
0
  #3
26 Days Ago
thanks alot
i set FormBorderStyle property to None
and it really works

thanks again
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 249
Reputation: Antenka has a spectacular aura about Antenka has a spectacular aura about Antenka has a spectacular aura about 
Solved Threads: 65
Antenka's Avatar
Antenka Antenka is offline Offline
Posting Whiz in Training
 
0
  #4
26 Days Ago
You're welcome .. please, mark this thread as solved if we're done with you problem
So what if you can see the darkest side of me?
No one would ever change this animal I have become
Help me believe it's not the real me
Somebody help me tame this animal
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 7
Reputation: sharensla is an unknown quantity at this point 
Solved Threads: 1
sharensla sharensla is offline Offline
Newbie Poster
 
0
  #5
26 Days Ago
try this
Form1.Size = new System.Drawing.Size(100, 100);
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC