コード例 #1
0
        public SyncPage()
        {
            this.InitializeComponent();

            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;
        }
コード例 #2
0
        public AddEditNoteExtraPage()
        {
            this.InitializeComponent();

            StatusBarClock statusBarClock = new StatusBarClock();
            txtDateTime.DataContext = statusBarClock;
        }
コード例 #3
0
        public AboutPage()
        {
            this.InitializeComponent();

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

            GenerateTxtVersion();
        }
コード例 #4
0
        public CategoriesPage()
        {
            this.InitializeComponent();

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

            NavigationCacheMode = NavigationCacheMode.Enabled;

            lstCategoriesView.ItemsSource = _categoreisModel.LoadCategories();
        }
コード例 #5
0
        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;
        }