Message boxes are themed

This commit is contained in:
Frank Skare
2021-08-25 11:31:20 +02:00
parent 225905ebff
commit d3baa47f93
17 changed files with 1575 additions and 19 deletions

View File

@@ -151,7 +151,7 @@ namespace mpvnet
DataGrid grid = (DataGrid)sender;
if (e.Command == DataGrid.DeleteCommand)
if (Msg.ShowQuestion($"Confirm to delete: {(grid.SelectedItem as CommandItem).Input} ({(grid.SelectedItem as CommandItem).Path})") != System.Windows.Forms.DialogResult.OK)
if (Msg.ShowQuestion($"Confirm to delete: {(grid.SelectedItem as CommandItem).Input} ({(grid.SelectedItem as CommandItem).Path})") != MessageBoxResult.OK)
e.Handled = true;
}