Esempio n. 1
0
        private void btnSendMessage_Click(object sender, EventArgs e)
        {
            SendMessageWindow dlg = new SendMessageWindow();
            MessageDTO        msg = new MessageDTO();

            msg.Receiver = user.User;
            msg.Sender   = UserContext.CurrentProfile;
            dlg.Fill(msg);
            dlg.ShowDialog(this);
        }
        private void btnReply_Click(object sender, EventArgs e)
        {
            SendMessageWindow dlg = new SendMessageWindow();
            MessageDTO        msg = new MessageDTO();

            msg.Receiver = message.Sender;
            msg.Sender   = UserContext.Current.CurrentProfile;
            msg.Topic    = string.Format(Strings.usrMessageView_ReplyTopic, message.Topic);
            dlg.Fill(msg);
            dlg.ShowDialog();
        }