我们可以在Windows窗体应用程序中使用Silverlight吗 [英] Can we use Silverlight in our windows form application

查看:97
本文介绍了我们可以在Windows窗体应用程序中使用Silverlight吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我们可以在Windows窗体应用程序中使用Silverlight吗?
我的机器上安装了.net 3.5

在Advanced中感谢:rose:

hi all

Can we use Silverlight in our windows form application.
i have .net 3.5 installed on my machine

thanks in advanced:rose:

推荐答案

即使您的计算机上安装了.net 3.5,也无法在Windows窗体应用程序中使用Silverlight.
但是您可以在Windows窗体应用程序中使用WPF.它比Silverlight具有更多的设施.


库山兰迪玛.
软件工程师.
DigiteQ Solutions PVT LTD.
You can''t use Silverlight in your windows form application even you have .net 3.5 installed on my machine.

But you can use WPF within your Windows Forms applications. It has more facilities than the Silverlight.


Kushan Randima.
Software Engineer.
DigiteQ Solutions PVT LTD.


查看此论坛问题;
http://forums.silverlight.net/forums/p/37345/120413.aspx [ ^ ]

看来您需要使用WPF.
See this forum question;
http://forums.silverlight.net/forums/p/37345/120413.aspx[^]

It looks like you need to use WPF instead.


Silverlight是基于Web的技术(尽管增加了运行浏览器功能).这意味着Silverlight需要至少从最初访问的网页-因此,答案似乎是否",但这不是很正确.

基本上,您需要做的就是将您的Silverlight页面托管在一个Web表单中,您的应用程序可以访问它并显示在WebBrowser控件中.有点令人费解,但是有可能.
Silverlight is a web based technology (despite the addition of the ability to run Out Of Browser). What this means is that Silverlight needs a web page to at least be accessed from initially - so, the answer would appear to be no, but that''s not quite true.

Basically, all you need to do is host your Silverlight page in a web form which your application can get access to and display inside a WebBrowser control. It''s a little bit convoluted, but it is possible.


这篇关于我们可以在Windows窗体应用程序中使用Silverlight吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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