Ejemplo n.º 1
0
        private void OpenEmailAttachment(Attachment a)
        {
            Message m = xstFile.OpenAttachedMessage(a);

            ShowMessage(m);
            view.PushMessage(m);
        }
Ejemplo n.º 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);
        }