Bubbles3/ViewModels/BookViewModel.cs
/// <summary>
/// UrlDecode filename then replace underscore with spaces.
/// </summary>
UrlDecode filename then replace underscore with spaces.
UrlDecode filename then replace underscore with spaces .
public void NormalizeBookName()
        {
            string name = System.Net.WebUtility.UrlDecode(_book.Name);
            name = name.Replace("_", " ");
            string msg = "Rename " + _book.Name + " to " + name + "?";
            if(System.Windows.MessageBox.Show(msg, "Rename File or Folder", System.Windows.MessageBoxButton.OKCancel, System.Windows.MessageBoxImage.Exclamation) == MessageBoxResult.OK)
                _book.RenameFile(name, false);
        }
public void NormalizeBookName ( ) { string name = System . Net . WebUtility . UrlDecode ( _book . Name ) ; name = name . Replace ( " " , " " ) ; string msg = " " + _book . Name + " " + name + " " ; if ( System . Windows . MessageBox . Show ( msg , " " , System . Windows . MessageBoxButton . OKCancel , System . Windows . MessageBoxImage . Exclamation ) == MessageBoxResult . OK ) _book . RenameFile ( name , false ) ; }
UrlDecode filename then replace underscore with spaces.
UrlDecode filename then replace underscore with spaces .