From 2e44388c33eb13c3dbefc4a5c4a49583fcc5a0f8 Mon Sep 17 00:00:00 2001 From: PeterForstmeier Date: Sun, 23 Oct 2011 20:27:38 +0200 Subject: [PATCH] create List for data binding from service to TreeView Treeview DataBinding in AddServiceReferenceDialog.xaml --- .../AddServiceReferenceDialog.xaml | 73 +++--- .../AddServiceReferenceDialog.xaml.cs | 12 +- .../AddServiceReferenceViewModel.cs | 207 ++++++++++++++++-- 3 files changed, 245 insertions(+), 47 deletions(-) diff --git a/src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/AddServiceReferenceDialog.xaml b/src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/AddServiceReferenceDialog.xaml index 12876edde5..425136b544 100644 --- a/src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/AddServiceReferenceDialog.xaml +++ b/src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/AddServiceReferenceDialog.xaml @@ -3,15 +3,35 @@ x:Class="Gui.Dialogs.ReferenceDialog.AddServiceReferenceDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets" + xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets" xmlns:core="http://icsharpcode.net/sharpdevelop/core" xmlns:src="clr-namespace:Gui.Dialogs.ReferenceDialog" + xmlns:web="clr-namespace:System.Web.Services.Description;assembly=System.Web.Services" WindowStartupLocation="CenterOwner" Style="{x:Static core:GlobalStyles.DialogWindowStyle}" Height="425" Width="500" Title="{Binding Title}"> + + + + + + + + + + + - + @@ -42,11 +62,7 @@ - - + -