private void OnMoveBack(object parameter) { _history.MoveBack(); Name = _history.Current.DirectoryName; FilePath = _history.Current.DirectoryPath; OpenDirectory(); }
private void OnMoveBack(object obj) { _history.MoveBack(); var current = _history.Current; FilePath = current.DirectoryPath; Name = current.DirectoryPathName; OpenDirectory(); }
private void MoveBack(object obj) { if (FilePath != null && history.Current.DirectoryPath != "C:\\") { history.MoveBack(); var current = history.Current; FilePath = current.DirectoryPath; OpenDirectory(); } }