示例#1
0
        public info()
        {
            this.InitializeComponent();
            this.InitializeComponent();
            loading.Visibility = Visibility.Visible;
            //Hamburger.Begin();
            AppBarOpacityAnimationIn.Begin();
            AppBarOpacityAnimationInBackground.Begin();
            this.DataContext = dataContext;

            getInfo();

            loading.Visibility = Visibility.Collapsed;
        }
示例#2
0
        public MainPage()
        {
            this.InitializeComponent();
            // Page animations
            fadeInStoryboardOpacity.Begin();
            fadeInStoryboard.Begin();
            fadeInGridOpacity.Begin();
            Hamburger.Begin();
            AppBarOpacityAnimationIn.Begin();
            AppBarOpacityAnimationInBackground.Begin();

            // Map and Pin init
            pin.Background = new SolidColorBrush(Windows.UI.Colors.Red);
            myMap.Children.Add(pin);
            pinAim.Background = new SolidColorBrush(Windows.UI.Colors.Blue);
            myMap.Children.Add(pinAim);
            //this.DataContext = dataContext;
            // Hide some Items at Page
            listBox.Visibility = Visibility.Collapsed;
            loading.Visibility = Visibility.Collapsed;
        }