Ejemplo n.º 1
0
 //Update Connection names Combobox
 public void updateConnectionList()
 {
     cl.getConnections();
     comboBoxConnectionName.Items.Clear();
     comboBoxConnectionName.ResetText();
     foreach (Connection cn in cl.connectionList)
     {
         comboBoxConnectionName.Items.Add(cn.name);
     }
 }
Ejemplo n.º 2
0
        //refresh comboBoxes with connection names
        public void updateConnectionList()
        {
            Console.WriteLine("updateConnectionList()");
            cl.getConnections();
            comboBoxSourceUrl.Items.Clear();
            comboBoxSourceUrl.ResetText();
            comboBoxDestinationUrl.Items.Clear();
            comboBoxDestinationUrl.ResetText();

            foreach (Connection conn in cl.connectionList)
            {
                comboBoxSourceUrl.Items.Add(conn.name);
                comboBoxDestinationUrl.Items.Add(conn.name);
            }
        }