Основные методы
Основные методы
Основные методы
Основные методы
private async void DeleteSelectedMatch(object obj) { //var metroWindow = (MetroWindow)Application.Current.MainWindow; //var settings = new MetroDialogSettings //{ // AffirmativeButtonText = "Yes", // NegativeButtonText = "No" //}; var result = await dialogService.AskQuestonAsync("Delete Match", "Are you sure you want to delete this Match record ? "); if (result == MessageDialogResult.Affirmative) { Matches.Remove(selectedMatch); SelectedMatch = null; } }