Exemplo n.º 1
0
 public SettingCollection(SettingCollection src)
 {
     settings = new List <Setting>();
     foreach (Setting s in src)
     {
         settings.Add(s);
     }
 }
Exemplo n.º 2
0
        //gives the control a list of settings to manage
        public SettingsCtl(SettingCollection settings)
        {
            this.settings = settings;
            SettingSubCtl sub;

            foreach (Setting s in settings)
            {
                sub = new SettingSubCtl(s);
                Controls.Add(sub);
            }
        }