简体   繁体   中英

How to add Windows Form to web page?

我是.NET的新手,所以我有一个基本问题要问,有没有一种方法可以将Windows Forms应用程序添加到我的网页,因为创建表单很容易,并且我现在以表单格式创建了我的应用程序,所以我想将它们添加到asp.net页面。

It's a different thing, but you might want to look into the silverlight out-of-browser technology.

http://www.silverlight.net/learn/overview/out-of-browser-applications/out-of-browser-applications-(silverlight-quickstart )

Spend good time on w3schools.com learning about <form> tags.. then gradually move on towards processing data at backend using C# a good starting point can be http://www.deitel.com/articles/csharp_tutorials/20060128/index.html

Long way to go..first get your basics right!!

Windows form cannot be added in a web form. They altogether are a different technology. You can add link in your web app for downloading Windows app.

If you have basic knowledge of html, then you can learn the basics of asp.net too. Then you can easily create a web form which exactly matches your windows forms. But always keep it in mind, webforms are not as flexible as windows forms.

well... there are something you can do that is similar.

You can add your windows-form to an BHO and install it in you webBrowser as an ActiveX object (for a IE) or extension (in other browsers), and then share it to everyone you want. Then your win-form application can start and interact with your web-page. You can start looking here: http://msdn.microsoft.com/en-us/library/bb250436(v=vs.85).aspx

hope it help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM