Beispiel #1
0
        private void FireSelectedIndexChanged(object sender, System.EventArgs e)
        {
            okButton.Enabled = true;

            ComboBox comboBox           = (ComboBox)sender;
            string   selectedConnection = (string)comboBox.SelectedItem;

            connectionElement = config.ConnectionGroup[selectedConnection];
        }
Beispiel #2
0
        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();
        }
Beispiel #3
0
 public SelectConnectionForm(QuantmodelConfiguration configSection)
 {
     config            = configSection;
     connectionElement = null;
     InitializeComponents();
 }