Search Results for

    Show / Hide Table of Contents

    Interface IMessage

    The window interface for displaying a message to the user.

    The MessageController is responsible for controlling this window

    Inherited Members
    IWindow.Controller
    IWindow.CloseWindow()
    IWindow.ShowDialog()
    IWindow.Show()
    IWindow.SetOwner(IWindow)
    Namespace: LemonEdge.Client.Core.Messages
    Assembly: ClientCore.dll
    Syntax
    public interface IMessage : IWindow

    Methods

    Init(IEnumerable<MessageButtonInfo>, String, String, ImageType)

    Initializes the message window with the parameters for displaying the message to the user

    Declaration
    void Init(IEnumerable<MessageButtonInfo> buttons, string header, string message, ImageType img)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<MessageButtonInfo> buttons

    A list of customizable buttons for displaying with the message

    System.String header

    The header/title for this message window

    System.String message

    The message itself that should be displayed to the user

    ImageType img

    The image to display along with the message

    InitController(MessageController)

    Provides the message controller for this window instance

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

    The controller used for this window

    Events

    OnButtonClicked

    An event raised by the window when one of the provided buttons in the Init(IEnumerable<MessageButtonInfo>, String, String, ImageType) call is pressed by the user

    Declaration
    event MessageButtonClicked OnButtonClicked
    Event Type
    Type Description
    MessageButtonClicked

    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.