Namespace: Consultingwerk.Windows.Util.Forms
Class 
FullWindowDragManager Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:FullWindowDragManager
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Apr 03 17:57:26 CEST 2011



Top Method Summary
Options Name Purpose
# FormClosedHandler (Object, FormClosedEventArgs) Handles the FormClosed event of the managed Form
- MouseDownHandler (Object, MouseEventArgs) Start tracking of Mouse coordinates for MouseMove event handler
- MouseMoveHandler (Object, MouseEventArgs) Move the Form when mouse button is down
- MouseUpHandler (Object, MouseEventArgs) Stops tracking mouse movement for MouseMove event handler

Top Constructor Summary
Options Name Purpose
+ FullWindowDragManager (Control) Constructor of the FullWindowDragManager class.


Method Detail
Top

PROTECTED FormClosedHandler (Object, FormClosedEventArgs)

Purpose: Handles the FormClosed event of the managed Form
Notes: Deletes this instance

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

PRIVATE MouseDownHandler (Object, MouseEventArgs)

Purpose: Start tracking of Mouse coordinates for MouseMove event handler
Notes:

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

PRIVATE MouseMoveHandler (Object, MouseEventArgs)

Purpose: Move the Form when mouse button is down
Notes:

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

PRIVATE MouseUpHandler (Object, MouseEventArgs)

Purpose: Stops tracking mouse movement for MouseMove event handler
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.MouseEventArgs
The MouseEventArgs with the data for this event


Constructor Detail
Top

PUBLIC FullWindowDragManager (Control)

Purpose: Constructor of the FullWindowDragManager class.
Notes: Subscribes MouseDown, MouseMove and MouseUp events of the managed
control

Parameters:
poManagedControl System.Windows.Forms.Control
The reference to the Control which will be managed by this instance


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.08.2019 00:09:38