public mypanel(SOMFLUXCOMMUNICATION _owner, string _channel) { owner = _owner; channel = _channel; InitializeComponent(); this.Projects.Items.Clear(); for (int i = 0; i < 10; i++) { this.Projects.Items.Add(new item(i.ToString(), true, item.color.black)); } foreach (var item in Projects.Items) { if ((item as item).getvalue() == channel) { Projects.SelectedItem = item; } } }
public Attributes_FLUX(SOMFLUXCOMMUNICATION owner) : base(owner) { }