protected override Control CreateEditor(TreeNodeAdv node)
{
ComboBox comboBox = new ComboBox();
if (DropDownItems != null)
comboBox.Items.AddRange(DropDownItems.ToArray());
comboBox.SelectedItem = GetValue(node);
comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox.DropDownClosed += new EventHandler(EditorDropDownClosed);
SetEditControlProperties(comboBox, node);
return comboBox;
}