Example #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];
        }
Example #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();
        }
Example #3
0
 public SelectConnectionForm(QuantmodelConfiguration configSection)
 {
     config            = configSection;
     connectionElement = null;
     InitializeComponents();
 }