public SignUp()
 {
     InitializeComponent();
     _Overlap_1.Source = MainPage.Blur;
     _MedGang.Source   = Utilities.Source("Med_Gang.png", typeof(SignUp));
     SizeChanged      += delegate
     {
         Utilities.DoResize(_ParentGrid);
     };
 }
Example #2
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     Utilities.DoResize(_ParentGrid);
     Device.StartTimer(TimeSpan.FromSeconds(2), delegate
     {
         Navigation.PushAsync(new SecondaryMainPage());
         Navigation.RemovePage(this);
         return(true);
     });
 }
        public SecondaryMainPage()
        {
            InitializeComponent();

            /** set image sources for UI Image controls **/
            Blur = Utilities.Source("Blur.jpg", typeof(MainPage));

            _Overlap_1.Source = Blur;
            _MedLogo.Source   = Utilities.Source("Med_Logo.png", typeof(MainPage));

            /** hide the toolbar for this page as it is the mainpage **/
            NavigationPage.SetHasNavigationBar(this, false);
            SizeChanged += delegate
            {
                Utilities.DoResize(_ParentGrid);
            };
        }
 protected override void OnAppearing()
 {
     base.OnAppearing();
     Utilities.DoResize(_ParentGrid);
 }