帮助在Windows之间传输数据是silverlight [英] Help with transfering data between windows is silverlight

查看:58
本文介绍了帮助在Windows之间传输数据是silverlight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚尝试过表情混合,但我遇到了一些问题。在尝试Silverlight和混合之前,我一直在使用Windows窗体应用程序。无论如何,我有一个带有列表框的主屏幕,当用户点击按钮
时,会出现一个子窗口,并提示输入一些数据。然后我想让在子窗口中输入的数据出现在主窗口的列表框中。


我试过:

 
MainWindow.ListBox1.Items.Add(TextBox1)

解决方案

请阅读下面的博客,其中描述了如何使用dataStore在Windows之间传输数据。如果你有问题,请随时提出更多问题。


http://blogs.msdn.com/b/harryh/archive/2010/06/23/databind-selected-items-across-different-pages.aspx


Hi, I have just recently tried expression blend and I am having a bit of trouble with something. I have been using windows form application before trying silverlight and blend. Anyway, I have a main screen with a listbox, when the user clicks on a button a childwindow appears and prompts for some data to be entered. I then want to get the data that was entered in the childwindow to appear in the listbox on the main window.

I have tried:

MainWindow.ListBox1.Items.Add(TextBox1)

解决方案

Please read my blog below, which desribed how to use dataStore to transfer data between windows. Please feel free to ask more question if you have.

http://blogs.msdn.com/b/harryh/archive/2010/06/23/databind-selected-items-across-different-pages.aspx


这篇关于帮助在Windows之间传输数据是silverlight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆