GetChildren() 공개 메소드

public GetChildren ( ) : IEnumerable
리턴 IEnumerable
예제 #1
0
 private void UpdateItem(IndentedComboBox.Item item, IndentedComboBox.Item selectedItem, ref int index)
 {
     foreach (IndentedComboBox.Item current in item.GetChildren())
     {
         if (current == selectedItem)
         {
             index = this.comboBox.Items.Count;
         }
         this.comboBox.Items.Add(current);
         this.UpdateItem(current, selectedItem, ref index);
     }
 }