Пример #1
0
 /// <summary>
 /// Load interface and binding to ComoboBox control;
 /// </summary>
 private void LoadInterfaces()
 {
     // create interfacelist object
     Tik4Net.Objects.InterfaceList interfaceList = new Tik4Net.Objects.InterfaceList();
     // load interface
     interfaceList.LoadAll();
     // binding to ComboBox
     interfaceComboBox.DataSource = interfaceList.ToList();
     interfaceComboBox.DisplayMember = "Name";
 }
Пример #2
0
 /// <summary>
 /// Load interface and binding to ComoboBox control;
 /// </summary>
 private void LoadInterfaces()
 {
     // create interfacelist object
     Tik4Net.Objects.InterfaceList interfaceList = new Tik4Net.Objects.InterfaceList();
     // load interface
     interfaceList.LoadAll();
     // binding to ComboBox
     interfaceComboBox.DataSource    = interfaceList.ToList();
     interfaceComboBox.DisplayMember = "Name";
 }