private void OnDataExtractionServiceInfoReady(object sender, DataExtraction.Utility.GPServiceInfoEventArgs args) { if (args.ServiceInfo != null) { infoReadycount++; if (infoReadycount == widgetConfig.DataExtractionServices.Length) { this.IsBusy = false; } } }
private void GPServiceInfoReader_InfoReady(object sender, GPServiceInfoEventArgs args) { if (args.ServiceInfo.IsReady) { args.ServiceInfo.CopyPropertiesTo(this); } if (infoReadyHandler != null) { infoReadyHandler(this, args); } }