private void UpdateButton_Click(object sender, RoutedEventArgs e) { Messages m = new Messages(this.Session); m.PostMessage(UpdateText.Text); // m.CompletedPost += ; // Storyboard Start UpdateText.Text = string.Empty; }
void ReplyPanelReplyButton_Click(object sender, RoutedEventArgs e) { Messages messages = new Messages(this.Session); messages.PostMessage(this.ReplyPanel.ReplyText.Text, this.ReplyPanel.ReplyID); this.ReplyPanel.ReplyText.Text = string.Empty; this.ReplyPanel.Visibility = Visibility.Collapsed; TabControlMessages.Opacity = 1.0; TabControlMessages.IsEnabled = true; }