C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Windows Form - Resize at runtime problem


Posted Date: 05 Aug 2008      Total Responses: 3

Posted By: Ganesh Kumar       Member Level: Bronze     Points: 1


Hi,
I have developed a windows application in visual studio .net 2005. I noticed that i can able to resize the form at runtime.
I dont want to allow the users to resize the form at runtime.. any help? Thanks.




Responses

Author: Vishwanathan    06 Aug 2008Member Level: GoldRating:     Points: 4
Hi Ganesh,

Its very Simple. Go to ur form Design. Click Form and View its properties. set false to minimize box and Maximize Box. so at run time both boxes won't visible. User can't resize ur form.

I hope It may solve ur issue.

With Regards,

Vishwanathan Perumal



Author: Ganesh Kumar    06 Aug 2008Member Level: BronzeRating:     Points: 4
Hi,
Thanks for the response. Making the MinimizeBox and MaximizeBox of the form to false, wont solve my issue. My issue is, when u move the mouse to the border of the window form, it allow you to resize the form at runtime. I dont want this behaviour at runtime. can ayone help me? Thanks in advance.

Regards,
Ganesh Kumar.



Author: Ganesh Kumar    06 Aug 2008Member Level: BronzeRating:     Points: 3
Hi,
Yes. I found the answer. I changedthe "FormBorderStyle" property to "FixedSingle". It wont allow the user to resize the form at runtime. Thanks for all your help!

Regards,
Ganesh


Post Reply
You must Sign In to post a response.
Next : window form resize runtime
Previous : Web Browser in C#.Net 2.0 (Windows)
Return to Discussion Forum
Post New Message
Category: Windows

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

teleconferencing service

Contact Us    Privacy Policy    Terms Of Use