private void refreshButton_Click(object sender, EventArgs e) { using (var progressIndicator = new RefreshDevicesProgressIndicator()) { routeGpsDevice.DataSource = null; routeGpsDevice.Items.Clear(); SupportedImportFormatManager.StartRefreshGPSDevices(); progressIndicator.ShowDialog(); SearchForGPSDevices(); } }
private void refreshButton_Click(object sender, EventArgs e) { using (var progressIndicator = new RefreshDevicesProgressIndicator()) { routeGpsDevice.DataSource = null; routeGpsDevice.Items.Clear(); SupportedImportFormatManager.StartRefreshGPSDevices(); progressIndicator.ShowDialog(); SearchForGPSDevices(); } }