Esempio n. 1
0
        /// <summary>Creates a new instance of a <see cref="RadioButtonList"/>.</summary>
        public RadioButtonList()
        {
            items                      = new RadioButtonListItemCollection(this);
            items.ItemAdded           += ItemsChanged;
            items.ItemDeleted         += ItemsChanged;
            items.ItemChanged         += ItemsChanged;
            items.Reset               += ItemsChanged;
            items.ItemPropertyChanged += ItemPropertyChanged;

            try { renderer = new VisualStyleRenderer("BUTTON", 2, 0); } catch { }
        }