예제 #1
0
 private void ReplyButton_Click(object sender, RoutedEventArgs e)
 {
    User replyUser = new User();
    replyUser.UserId = m_sendingUserId;
    replyUser.Username = m_sendingNick;
    string replyText = WindowUtils.TextFromRichTextBox(m_pmText);
    PmSendWindow psw = new PmSendWindow(m_owner, m_controller, replyUser, replyText);
    psw.Show();
    this.Close();
 }
예제 #2
0
      private void SendPm_EventHandler(object sender, RoutedEventArgs e)
      {
         User user = GetSelectedUser();
         if (user == null)
            return;

         Window pm = new PmSendWindow(this, m_controller, user, null);
         pm.Show();
      }