Ejemplo n.º 1
0
 private void SecondLifeHost_OnListenChannelsChanged(object sender, EventArgs e)
 {
     foreach (Control control in this.panel4.Controls)
     {
         GroupboxEvent gbe = control as GroupboxEvent;
         if (gbe == null)
         {
             continue;
         }
         foreach (Control control1 in gbe.Controls)
         {
             GroupBox gb = control1 as GroupBox;
             if (gb == null)
             {
                 continue;
             }
             if (gb.Name != "listen_0")
             {
                 continue;
             }
             ComboBox comboBox = gb.Controls[0] as ComboBox;
             AddListenChannelsToComboxBox(comboBox, SecondLifeHost.GetListenChannels());
         }
     }
 }