Name | Description | |
---|---|---|
![]() | AssignHandle | (Inherited from System.Windows.Forms.NativeWindow) |
![]() | ClosePopup | Called when the popup is being hidden. |
![]() | CreateHandle | (Inherited from System.Windows.Forms.NativeWindow) |
![]() | CreateObjRef | (Inherited from System.MarshalByRefObject) |
![]() | DefWndProc | (Inherited from System.Windows.Forms.NativeWindow) |
![]() | DestroyHandle | (Inherited from System.Windows.Forms.NativeWindow) |
![]() | GetLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | InitializeLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | ReleaseHandle | (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. |