Class PopupWindow
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
PopupWindow
Namespace: FastReport.Olap.Controls
Assembly: FastReport.Olap.dll
Syntax
public class PopupWindow : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
PopupWindow(Form)
Declaration
public PopupWindow(Form ownerForm)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Form | ownerForm |
Fields
statusBar
Declaration
protected Control statusBar
Field Value
Type | Description |
---|---|
System.Windows.Forms.Control |
Properties
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Size |
Overrides
System.Windows.Forms.Form.DefaultSize
Options
Declaration
public PopupOptions Options { get; set; }
Property Value
Type | Description |
---|---|
PopupOptions |
UIStyle
Declaration
public UIStyle UIStyle { get; set; }
Property Value
Type | Description |
---|---|
UIStyle |
Methods
AddFooterButton(Image, Boolean, String, EventHandler)
Declaration
public Component AddFooterButton(Image img, bool isRight, string toolTip, EventHandler handler)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Image | img | |
System.Boolean | isRight | |
System.String | toolTip | |
System.EventHandler | handler |
Returns
Type | Description |
---|---|
System.ComponentModel.Component |
ClearFooter()
Declaration
public void ClearFooter()
CloseUp(Boolean)
Declaration
public virtual void CloseUp(bool Cancel)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | Cancel |
CreateContextMenu()
Declaration
protected virtual ContextMenuStrip CreateContextMenu()
Returns
Type | Description |
---|---|
System.Windows.Forms.ContextMenuStrip |
InitializeComponent()
Declaration
protected virtual void InitializeComponent()
OnDeactivate(EventArgs)
Declaration
protected override void OnDeactivate(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
System.Windows.Forms.Form.OnDeactivate(System.EventArgs)
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e |
Overrides
System.Windows.Forms.Control.OnKeyDown(System.Windows.Forms.KeyEventArgs)
PopupAt(Point)
Declaration
public virtual void PopupAt(Point pt)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | pt |
PopupAt(Control, Point)
Declaration
public virtual void PopupAt(Control ctl, Point pt)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctl | |
System.Drawing.Point | pt |
PrepareContextMenuFor(ContextMenuStrip, Object)
Declaration
protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, object Node)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ContextMenuStrip | menu | |
System.Object | Node |
Show(Point)
Shows the form.
Declaration
public void Show(Point pt)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | pt | The absolute screen location. |
Show(Control, Point)
Shows the form.
Declaration
public void Show(Control ctl, Point pt)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctl | The control which location is used as a reference for pt parameter. |
System.Drawing.Point | pt | The location relative to the ctl control. |
Show(Control, Int32, Int32)
Shows the form.
Declaration
public void Show(Control ctl, int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctl | The control which location is used as a reference for x, y parameters. |
System.Int32 | x | The x position relative to the ctl control. |
System.Int32 | y | The y position relative to the ctl control. |
UpdateConstraints()
Declaration
protected virtual void UpdateConstraints()
UpdateOptions()
Declaration
protected void UpdateOptions()
UpdateUIStyle()
Declaration
protected virtual void UpdateUIStyle()