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 June 27th, 2007, 11:35 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default remove form properties

hi expert
i wanna to remove some Form properties such az maximizeBox or ControlBox and etc for creating my own Form
how can remove this properties ?
thanks
 
Old June 28th, 2007, 08:52 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

http://msdn2.microsoft.com/en-us/lib...roperties.aspx

MaximizeBox
MinimizeBox

-Peter
 
Old June 28th, 2007, 12:25 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ooooooooooooooo
you don't understand my aim

i don't want to write this.MinimizeBox=False;
or for MaximizeBox

i want to create a PersonalForm that some Properties don't appear on Property window

plz read more carful
ragards
 
Old June 28th, 2007, 10:47 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Huh?

Are you talking about writing your own windows forms control? The System.Windows.Forms.Form class exposes those properties to visual studio. I don't think you can remove them unless you create your own class and change the behavior.

-Peter
 
Old June 30th, 2007, 01:23 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes that's right
i want to create my own class with driven form class and then change the behavior of properties
haw can i do that?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Properties angelboy C# 2005 5 March 30th, 2008 09:44 AM
form properties angelboy C# 2005 2 April 13th, 2007 10:32 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.