Class PopupWindow
Namespace: FastReport.Olap.Controls
Assembly: FastCube.Mono.dll
Base class for popup window.
public class PopupWindow : Form
Inheritance
object ← MarshalByRefObject ← Component ← Control ← ScrollableControl ← ContainerControl ← Form ← PopupWindow
Derived
Constructors
PopupWindow(Form)
Creates a new instance.
public PopupWindow(Form ownerForm)
Parameters
ownerForm Form
Fields
statusBar
Status bar control.
protected Control statusBar
Field Value
Properties
DefaultSize
Gets default size.
protected override Size DefaultSize { get; }
Property Value
Options
Gets or sets options.
public PopupOptions Options { get; set; }
Property Value
UIStyle
Gets or sets user interface style.
public UIStyle UIStyle { get; set; }
Property Value
Methods
AddFooterButton(Image, bool, string, EventHandler)
Adds button to footer.
public Component AddFooterButton(Image img, bool isRight, string toolTip, EventHandler handler)
Parameters
img Image
isRight bool
toolTip string
handler EventHandler
Returns
ClearFooter()
Clears the footer.
public void ClearFooter()
CloseUp(bool)
Closes up.
public virtual void CloseUp(bool Cancel)
Parameters
Cancel bool
CreateContextMenu()
Creates a new context menu.
protected virtual ContextMenuStrip CreateContextMenu()
Returns
InitializeComponent()
Initialize component.
protected virtual void InitializeComponent()
OnDeactivate(EventArgs)
Raises the System.Windows.Forms.Form.Deactivate event.
protected override void OnDeactivate(EventArgs e)
Parameters
The System.EventArgs that contains the event data.
OnKeyDown(KeyEventArgs)
Raises the System.Windows.Forms.Control.KeyDown event.
protected override void OnKeyDown(KeyEventArgs e)
Parameters
A System.Windows.Forms.KeyEventArgs that contains the event data.
PopupAt(Point)
Popups at specified point.
public virtual void PopupAt(Point pt)
Parameters
pt Point
PopupAt(Control, Point)
Popups at specified point relative to control.
public virtual void PopupAt(Control ctl, Point pt)
Parameters
ctl Control
pt Point
PrepareContextMenuFor(ContextMenuStrip, object)
Prepeares context menu.
protected virtual void PrepareContextMenuFor(ContextMenuStrip menu, object Node)
Parameters
menu ContextMenuStrip
Node object
Show(Point)
Shows the form.
public void Show(Point pt)
Parameters
pt Point
The absolute screen location.
Show(Control, Point)
Shows the form.
public void Show(Control ctl, Point pt)
Parameters
ctl Control
The control which location is used as a reference for pt parameter.
pt Point
The location relative to the ctl control.
Show(Control, int, int)
Shows the form.
public void Show(Control ctl, int x, int y)
Parameters
ctl Control
The control which location is used as a reference for x, y parameters.
x int
The x position relative to the ctl control.
y int
The y position relative to the ctl control.
UpdateConstraints()
Updates constraints.
protected virtual void UpdateConstraints()
UpdateOptions()
Updates options.
protected void UpdateOptions()
UpdateUIStyle()
Updates user interface style.
protected virtual void UpdateUIStyle()