Namespace: Consultingwerk.Forms
Class 
MDIContainer Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasSecurityKey, Consultingwerk.Framework.IMDIContainer

File:MDIContainer
Purpose:Base class for .NET MDI Container Forms
Description:Manages the Text (Title) of the MDI Container form in a
way that it does also contain the Text (Title) of the
current active MDI Child
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri May 08 09:45:12 CEST 2009



Top Method Summary
Options Name Purpose
ActivateWindowTitleEventHandler () Activate MdiChildActivate and TextChanged event handlers. This is required to circumvent issues (frozen app) that may occur while changing the MdiContainer title (Text property) in the middle of the process of embedding (before the embedded window has been fully realized as an MDI child).
DeactivateWindowTitleEventHandler () Deactivate MdiChildActivate and TextChanged event handlers. This is required to circumvent issues (frozen app) that may occur while changing the MdiContainer title (Text property) in the middle of the process of embedding (before the embedded window has been fully realized as an MDI child).
MdiChildActivateHandler () Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
MdiChildActivateHandler (Object, EventArgs) Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
MdiChildFormClosedHandler (Object, FormClosedEventArgs) Removes the MdiChild from the list of Forms
MdiChildFormTextChangedHandler (Object, EventArgs) Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
TextChangedHandler (Object, EventArgs) Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
UpdateTitleWithMdiChild () Udpate MdiContainer Text (title bar) with Text from the current active MdiChild Form and the original text of the Mdi Container.

Top Constructor Summary
Options Name Purpose
MDIContainer () Constructor for the MDIContainer class


Method Detail
Top

ActivateWindowTitleEventHandler ()

Purpose: Activate MdiChildActivate and TextChanged event handlers. This
is required to circumvent issues (frozen app) that may occur while
changing the MdiContainer title (Text property) in the middle of
the process of embedding (before the embedded window has been
fully realized as an MDI child).
Notes: Future releases of OpenEdge (bug fixes) may enable us to remove
this method. It's not intended for public use!

Top

DeactivateWindowTitleEventHandler ()

Purpose: Deactivate MdiChildActivate and TextChanged event handlers. This
is required to circumvent issues (frozen app) that may occur while
changing the MdiContainer title (Text property) in the middle of
the process of embedding (before the embedded window has been
fully realized as an MDI child).
Notes: Future releases of OpenEdge (bug fixes) may enable us to remove
this method. It's not intended for public use!

Top

MdiChildActivateHandler ()

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Invokes the private MdiChildActiveHandler event handler method
with unknown values for both parameters.

Top

MdiChildActivateHandler (Object, EventArgs)

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Event handler for the Activate event of the MdiChilds

Parameters:
sender System.Object
System.Object that raised the Activate event
e System.EventArgs
Default .NET event argument instance
Top

MdiChildFormClosedHandler (Object, FormClosedEventArgs)

Purpose: Removes the MdiChild from the list of Forms
Notes: Event handler for the Closed event of the MdiChilds

Parameters:
sender System.Object
System.Object that raised the Closed event
e System.Windows.Forms.FormClosedEventArgs
.NET FormClosedEventArgs event argument instance
Top

MdiChildFormTextChangedHandler (Object, EventArgs)

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Invoked when the Text property of the MDI Child is changed .

Parameters:
sender System.Object
System.Object that raised the TextChanged event
e System.EventArgs
Default .NET EventArgs event argument instance
Top

TextChangedHandler (Object, EventArgs)

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Invoked when the Text property of the MDI Container is changed.

Parameters:
sender System.Object
System.Object that raised the TextChanged event
e System.EventArgs
Default .NET EventArgs event argument instance
Top

UpdateTitleWithMdiChild ()

Purpose: Udpate MdiContainer Text (title bar) with Text from the current
active MdiChild Form and the original text of the Mdi Container.
Notes:



Constructor Detail
Top

MDIContainer ()

Purpose: Constructor for the MDIContainer class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:21:19