public ScanView()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.Loaded += OnLoaded;

            Windows.Graphics.Display.DisplayInformation.AutoRotationPreferences = Windows.Graphics.Display.DisplayOrientations.Landscape;
        }
        public ScannerView()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
        }