By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,558 Members | 1,607 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,558 IT Pros & Developers. It's quick & easy.

Base form's properties gets changed by the inheriting form...

P: n/a
Hi,

I have a base form (FormBase), which defines things like the value of the
WindowState. Other forms inherit from this base form to reflect the layout
given in the base form.

Is there a way to prohibit the inheriting form to change the value of the
WindowState property?

Appreciate any input/approach.

thanks!
-Yasutaka

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yasutaka,

Try overwriting the property with "ReadOnly Shadows" property (VB.NET
syntax). Set the property itself after InitializeComponent().

--
Vadim Berman
www.Power-Components.NET
-----------------------------------------
Powerful components for powerful applications
"Yasutaka Ito" <no****@nonexistent.com> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Hi,

I have a base form (FormBase), which defines things like the value of the
WindowState. Other forms inherit from this base form to reflect the layout
given in the base form.

Is there a way to prohibit the inheriting form to change the value of the
WindowState property?

Appreciate any input/approach.

thanks!
-Yasutaka

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.