Пример #1
0
        public MainPage()
        {
            this.InitializeComponent();

            listView.ItemsSource = DataList;

            ;           this.Advertiser = new Advertiser();
            this.AncsManager            = new AncsManager();

            this.AncsManager.OnNotification += AncsManagerOnOnNotification;
            this.AncsManager.OnStatusChange += AncsManagerOnOnStatusChange;
        }
Пример #2
0
        public MainPage()
        {
            this.InitializeComponent();

            listView.ItemsSource = DataList;
         
;           this.Advertiser = new Advertiser();
            this.AncsManager = new AncsManager();

            this.AncsManager.OnNotification += AncsManagerOnOnNotification; 
            this.AncsManager.OnStatusChange += AncsManagerOnOnStatusChange;
        }
Пример #3
0
 protected override async void OnActivated(IActivatedEventArgs e)
 {
     AncsManager.OnUpdate(e);
 }