public App()
        {
            InitializeComponent();

            SvgImageSource.RegisterAssembly();

            MainPage = new MainPage();
        }
Esempio n. 2
0
        protected override void OnInitialized()
        {
            InitializeComponent();

            SvgImageSource.RegisterAssembly();

            NavigationService.NavigateAsync("/NavigationPage/MainPage");
        }
        public App()
        {
            InitializeComponent();

            SvgImageSource.RegisterAssembly();

            MainPage = new NavigationPage(new Sensor());
        }
Esempio n. 4
0
        public App()
        {
            InitializeComponent();
            // CrossMediaManager.Current.Init();
            SvgImageSource.RegisterAssembly();

            MainPage = new MainPage();
        }
Esempio n. 5
0
        public App()
        {
            InitializeComponent();

            SvgImageSource.RegisterAssembly();

            // Instantiate objects.
            HttpWebRequest = new HttpWebRequest();

            MainPage = new MainPage();
        }
Esempio n. 6
0
        public App()
        {
            InitializeComponent();
            SvgImageSource.RegisterAssembly();
            SetCurrentLanguage();
            SetCurrentTheme();
            PrintEmbeddedResources();


            MainPage = new AppShellPage();
            RegisterServicesInContainer();

            (Container.Resolve <INavigationService>().GetCurrentPage().BindingContext as BasePageViewModel).LoadCommand.Execute(null);
        }
Esempio n. 7
0
        public App()
        {
            //Register Syncfusion license: no longer used
            //Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MzMxMTM2QDMxMzgyZTMzMmUzMEZXOG80REI3eHlHcGREcE5jSFMxalFCYSswZXlIalNQNTNta3J0U2ZnbE09");

            InitializeComponent();

            // XF SvgImageSource registration
            SvgImageSource.RegisterAssembly();

            //UseMockDataStore = false;
            if (UseMockDataStore)
            {
                DependencyService.Register <MockDataStore>();
            }
            else
            {
                DependencyService.Register <AzureDataStore>();
            }

            MainPage = new AppShell();
        }