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 UI of the LightBox Form
# 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 Gets and sets the number of pixles from the top that the LightboxForm is using to provide access to Controls at the top of the overlaid Form
+ Progress.Windows.Form OverlaidForm Returns the reference to the Overlaid Form
+ LOGICAL OverlaidFormHasRibbon Returns the reference to the Overlaid Form


Method Detail
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the UI of the LightBox Form
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 Lightbox
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 Lightbox
piCustomOffset INTEGER
The number of pixles 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

Purpose: Gets and sets the number of pixles from the top that the LightboxForm
is using to provide access to Controls at the top of the overlaid
Form
Notes:

Returns INTEGER
Top

PUBLIC Progress.Windows.Form OverlaidForm

Purpose: Returns the reference to the Overlaid Form
Notes:

Returns Progress.Windows.Form
Top

PUBLIC LOGICAL OverlaidFormHasRibbon

Purpose: Returns the reference to the Overlaid Form
Notes:

Returns LOGICAL


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:54:52