public SyncPage()
        {
            this.InitializeComponent();

            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;
        }
        public AddEditNoteExtraPage()
        {
            this.InitializeComponent();

            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;
        }
        public AboutPage()
        {
            this.InitializeComponent();

            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;

            GenerateTxtVersion();
        }
        public CategoriesPage()
        {
            this.InitializeComponent();

            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;

            NavigationCacheMode = NavigationCacheMode.Enabled;

            lstCategoriesView.ItemsSource = _categoreisModel.LoadCategories();
        }
        public MainPage()
        {
            this.InitializeComponent();

            this.NavigationCacheMode = NavigationCacheMode.Required;

            HideStatusBar();
            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;

            HardwareButtons.BackPressed += HardwareButtons_BackPressed;

            lstNotes.Source = _model.GetItemsByCategory();

            Loaded += MainPage_Loaded;
        }