English 中文(简体)
缩略语 项目ComboBox填满了WCF Service
原标题:Silverlight SelectedItem ComboBox filled with WCF Service

First of all, sorry for my English...
I have something like this:


public class MyClass
{
   private MyOtherClass _other;

public MyOtherClass Other { get { return _other; } set { _other = value; } } }

现在......是:

I have two WCF services... one for everything related with MyClass, and the second one for everything related with MyOtherClass, so... I fill the combo with a List of MyOtherClass, but I have to set the SelectedItem from the property on MyClass, and the references of those classes are not the same.

Please, I need help!
thanks!

最佳回答

我发现的解决办法是建立一个新的银灯级图书馆,其结构与实体级图书馆项目(Data Model级,由NHibernate绘制)相同,以便当我在银星应用中增加一个服务参考资料时,我可以重新使用这些课程,而世界资源中心服务处则不为它所使用的类别提供参考。

这里有更好的解释:

问题回答

暂无回答




相关问题
WPF Datagrid, Setting the background of combox popup

I would like to change the color of the popup background when using a DatagridComboboxColumn in the WPF Toolkit datagrid. I ve edited the Template for a normal Combobox and it works great for selected ...

How to insert ComboBox item into ListBox? [winforms]

The question is very simple, How to insert ComboBox selected item into ListBox using c#? I have tried with this: listbox.Items.Add(combobox.SelectedItem); and some other permutations but it always ...

How do I bind a ComboBox to a one column list

I ve seen how to bind a ComboBox to a list that has columns like this: ItemsSource="{Binding Path=Entries}" DisplayMemberPath="Name" SelectedValuePath="Name" SelectedValue="{Binding Path=Entry}" But ...

Wpf Combobox Limit to List

We are using Wpf Combobox to allow the user to do the following things: 1) select items by typing in the first few characters 2) auto complete the entry by filtering the list 3) suggesting the first ...

热门标签