Esempio n. 1
0
 public HomeViewModel()
 {
     AllNotes     = new AllNotesViewModel();
     Formatting   = new FormatCommands(this, AllNotes.TextEditor);
     MainCommands = new MainCommands(this, AllNotes);
     CSSStyle     = File.ReadAllText(Path.Combine(App.AppPath, @"Resources\CSS\Github.css"));
 }
Esempio n. 2
0
 public MainCommands(HomeViewModel homeVM, AllNotesViewModel allNotesVM)
 {
     _homeVM     = homeVM;
     _allNotesVM = allNotesVM;
 }