Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Package Attributes
Silverstone.Manticore.Toolkit.ManticoreDialog Class Reference

Dialog that centers itself with respect to opening window. More...

Inheritance diagram for Silverstone.Manticore.Toolkit.ManticoreDialog:
Inheritance graph

List of all members.

Public Member Functions

 ManticoreDialog (Form aOpener)
void VisibleChangedHandler (Object sender, EventArgs e)

Package Attributes

Form mOpener

Detailed Description

Dialog that centers itself with respect to opening window.

Definition at line 48 of file ManticoreDialog.cs.

Constructor & Destructor Documentation

Definition at line 52 of file ManticoreDialog.cs.

                                                   : base()
      mOpener = aOpener;
      // Add a new event handler that centers the dialog when the
      // visibility bit is flipped.
      this.VisibleChanged += new EventHandler(VisibleChangedHandler);

Here is the call graph for this function:

Member Function Documentation

Definition at line 61 of file ManticoreDialog.cs.

      this.Left = mOpener.Left + ((mOpener.Width / 2) - (this.Width / 2));
      this.Top = mOpener.Top + ((mOpener.Height / 2) - (this.Height / 2));

Member Data Documentation

Definition at line 50 of file ManticoreDialog.cs.

The documentation for this class was generated from the following file: