コード例 #1
0
ファイル: MailUI.cs プロジェクト: nandub/DeOps
        public void OpenComposeWindow(ulong user)
        {
            // if window already exists to node, show it
            var compose = new ComposeMail(UI, Mail, user);

            UI.ShowView(compose, true);
        }
コード例 #2
0
ファイル: MailUI.cs プロジェクト: nandub/DeOps
        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);
        }