摘要: 在silverlight往往还是有一些获取不到的东西,比如说客户机的ip等的数据.可以通过初始化sl时把参数传入sl中.1.修改page类public Page(string passText){ InitializeComponent(); this.txtPass.Text = passText;}2.修改App.xaml.csprivate void Application_Startup(object sender, StartupEventArgs e) { // Load the main control string passText = e.InitParams["p 阅读全文
posted @ 2011-05-31 17:40 kingdizzy 阅读(297) 评论(0) 推荐(0) 编辑