Exemple #1
0
 private void form_main_Shown(object sender, EventArgs e)
 {
     // Set the loading text.
     list_selection.Items.Add(ListHelpers.LoadingItem());
     // Create the DataRetriever, and provide it with a delegate to DisplayList for returning data
     _dataRetriever = new DataRetriever(DisplayList);
     // Start retrieving data on a separate thread...
     _dataRetriever.GetData();
 }