示例#1
0
 /// <summary>
 /// Creates a new ChatMessage.
 /// </summary>
 /// <param name="messageText">Message text</param>
 public ChatMessage(string messageText)
 {
     TextStyle   = new MessageTextStyle();
     MessageText = messageText;
 }
示例#2
0
 /// <summary>
 /// Creates a new ChatMessage.
 /// </summary>
 /// <param name="messageText">Message text</param>
 /// <param name="textStyle">Text style of this message</param>
 public ChatMessage(string messageText, MessageTextStyle textStyle)
 {
     TextStyle   = textStyle;
     MessageText = messageText;
 }
示例#3
0
 /// <summary>
 /// Creates a new ChatMessage.
 /// </summary>
 public ChatMessage()
 {
     TextStyle   = new MessageTextStyle();
     MessageText = "";
 }
示例#4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 private UserPreferences()
 {
     IsSoundOn = true;
     TextStyle = new MessageTextStyle();
 }
示例#5
0
 /// <summary>
 /// Creates a new ChatMessage.
 /// </summary>
 /// <param name="messageText">Message text</param>
 /// <param name="textStyle">Text style of this message</param>
 public ChatMessage(string messageText, MessageTextStyle textStyle)
 {
     TextStyle = textStyle;
     MessageText = messageText;
 }
示例#6
0
 /// <summary>
 /// Creates a new ChatMessage.
 /// </summary>
 /// <param name="messageText">Message text</param>
 public ChatMessage(string messageText)
 {
     TextStyle = new MessageTextStyle();
     MessageText = messageText;
 }
示例#7
0
 /// <summary>
 /// Creates a new ChatMessage.
 /// </summary>
 public ChatMessage()
 {
     TextStyle = new MessageTextStyle();
     MessageText = "";
 }