예제 #1
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            clsCategory lcCategory = (clsCategory)e.Parameter;

            _Category = await ServiceClient.GetCategoryAsync(lcCategory.ID);

            updateDisplay();
            clsMQTTClient.Instance.Subscribe(this);
        }
예제 #2
0
        private async void refreshFormFromDB()
        {
            _Category = await ServiceClient.GetCategoryAsync(_Category.ID);

            updateDisplay();
        }