Exemple #1
0
        public GraphPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);

            if (Window.Current.Bounds.Width <= Window.Current.Bounds.Height)
                SizeCorrector(Window.Current.Bounds.Width, Window.Current.Bounds.Width);
            else
                SizeCorrector(Window.Current.Bounds.Height, Window.Current.Bounds.Width);
        }           
Exemple #2
0
        public Statistics()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            if (Window.Current.Bounds.Width <= Window.Current.Bounds.Height)
                SizeCorrector(Window.Current.Bounds.Width, Window.Current.Bounds.Width);
            else
                SizeCorrector(Window.Current.Bounds.Height, Window.Current.Bounds.Width);

            hooligan = false;
            LoadFromFile();


            descBlock.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
        }