Exemplo n.º 1
0
        public DeviceInfo()
        {
            InitializeComponent();   // default init for page object

            // Handle back button press
            //Loaded += (sender, e) => { HardwareButtons.BackPressed += OnBackPressed; };
            // De-register back button when the page is no longer visible
            //Unloaded += (sender, e) => { HardwareButtons.BackPressed -= OnBackPressed; };

            // Create initial instances of page objects
            DeviceVm   = new BeDeviceVm();
            ServicesVm = new BEServiceListVM();
        }
Exemplo n.º 2
0
        public DeviceInfo()
        {
            InitializeComponent();   // default init for page object

            // Handle back button press
            //Loaded += (sender, e) => { HardwareButtons.BackPressed += OnBackPressed; };
            // De-register back button when the page is no longer visible
            //Unloaded += (sender, e) => { HardwareButtons.BackPressed -= OnBackPressed; };

            // Create initial instances of page objects
            DeviceVm = new BeDeviceVm();
            ServicesVm = new BEServiceListVM();
        }