コード例 #1
0
        private void btnReply_Click(object sender, RoutedEventArgs e)
        {
            ShowDoc sd = new ShowDoc();

            sd.Show();
            Details ReplyDoc = task.GetReplyDocument(RepliedNumber);

            sd.OpenWindow(ReplyDoc);
        }
コード例 #2
0
 private void listdoc_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (listdoc.SelectedIndex == -1)
     {
         return;
     }
     else
     {
         Details doc = listdoc.SelectedItem as Details;
         ShowDoc sd  = new ShowDoc();
         sd.Id = doc.Id;
         sd.Show();
     }
 }
コード例 #3
0
 private void cmDetails_Click(object sender, RoutedEventArgs e)
 {
     if (listdoc.SelectedIndex == -1)
     {
         return;
     }
     else
     {
         Details doc = listdoc.SelectedItem as Details;
         ShowDoc sd  = new ShowDoc();
         sd.Id = doc.Id;
         sd.Show();
         sd.Closed += doc_Closed;
     }
 }