|
|
@ -30,6 +30,9 @@ namespace ICSharpCode.SharpDevelop.Gui |
|
|
|
if (optionPanels == null) |
|
|
|
if (optionPanels == null) |
|
|
|
throw new ArgumentNullException("optionPanels"); |
|
|
|
throw new ArgumentNullException("optionPanels"); |
|
|
|
InitializeComponent(); |
|
|
|
InitializeComponent(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ICSharpCode.SharpDevelop.Gui.FormLocationHelper.ApplyWindow(this, "TreeViewOptionsDialog.WindowBounds", true); |
|
|
|
|
|
|
|
|
|
|
|
var list = optionPanels.Select(op => new OptionPanelNode(op, this)).ToList(); |
|
|
|
var list = optionPanels.Select(op => new OptionPanelNode(op, this)).ToList(); |
|
|
|
treeView.ItemsSource = list; |
|
|
|
treeView.ItemsSource = list; |
|
|
|
if (list.Count > 0) { |
|
|
|
if (list.Count > 0) { |
|
|
|