Search Results for

    Show / Hide Table of Contents

    Class EvergineForm

    Default Rendering Form.

    Inheritance
    object
    MarshalByRefObject
    Component
    Control
    ScrollableControl
    ContainerControl
    Form
    EvergineForm
    Implements
    ISynchronizeInvoke
    IComponent
    IDisposable
    Inherited Members
    Component.Dispose()
    Component.Dispose(bool)
    Component.GetService(Type)
    Component.ToString()
    Component.CanRaiseEvents
    Component.Events
    Component.Site
    Component.Container
    Component.DesignMode
    Component.Disposed
    MarshalByRefObject.MemberwiseClone(bool)
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.CreateObjRef(Type)
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Evergine.Forms
    Assembly: Evergine.Forms.dll
    Syntax
    public class EvergineForm : Form, ISynchronizeInvoke, IComponent, IDisposable

    Constructors

    EvergineForm()

    Initializes a new instance of the EvergineForm class.

    Declaration
    public EvergineForm()

    EvergineForm(string, int, int)

    Initializes a new instance of the EvergineForm class.

    Declaration
    public EvergineForm(string text, int width, int height)
    Parameters
    Type Name Description
    string text

    The text.

    int width

    Windows width.

    int height

    Windows height.

    Properties

    AllowUserResizing

    Gets or sets a value indicating whether this form can be resized by the user. See remarks.

    Declaration
    public bool AllowUserResizing { get; set; }
    Property Value
    Type Description
    bool

    true if this form can be resized by the user (by default); otherwise, false.

    Remarks

    This property alters FormBorderStyle, for true value it is Sizable, for false - FixedSingle.

    IsFullscreen

    Gets or sets a value indicating whether gets or sets a value indicationg whether the current render form is in fullscreen mode. See remarks.

    Declaration
    public bool IsFullscreen { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    If Toolkit is used, this property is set automatically, otherwise user should maintain it himself as it affects the behavior of AllowUserResizing property.

    KeyboardDispatcher

    Gets dispatch keyboard events associated to a window.

    Declaration
    public FormsKeyboardDispatcher KeyboardDispatcher { get; }
    Property Value
    Type Description
    FormsKeyboardDispatcher

    MouseDispatcher

    Gets dispatch mouse events associated to a window.

    Declaration
    public FormsMouseDispatcher MouseDispatcher { get; }
    Property Value
    Type Description
    FormsMouseDispatcher

    TouchDispatcher

    Gets dispatch pointer events associated to a window.

    Declaration
    public FormsTouchDispatcher TouchDispatcher { get; }
    Property Value
    Type Description
    FormsTouchDispatcher

    Methods

    OnClientSizeChanged(EventArgs)

    Declaration
    protected override void OnClientSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e
    Overrides
    Control.OnClientSizeChanged(EventArgs)

    OnHandleCreated(EventArgs)

    Declaration
    protected override void OnHandleCreated(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e
    Overrides
    Form.OnHandleCreated(EventArgs)

    OnLoad(EventArgs)

    Raises the Load event.

    Declaration
    protected override void OnLoad(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    An EventArgs that contains the event data.

    Overrides
    Form.OnLoad(EventArgs)

    OnPaintBackground(PaintEventArgs)

    Paints the background of the control.

    Declaration
    protected override void OnPaintBackground(PaintEventArgs e)
    Parameters
    Type Name Description
    PaintEventArgs e

    A PaintEventArgs that contains the event data.

    Overrides
    ScrollableControl.OnPaintBackground(PaintEventArgs)

    OnResizeBegin(EventArgs)

    Raises the ResizeBegin event.

    Declaration
    protected override void OnResizeBegin(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    A EventArgs that contains the event data.

    Overrides
    Form.OnResizeBegin(EventArgs)

    OnResizeEnd(EventArgs)

    Raises the ResizeEnd event.

    Declaration
    protected override void OnResizeEnd(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    A EventArgs that contains the event data.

    Overrides
    Form.OnResizeEnd(EventArgs)

    ProcessDialogKey(Keys)

    Declaration
    protected override bool ProcessDialogKey(Keys keyData)
    Parameters
    Type Name Description
    Keys keyData
    Returns
    Type Description
    bool
    Overrides
    Form.ProcessDialogKey(Keys)

    WndProc(ref Message)

    Override windows message loop handling.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    Message m

    The Windows Message to process.

    Overrides
    Form.WndProc(ref Message)

    Events

    AppActivated

    Occurs when [app activated].

    Declaration
    public event EventHandler<EventArgs> AppActivated
    Event Type
    Type Description
    EventHandler<EventArgs>

    AppDeactivated

    Occurs when [app deactivated].

    Declaration
    public event EventHandler<EventArgs> AppDeactivated
    Event Type
    Type Description
    EventHandler<EventArgs>

    MonitorChanged

    Occurs when [monitor changed].

    Declaration
    public event EventHandler<EventArgs> MonitorChanged
    Event Type
    Type Description
    EventHandler<EventArgs>

    PauseRendering

    Occurs when [pause rendering].

    Declaration
    public event EventHandler<EventArgs> PauseRendering
    Event Type
    Type Description
    EventHandler<EventArgs>

    ResumeRendering

    Occurs when [resume rendering].

    Declaration
    public event EventHandler<EventArgs> ResumeRendering
    Event Type
    Type Description
    EventHandler<EventArgs>

    Screensaver

    Occurs when [screensaver].

    Declaration
    public event EventHandler<CancelEventArgs> Screensaver
    Event Type
    Type Description
    EventHandler<CancelEventArgs>

    SystemResume

    Occurs when [system resume].

    Declaration
    public event EventHandler<EventArgs> SystemResume
    Event Type
    Type Description
    EventHandler<EventArgs>

    SystemSuspend

    Occurs when [system suspend].

    Declaration
    public event EventHandler<EventArgs> SystemSuspend
    Event Type
    Type Description
    EventHandler<EventArgs>

    UserResized

    Occurs when [user resized].

    Declaration
    public event EventHandler<EventArgs> UserResized
    Event Type
    Type Description
    EventHandler<EventArgs>

    Implements

    ISynchronizeInvoke
    IComponent
    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX