Name | Description | |
---|---|---|
![]() | AssignHandle | (Inherited from System.Windows.Forms.NativeWindow) |
![]() | ClosePopup | Called when the popup is being hidden. |
![]() | CreateHandle | Creates a window and its handle with the specified creation parameters. (Inherited from System.Windows.Forms.NativeWindow) |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) |
![]() | DefWndProc | Invokes the default window procedure associated with this window. (Inherited from System.Windows.Forms.NativeWindow) |
![]() | DestroyHandle | Destroys the window and its handle. (Inherited from System.Windows.Forms.NativeWindow) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | ReleaseHandle | Releases the handle associated with this window. (Inherited from System.Windows.Forms.NativeWindow) |
![]() | ShowPopup | Shows the specified Form as a popup window, keeping the Owner's title bar active and preparing to cancel the popup should the user click anywhere outside the popup window.
Typical code to use this message is as follows: frmPopup popup = new frmPopup(); Point location = this.PointToScreen(new Point(button1.Left, button1.Bottom)); popupHelper.ShowPopup(this, popup, location);
Put as much initialization code as possible into the popup form's constructor, rather than the System.Windows.Forms.Form.Load event as this will improve the visual appearance. |