C# Class FSO.Client.UI.Panels.UIMessage

Inheritance: FSO.Client.UI.Framework.UIContainer
Datei anzeigen Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Author MessageAuthor
MessageType UIMessageType
Messages List

Public Methods

Method Description
AddMessage ( string name, string message ) : void
RenderMessages ( ) : void
SetEmail ( string subject, string message ) : void
SetMessageAuthor ( MessageAuthor author ) : void
SetType ( UIMessageType type ) : void
UIMessage ( UIMessageType type, MessageAuthor author ) : System

Creates a new UIMessage instance.

Private Methods

Method Description
CloseButton_OnButtonClick ( UIElement button ) : void

User closed the UIMessage window.

MessageTextEdit_OnChange ( UIElement TextEdit ) : void
RespondLetterButton_OnButtonClick ( UIElement button ) : void
SendLetter ( UIElement button ) : void
SendMessage ( UIElement button ) : void
SendMessageEnter ( UIElement element ) : void

Method Details

AddMessage() public method

public AddMessage ( string name, string message ) : void
name string
message string
return void

RenderMessages() public method

public RenderMessages ( ) : void
return void

SetEmail() public method

public SetEmail ( string subject, string message ) : void
subject string
message string
return void

SetMessageAuthor() public method

public SetMessageAuthor ( MessageAuthor author ) : void
author MessageAuthor
return void

SetType() public method

public SetType ( UIMessageType type ) : void
type UIMessageType
return void

UIMessage() public method

Creates a new UIMessage instance.
public UIMessage ( UIMessageType type, MessageAuthor author ) : System
type UIMessageType The type of message (IM, compose or read).
author MessageAuthor Author if type is read or IM, recipient if type is compose.
return System

Property Details

Author public_oe property

public MessageAuthor,FSO.Client.UI.Panels Author
return MessageAuthor

MessageType public_oe property

public UIMessageType MessageType
return UIMessageType

Messages public_oe property

public List Messages
return List