C# Класс FSO.Client.UI.Panels.UIMessageController

A controller for messages.
Наследование: FSO.Client.UI.Framework.UIContainer
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
MessageWindows List
PendingEmails List

Открытые методы

Метод Описание
MCUpdate ( UpdateState update ) : void
OpenEmail ( MessageAuthor sender, string subject, string message ) : void

Opens mail without the confirmation dialog. Use when manually opening mail from the inbox.

PassEmail ( MessageAuthor sender, string subject, string message ) : void

Brings up a "You've got mail!" dialog and upon confirming that you want to see it, opens the message. If multiple messages are recieved while the dialog is open it will be updated.

PassMessage ( MessageAuthor Sender, string Message ) : void

Display an IM message in its currently open window. If there is no window, this will create a new one.

RemoveMessageGroup ( UIMessageGroup grp ) : void

Remove a UIMessageGroup from the Message UI.

ReorderIcons ( ) : void

Fix order of UIMessageGroup minimized icons. Called after every message minimize/restore/creation/deletion.

SendLetter ( string message, string subject, string destinationUser ) : void

Fires OnSendLetter event with the passed letter.

SendMessage ( string message, string GUID ) : void

Fires OnSendMessage event with the passed message.

UIMessageController ( ) : System

Приватные методы

Метод Описание
GetMessageGroup ( string name, UIMessageType type ) : UIMessageGroup

Get the first message group with the specified recipient name and type.

Описание методов

MCUpdate() публичный Метод

public MCUpdate ( UpdateState update ) : void
update FSO.Common.Rendering.Framework.Model.UpdateState
Результат void

OpenEmail() публичный Метод

Opens mail without the confirmation dialog. Use when manually opening mail from the inbox.
public OpenEmail ( MessageAuthor sender, string subject, string message ) : void
sender MessageAuthor
subject string
message string
Результат void

PassEmail() публичный Метод

Brings up a "You've got mail!" dialog and upon confirming that you want to see it, opens the message. If multiple messages are recieved while the dialog is open it will be updated.
public PassEmail ( MessageAuthor sender, string subject, string message ) : void
sender MessageAuthor
subject string
message string
Результат void

PassMessage() публичный Метод

Display an IM message in its currently open window. If there is no window, this will create a new one.
public PassMessage ( MessageAuthor Sender, string Message ) : void
Sender MessageAuthor
Message string
Результат void

RemoveMessageGroup() публичный Метод

Remove a UIMessageGroup from the Message UI.
public RemoveMessageGroup ( UIMessageGroup grp ) : void
grp UIMessageGroup
Результат void

ReorderIcons() публичный Метод

Fix order of UIMessageGroup minimized icons. Called after every message minimize/restore/creation/deletion.
public ReorderIcons ( ) : void
Результат void

SendLetter() публичный Метод

Fires OnSendLetter event with the passed letter.
public SendLetter ( string message, string subject, string destinationUser ) : void
message string
subject string
destinationUser string
Результат void

SendMessage() публичный Метод

Fires OnSendMessage event with the passed message.
public SendMessage ( string message, string GUID ) : void
message string
GUID string
Результат void

UIMessageController() публичный Метод

public UIMessageController ( ) : System
Результат System

Описание свойств

MessageWindows публичное свойство

public List MessageWindows
Результат List

PendingEmails публичное свойство

public List PendingEmails
Результат List