public StickerControl(ConversationBoxControl conversationControl, string source) { InitializeComponent(); ConversationControl = conversationControl; Source = source; ImageBehavior.SetAnimatedSource(StickerContent, Ultilities.ConvertBase64StringToBitmapImage(source)); }
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 }; }