public void Delete()
 {
     if (ConfirmationDialog.Make("Delete File", "Are you sure you want to delete this save file?"))
     {
         Deleted?.Invoke(new SaveEventArgs(this));
     }
 }
예제 #2
0
        public static bool Make(string title, string description)
        {
            var dialog = new ConfirmationDialog(title, description);

            return(dialog.ShowDialog() ?? false);
        }