Example #1
0
 private void MenuItem_Click_1(object sender, RoutedEventArgs e)
 {
     if (list.SelectedIndex >= 0)
     {
         SendMessageWindow window = new SendMessageWindow(User, Friends[list.SelectedIndex].User1.Email);
         window.Show();
     }
 }
Example #2
0
        private void btnNewMessage_Click(object sender, RoutedEventArgs e)
        {
            SendMessageWindow window = new SendMessageWindow(User, "");

            window.Show();
        }