Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
private void Delete_Message_PreviewMouseDown(object sender, MouseButtonEventArgs e) { Message m = (Messages.SelectedItem as Message); if (m.idStudent == stud.idStudent) { messageViewModel.RemoveMessageById(m); } else { MyMessageBox.Show("U can delete only ur posts!", MessageBoxButton.OK); } }