Namespace: Consultingwerk.Windows.Util.Forms
Class 
LightBoxForm Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.Form

File:LightBoxForm
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Oct 08 13:04:09 CEST 2012
Notes:This Form purposely does not inherit from the Consultingwerk
BaseForm class - as it's only technically a Form (other
Container Controls do not support semi-transparency).
None of the BaseForm features, such as storing the
Windows Position in the Registry is required here.



Top Method Summary
Options Name Purpose
- InitializeComponent () Initializes the Visual Design
# MoveMe () Moves the LightBox Form to match the location of the overlaid Form
+ OverlaidForm_Move (Object, EventArgs) Event handler for the Move event of the overlaid form
+ OverlaidForm_ResizeEnd (Object, EventArgs) Event handler for the ResizeEnd event of the overlaid form
# ResizeMe () Resizes the LightBox Form to match the size the overlaid Form

Top Constructor Summary
Options Name Purpose
+ LightBoxForm () Constructor of the LightBoxForm class.
+ LightBoxForm (Form) Constructor of the LightBoxForm class.
+ LightBoxForm (Form, integer) Constructor of the LightBoxForm class.

Top Property Summary
Options Name Purpose
+ INTEGER CustomOffset
+ Progress.Windows.Form OverlaidForm
+ LOGICAL OverlaidFormHasRibbon


Method Detail
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED MoveMe ()

Purpose: Moves the LightBox Form to match the location of the overlaid Form
Notes:

Top

PUBLIC OverlaidForm_Move (Object, EventArgs)

Purpose: Event handler for the Move event of the overlaid form
Notes:

Parameters:
poSender System.Object
The reference to the object that raised the event
poArgs System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC OverlaidForm_ResizeEnd (Object, EventArgs)

Purpose: Event handler for the ResizeEnd event of the overlaid form
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED ResizeMe ()

Purpose: Resizes the LightBox Form to match the size the overlaid Form
Notes:



Constructor Detail
Top

PUBLIC LightBoxForm ()

Purpose: Constructor of the LightBoxForm class.
Notes: This Constructor is typically used for Testing purposes only

Top

PUBLIC LightBoxForm (Form)

Purpose: Constructor of the LightBoxForm class.
Notes:

Parameters:
poOverlaidForm Progress.Windows.Form
The reference to the Form which is overlaid by the Light box
Top

PUBLIC LightBoxForm (Form, integer)

Purpose: Constructor of the LightBoxForm class.
Notes:

Parameters:
poOverlaidForm Progress.Windows.Form
The reference to the Form which is overlaid by the Light box
piCustomOffset INTEGER
The number of pixels from the top that the LightBoxForm is using to provide access to Controls at the top of the overlaid Form


Property Detail
Top

PUBLIC INTEGER CustomOffset


Returns INTEGER
Top

PUBLIC Progress.Windows.Form OverlaidForm


Returns Progress.Windows.Form
Top

PUBLIC LOGICAL OverlaidFormHasRibbon


Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.09.2024 18:39:52