如何将Windows属性添加到网页? [英] how can i add windows properties to a webpage?

查看:102
本文介绍了如何将Windows属性添加到网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为应用程序创建了一个Windows窗体.它具有一些动态的按钮创建功能,并且某些按钮单击事件可以通过它来处理.我需要在Web页面(在Asp.Net中)中显示相同的表单.我该怎么做?
有什么可能的方法吗?如何将Windows属性添加到网页?

i created a windows form for an application. It has some dynamic button creations and certain button click events are handle through it.i need that same form to be appeared in a web page(in Asp.Net).how can i do this?
is there any possible way of doing this?how can i add windows properties to a web page?

推荐答案

您需要设计网页并实现任何基于UI的从头开始的代码.没有捷径.使用Windows窗体应用程序的唯一好处是可以用作方便的视觉和功能模板.即使那样,网页也不会像Windows窗体应用程序那样具有丰富的界面.

欢迎来到地狱.我们希望您在这里过得愉快.
You need to design the web page and implement any UI-based code from scratch. There is no shortcut. The only benefit to having the windows form app is to serve as a handy visual and functional template. Even then, the web page won''t be NEARLY as rich interface wise as the windows form app was.

Welcom to hell. We hope you enjoy your stay.


正如John所提到的,唯一的方法就是重新设计页面.

有一种解决方法,但它很杂乱,仅在某些情况下有效-并非全部.
请参见此处 [ ^ ].
As John has mentioned, the only way to do this is to redesign the page.

There is a work around, but its messy and will only work in some cases - not all.
See here[^].


这篇关于如何将Windows属性添加到网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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