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();
 }
 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());
 }