Inheritance: Windows.UI.Xaml.DependencyObject
Exemplo n.º 1
0
        public FirstStartPage()
        {
            InitializeComponent();

            _navigationHelper = new NavigationHelper(this);
            _navigationHelper.GoBackCommand = new RelayCommand(obj => App.Current.Exit());
        }
        public EventsByTrackPage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
Exemplo n.º 3
0
        public ImageViewerPage()
        {
            InitializeComponent();

            _navigationHelper = new NavigationHelper(this);
            _navigationHelper.LoadState += NavigationHelper_LoadState;
            _navigationHelper.SaveState += NavigationHelper_SaveState;
        }
        public InfoGroupDetailPage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
        public WelcomeGuidePage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
Exemplo n.º 6
0
        public BasicPage1()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
        public AnnouncementDetailPage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
Exemplo n.º 8
0
        public DealerListPage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
Exemplo n.º 9
0
        public EventsByDayPage()
        {
            InitializeComponent();
            NavigationCacheMode = NavigationCacheMode.Enabled;

            NavigationHelper = new NavigationHelper(this);
            //NavigationHelper.LoadState += NavigationHelper_LoadState;
            //NavigationHelper.SaveState += NavigationHelper_SaveState;
        }
Exemplo n.º 10
0
        public LoadingPage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
            NavigationHelper.GoBackCommand = new RelayCommand(obj => CanGoBack());
        }
Exemplo n.º 11
0
        public MapDetailPage()
        {
            InitializeComponent();

            NavigationCacheMode = NavigationCacheMode.Disabled;

            _navigationHelper = new NavigationHelper(this);
            _navigationHelper.LoadState += NavigationHelper_LoadState;
            _navigationHelper.SaveState += NavigationHelper_SaveState;
        }
Exemplo n.º 12
0
        public MainPage()
        {
            InitializeComponent();

            NavigationCacheMode = NavigationCacheMode.Required;

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;
            NavigationHelper.GoBackCommand = new RelayCommand(async obj => {
                await KernelResolver.Current.Get<IDataContext>().SaveToStoreAsync();
                Application.Current.Exit();
            });
        }
Exemplo n.º 13
0
        public DebugPage()
        {
            InitializeComponent();

            _timeProvider = KernelResolver.Current.Get<ITimeProvider>();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;

            this.Loaded += DebugPage_Loaded;


            _tpOffsetDatePicker.Date = _timeProvider.CurrentDateTimeUtc.Date;
            _tpOffsetTimePicker.Time = _timeProvider.CurrentDateTimeUtc.TimeOfDay;
        }
Exemplo n.º 14
0
        public DealerDetailPage()
        {
            InitializeComponent();

            NavigationHelper = new NavigationHelper(this);
            NavigationHelper.LoadState += NavigationHelper_LoadState;
            NavigationHelper.SaveState += NavigationHelper_SaveState;


            E_MapViewerControl_DealersPosition.MapImageLoadedEvent += (sender, args) =>
            {
                if (CurrentDealer?.HasMapEntry ?? false)
                {
                    E_ScrollViewer_Map.ChangeView(CurrentDealer.MapEntry.X / 1.5
                        - (E_ScrollViewer_Map.ActualWidth / 2)
                        , CurrentDealer.MapEntry.Y / 1.5 - (E_ScrollViewer_Map.ActualHeight / 2), 1 / 1.5f, true);
                }
            };
        }