private void buttonDetect_Click(object sender, EventArgs e) { //Always Generic device here FitnessDevice_GsSport device = new FitnessDevice_GsSport(); DeviceConfigurationDlg d = new DeviceConfigurationDlg(device, true); d.ShowDialog(); //Retrieve detect information, without query device again this.labelDetect.Text = device.Detect(false); }