Esempio n. 1
0
        public void OpenComposeWindow(ulong user)
        {
            // if window already exists to node, show it
            var compose = new ComposeMail(UI, Mail, user);

            UI.ShowView(compose, true);
        }
Esempio n. 2
0
        public void Mail_ShowCompose(ulong userID, LocalMail message, string title, string body)
        {
            ComposeMail compose = new ComposeMail(UI, Mail, userID);

            compose.CustomTitle = title;
            compose.ThreadID    = message.Header.ThreadID;

            compose.SubjectTextBox.Text      = message.Info.Subject;
            compose.SubjectTextBox.Enabled   = false;
            compose.SubjectTextBox.BackColor = System.Drawing.Color.WhiteSmoke;

            //crit attach files

            UI.ShowView(compose, true);
        }