コード例 #1
0
        public BrowserPage()
        {
            this.InitializeComponent();
            this.NavigationCacheMode         = Windows.UI.Xaml.Navigation.NavigationCacheMode.Enabled;
            this.navigationHelper            = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            /* Register the URL textbox with an on-screen keyboard control. Note that currently this
             * keyboard does not support inputting into browser controls
             */
            SIP_AddressBar.RegisterEditControl(AddressBar);
        }
コード例 #2
0
        public AddElement()
        {
            this.InitializeComponent();

            /* Register the URL textbox with an on-screen keyboard control. Note that currently this
             * keyboard does not support inputting into browser controls
             */
            SIP_AddressBar.RegisterEditControl(roomName);
            SIP_AddressBar.RegisterHost(this);
            h                     = Home.myHouse;
            DeviceSensors         = new List <Sensor>();
            ListSource            = App.ListSource;
            Rooms                 = App._listRooms;
            listrooms.DataContext = this.DataContext;
            FillListIcons();
        }