Пример #1
0
 public ItemsPage()
 {
     stale        = true;
     controlDown  = false;
     webRequester = new WebRequester("http://twilio.nints.com:8885");
     mainSource   = new MovieDataSourceTest();
     foundItem    = null;
     webRequester.UpdateStatusAction      += UpdateStatus;
     webRequester.RequestFinishedCallback += ReqComplete;
     webRequester.AvailabilityCallback    += MovieAvaliablilityFunct;
     this.KeyUp   += ItemsPage_KeyUp;
     this.KeyDown += ItemsPage_KeyDown;
     this.InitializeComponent();
     Task.Run(() => CheckMovies());
 }
 public ItemsPage()
 {
     stale = true;
     controlDown = false;
     webRequester = new WebRequester("http://twilio.nints.com:8885");
     mainSource = new MovieDataSourceTest();
     foundItem = null;
     webRequester.UpdateStatusAction += UpdateStatus;
     webRequester.RequestFinishedCallback += ReqComplete;
     webRequester.AvailabilityCallback += MovieAvaliablilityFunct;
     this.KeyUp += ItemsPage_KeyUp;
     this.KeyDown += ItemsPage_KeyDown;
     this.InitializeComponent();
     Task.Run(() => CheckMovies());
 }