Beispiel #1
0
        private void lvwMails_ItemActivate(object sender, EventArgs e)
        {
            if (lvwMails.SelectedIndices.Count > 0)
            {
                ListViewItem lvitem = lvwMails.Items[lvwMails.SelectedIndices[0]];
                string MessageID = lvitem.Tag.ToString();
                frmPOP3.ToggleMyStatus(this);
                Message msg = Pop.RetrieveMessageObject(int.Parse(MessageID), false);
                frmPOP3.ToggleMyStatus(this);
                frmPOP3.Sleep();

                Pop3ItemView item = new Pop3ItemView();
                item.MessageObject = msg;
                item.ShowDialog();
                frmPOP3.Sleep();
            }
        }
Beispiel #2
0
        private void lvwMails_ItemActivate(object sender, EventArgs e)
        {
            if (lvwMails.SelectedIndices.Count > 0)
            {
                ListViewItem lvitem    = lvwMails.Items[lvwMails.SelectedIndices[0]];
                string       MessageID = lvitem.Tag.ToString();
                frmPOP3.ToggleMyStatus(this);
                Message msg = Pop.RetrieveMessageObject(int.Parse(MessageID), false);
                frmPOP3.ToggleMyStatus(this);
                frmPOP3.Sleep();

                Pop3ItemView item = new Pop3ItemView();
                item.MessageObject = msg;
                item.ShowDialog();
                frmPOP3.Sleep();
            }
        }