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); SIP_AddressBar.RegisterHost(this); }
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(); }