Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 8th, 2007, 04:38 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default form properties

hi expert
as all you know the form in C# has minimum box propertis that make you to enable or disable minimize button of form
similarly MaximumBox property is for enableing or disableing maximize button of form
and controlBox property make you to disable or enable al of the buttons(minimze ,maximize and close buttons),

know i want to know how can i disable close button of form but maximize button and minimize button set to enable

can any one help me?
regards
kiani,mahdi
 
Old April 8th, 2007, 10:48 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I don't think you can...

-Peter
 
Old April 13th, 2007, 10:32 PM
Authorized User
 
Join Date: Apr 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you can't that kinda sucks because in some situation that may be useful. There has to be a way...

If only computers could write programs themselves...





Similar Threads
Thread Thread Starter Forum Replies Last Post
remove form properties angelboy C# 2005 4 June 30th, 2007 01:23 PM
Use form properties before .Show() rolandatem General .NET 1 February 13th, 2006 05:03 PM
How to handle control properties in a form Birger Excel VBA 8 January 28th, 2005 10:45 AM
Form Location Properties tlwaltz BOOK: Access 2003 VBA Programmer's Reference 0 August 21st, 2004 07:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.