Esempio n. 1
0
        private void contactBtn_Click(object sender, RoutedEventArgs e)
        {
            WritemailWindow newmail = new WritemailWindow();

            newmail.recipientBox.Text = vacancy.Recruiter.UserName;
            newmail.Show();
        }
Esempio n. 2
0
        private void replyBtn_Click(object sender, RoutedEventArgs e)
        {
            WritemailWindow reply;

            if (currentUser.UserName == mail.SenderUserName)
            {
                reply = new WritemailWindow(currentUser, mail.ReceiverUserName, mail.MailSubject, mw);
            }

            else
            {
                reply = new WritemailWindow(currentUser, mail.SenderUserName, mail.MailSubject, mw);
            }

            reply.Show();
        }
Esempio n. 3
0
        private void writemailBtn_Click(object sender, RoutedEventArgs e)
        {
            WritemailWindow wnm = new WritemailWindow(currentUser, this);

            wnm.Show();
        }