コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: changman/yammyy
 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;
 }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: changman/yammyy
        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;
        }