private void Form1_Load(object sender, EventArgs e) { // Load the device configutation DeviceConfiguration.Load(); // Initialize the devices deviceA = new DeviceA(); deviceB = new DeviceB(); textBox1.Focus(); }