Visual Studio 2005 (Ver 8.0.50727.42) / Framework 2.0.50727 / XP Pro
SP2
Given a Form, A, and another Form, B, that derives from A. Form A has 4
controls on it. When A.InitializeComponent (a compiler-generated
method) executes, those 4 controls are added to A's Controls collection
thusly:
this.Controls.Add(this.Control1);
The problem... Immediately prior to the above statement the control's
Visible property is True; immediately after the statement the control's
Visible property is False. Why?
When similar statements are executed for Form B the Visible property is
not changed on its controls.
--
// Lee Silver
// Information Concepts Inc.