public EditPhotoNotePage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
 }
 public EditSimpleNote()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
     this.simpleNoteManager = new SimpleNoteManager();
 }
Ejemplo n.º 3
0
 public PivotPage()
 {
     this.InitializeComponent();
     this.selectedPivot = NoteType.SimpleNote;
     this.NavigationCacheMode = NavigationCacheMode.Required;
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
     this.listViews[(int)NoteType.SimpleNote] = SimpleNotesList;
     this.listViews[(int)NoteType.TodoNote] = ToDoNotesList;
     this.listViews[(int)NoteType.PhotoNote] = PhotoNotesList;
     noteManagers.Add(new SimpleNoteManager());
     noteManagers.Add(new TodoNoteManager());
     noteManagers.Add(new PhotoNoteManager());
 }