protected override void OkButtonClick(object sender, RoutedEventArgs e)
 {
     var button = (Button)sender;
     switch (button.Name)
     {
         case "Delete":
             Result = DeleteConfirmationResult.Delete;
             break;
         case "All":
             Result = DeleteConfirmationResult.DeleteAll;
             break;
         case "Skip":
             Result = DeleteConfirmationResult.Skip;
             break;
     }
     base.OkButtonClick(sender, e);
 }
        protected override void OkButtonClick(object sender, RoutedEventArgs e)
        {
            var button = (Button)sender;

            switch (button.Name)
            {
            case "Delete":
                Result = DeleteConfirmationResult.Delete;
                break;

            case "All":
                Result = DeleteConfirmationResult.DeleteAll;
                break;

            case "Skip":
                Result = DeleteConfirmationResult.Skip;
                break;
            }
            base.OkButtonClick(sender, e);
        }