Esempio n. 1
0
 public BluefishConsumerControl(BluefishConsumer consumer,List<String> availableIDs)
 {
     InitializeComponent();
     var ar = availableIDs.ToList();
     ar.Add(consumer.Device);
     ar.Sort();
     comboBox2.Items.AddRange(ar.ToArray());
     bluefishConsumerBindingSource.DataSource = consumer;
 }
Esempio n. 2
0
        public BluefishConsumerControl(BluefishConsumer consumer, List <String> availableIDs)
        {
            InitializeComponent();
            var ar = availableIDs.ToList();

            ar.Add(consumer.Device);
            ar.Sort();
            comboBox2.Items.AddRange(ar.ToArray());
            bluefishConsumerBindingSource.DataSource = consumer;
        }