-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52859f4
commit f442c25
Showing
8 changed files
with
53 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
using System.Collections.ObjectModel; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using Vocup.Settings.Model; | ||
|
||
namespace Vocup.ViewModels; | ||
|
||
public class RecentFilesViewModel | ||
{ | ||
public RecentFilesViewModel() | ||
{ | ||
Files = []; | ||
} | ||
|
||
public RecentFilesViewModel(ObservableCollection<RecentFile> files) | ||
{ | ||
Files = files; | ||
} | ||
|
||
public ObservableCollection<RecentFile> Files { get; } | ||
} | ||
|
||
public class DesignRecentFilesViewModel : RecentFilesViewModel | ||
{ | ||
public DesignRecentFilesViewModel() : base( | ||
[ | ||
new("C:\\Users\\maxmu\\Documents\\Englisch - Deutsch.vhf", DateTime.Now, DateTime.Now), | ||
]) | ||
{ } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters