Search Results for

    Show / Hide Table of Contents

    Interface IMainform

    The main application window for the LemonEdge platform.

    Hosts the main menu commands, and a container for opening and displaying multiple contexts. See IModelLayouHost

    The MainFormController is responsible for controlling this window in the ui of the client application
    Inherited Members
    IModelLayouHost.LayoutsChanged
    IModelLayouHost.Controller
    IModelLayouHost.OnLayoutsChanged(LayoutChangeEventArgs)
    IModelLayouHost.DisplayItem(DisplayableItemDescriptor)
    IModelLayouHost.DisplaySingleLayoutItem(DisplayableItemDescriptor, DefaultLayoutGenerator)
    IModelLayouHost.SelectLayout(IModelLayoutDisplayer)
    IModelLayouHost.CloseLayout(IModelLayoutDisplayer)
    IModelLayoutCommon.Window
    IModelLayoutCommon.Refresh(Boolean)
    IModelLayoutCommon.GetHost()
    IModelLayoutCommon.Close(Boolean)
    IBusyReporter.DisplayBusy(String)
    IBusyReporter.StopBusy()
    IBusyReporter.IsBusy
    System.IDisposable.Dispose()
    IWindow.CloseWindow()
    IWindow.ShowDialog()
    IWindow.Show()
    IWindow.SetOwner(IWindow)
    Namespace: LemonEdge.Client.Core.Main
    Assembly: ClientCore.dll
    Syntax
    public interface IMainform : IModelLayouHost, IModelLayoutCommon, IBusyReporter, IDisposable, IWindow

    Methods

    CloseOwner()

    Closes the window that is the owner for this main form. This is typically just the Splashscreen when initially loading the application.

    Declaration
    void CloseOwner()

    InitController(MainFormController)

    Provides the instance of the controller for this window

    Declaration
    void InitController(MainFormController controller)
    Parameters
    Type Name Description
    MainFormController controller

    The controller that is responsible for this main form window

    LoadMainForm()

    Indicates the mainform should load all the menu commands for the currently logged in role and display the system

    Declaration
    Task LoadMainForm()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A task indicating the completion of the operation

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.