private void FireSelectedIndexChanged(object sender, System.EventArgs e) { okButton.Enabled = true; ComboBox comboBox = (ComboBox)sender; string selectedConnection = (string)comboBox.SelectedItem; connectionElement = config.ConnectionGroup[selectedConnection]; }
public ClientController(ConnectionElement conn) : base() { connectionConfiguration = conn; // // Create the broadcast receiver thread // Thread broadcastThread = new Thread(new ThreadStart(BroadcastReceiver)); broadcastThread.Name = "BroadcastReceiver"; broadcastThread.IsBackground = true; broadcastThread.Start(); }
public SelectConnectionForm(QuantmodelConfiguration configSection) { config = configSection; connectionElement = null; InitializeComponents(); }