예제 #1
0
 public StickerControl(ConversationBoxControl conversationControl, string source)
 {
     InitializeComponent();
     ConversationControl = conversationControl;
     Source = source;
     ImageBehavior.SetAnimatedSource(StickerContent, Ultilities.ConvertBase64StringToBitmapImage(source));
 }
예제 #2
0
 public EmojiControl(CHAT_WPF.GUIs.ConversationBoxControl conversationControl, KeyValuePair <string, string> emoji)
 {
     InitializeComponent();
     Emoji = emoji;
     ConversationControl = conversationControl;
     EmojiContent.Text   = Emoji.Value;
     EmojiBorder.ToolTip = new ToolTip()
     {
         Content = emoji.Key
     };
 }