예제 #1
0
        private void OpenEmailAttachment(Attachment a)
        {
            Message m = xstFile.OpenAttachedMessage(a);

            ShowMessage(m);
            view.PushMessage(m);
        }
예제 #2
0
        private void btnOpenEmail_Click(object sender, RoutedEventArgs e)
        {
            Message m = xstFile.OpenAttachedMessage(listAttachments.Items.Cast <Attachment>().First(a => a.IsEmail));

            ShowMessage(m);
            view.PushMessage(m);
        }