C# Class PresentationControls.Popup

Afficher le fichier Open project: lallousx86/WEPExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
LastClosedTimeStamp DateTime

Méthodes publiques

Méthode Description
PaintSizeGrip ( PaintEventArgs e ) : void

Paints the size grip.

Popup ( Control content ) : System

Initializes a new instance of the PopupControl.Popup class.

Pop-up will be disposed immediately after disposion of the content control.

Show ( Control control ) : void

Shows pop-up window below the specified control.

When there is no space below the specified control, the pop-up control is shown above it.

Show ( Control control, Rectangle area ) : void

Shows pop-up window below the specified area of specified control.

When there is no space below specified area, the pop-up control is shown above it.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosed ( ToolStripDropDownClosedEventArgs e ) : void
OnOpened ( EventArgs e ) : void

Raises the E:System.Windows.Forms.ToolStripDropDown.Opened event.

OnOpening ( CancelEventArgs e ) : void

Raises the E:System.Windows.Forms.ToolStripDropDown.Opening event.

OnSizeChanged ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Control.SizeChanged event.

OnVisibleChanged ( EventArgs e ) : void
ProcessDialogKey ( Keys keyData ) : bool

Processes a dialog box key.

SetVisibleCore ( bool visible ) : void

Adjusts the size of the owner T:System.Windows.Forms.ToolStrip to accommodate the T:System.Windows.Forms.ToolStripDropDown if the owner T:System.Windows.Forms.ToolStrip is currently displayed, or clears and resets active T:System.Windows.Forms.ToolStripDropDown child controls of the T:System.Windows.Forms.ToolStrip if the T:System.Windows.Forms.ToolStrip is not currently displayed.

UpdateRegion ( ) : void

Updates the pop-up region.

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InternalProcessResizing ( Message &m, bool contentControl ) : bool
OnGetMinMaxInfo ( Message &m ) : bool
OnNcHitTest ( Message &m, bool contentControl ) : bool
ProcessResizing ( Message &m ) : bool
SetOwnerItem ( Control control ) : void
WndProc ( Message &m ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

OnClosed() protected méthode

protected OnClosed ( ToolStripDropDownClosedEventArgs e ) : void
e ToolStripDropDownClosedEventArgs
Résultat void

OnOpened() protected méthode

Raises the E:System.Windows.Forms.ToolStripDropDown.Opened event.
protected OnOpened ( EventArgs e ) : void
e EventArgs An that contains the event data.
Résultat void

OnOpening() protected méthode

Raises the E:System.Windows.Forms.ToolStripDropDown.Opening event.
protected OnOpening ( CancelEventArgs e ) : void
e CancelEventArgs A that contains the event data.
Résultat void

OnSizeChanged() protected méthode

Raises the E:System.Windows.Forms.Control.SizeChanged event.
protected OnSizeChanged ( EventArgs e ) : void
e EventArgs An that contains the event data.
Résultat void

OnVisibleChanged() protected méthode

protected OnVisibleChanged ( EventArgs e ) : void
e EventArgs
Résultat void

PaintSizeGrip() public méthode

Paints the size grip.
public PaintSizeGrip ( PaintEventArgs e ) : void
e PaintEventArgs The instance containing the event data.
Résultat void

Popup() public méthode

Initializes a new instance of the PopupControl.Popup class.
Pop-up will be disposed immediately after disposion of the content control.
is null.
public Popup ( Control content ) : System
content Control The content of the pop-up.
Résultat System

ProcessDialogKey() protected méthode

Processes a dialog box key.
protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys One of the values that represents the key to process.
Résultat bool

SetVisibleCore() protected méthode

Adjusts the size of the owner T:System.Windows.Forms.ToolStrip to accommodate the T:System.Windows.Forms.ToolStripDropDown if the owner T:System.Windows.Forms.ToolStrip is currently displayed, or clears and resets active T:System.Windows.Forms.ToolStripDropDown child controls of the T:System.Windows.Forms.ToolStrip if the T:System.Windows.Forms.ToolStrip is not currently displayed.
protected SetVisibleCore ( bool visible ) : void
visible bool true if the owner is currently displayed; otherwise, false.
Résultat void

Show() public méthode

Shows pop-up window below the specified control.
When there is no space below the specified control, the pop-up control is shown above it.
is null.
public Show ( Control control ) : void
control Control The control below which the pop-up will be shown.
Résultat void

Show() public méthode

Shows pop-up window below the specified area of specified control.
When there is no space below specified area, the pop-up control is shown above it.
is null.
public Show ( Control control, Rectangle area ) : void
control Control The control used to compute screen location of specified area.
area Rectangle The area of control below which the pop-up will be shown.
Résultat void

UpdateRegion() protected méthode

Updates the pop-up region.
protected UpdateRegion ( ) : void
Résultat void

Property Details

LastClosedTimeStamp public_oe property

public DateTime LastClosedTimeStamp
Résultat DateTime