Web中的托管窗口表单(问题不显示表单) [英] Hosting Window Form in Web(Problem Not displaying form)

查看:61
本文介绍了Web中的托管窗口表单(问题不显示表单)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
我有一个指纹注册项目.
我有一个Web应用程序,用于添加有关员工的信息,然后在单击按钮的一个按钮上进行手指注册后,我的Windows窗体将打开,并对该员工进行指纹打印..现在我只希望该Web应用程序中的Windows窗体.该窗口在用户控件中形成并添加到该Web应用程序的对象标记下.
但是它没有显示我的表单..当我正在删除代码时,它正在显示我正在设计中,但是一旦我在其中添加代码,它就会消失.
Windows窗体具有DLL的和指纹登记的代码.这是不显示该窗体的原因吗?我不能在这里发布代码,因为这是一个政府项目. ,原因如下:这是UI的库,因此在服务器部分上运行时,这是完全没用的(谁会盯着服务器部分上的UI窗体?这些机器通常不是事件附加到监视器的: -)).

至于客户端,所有的UI都在Web浏览器中播放,与.NET无关.并且该应用程序应该能够在几乎所有非平凡的图形Web浏览器上运行. (Silverlight或Moonlight被排除在外,并且基于给定浏览器可能会或可能无法使用的插件;但是无论如何,这些技术与Forms无关,Forms纯粹是一个桌面库. )

希望我能解释一下.

—SA


Hi..
I have one project for fingerprint enrollment.
I have web application for adding info about employee and after that one button for finger enrollment on clicking button my windows form gets open and take the finger print of that employee.. now i want that windows form in that web application only.so i created that windows form in user control and added in that web application under object tag.
but it is not displaying my form.. as i m removing code it is displaying me desing but as soon as i add code in it, it disappears.
that windows form have dll''s and code for fingerprint enrollment.is that a reason for not displaying that form?? i cant post code here becoz it is a govt project..help me..!!!

解决方案

Anything from System.Windows.Forms is totally inapplicable to the ASP.NET, by the following reason: this is a library for the UI, so this is something totally useless when run on the server part (who well stare at your UI forms on the server part? those machines usually are not event attached to a monitor :-)).

As to the client part, all the UI is played inside the Web browser, which has nothing to do with .NET; and the application should be able to work on nearly any non-trivial graphical Web browser. (Silverlight or Moonlight is the exclusion, and it''s based on a plug-in which may or may not be available for a given browser; but anyway, these technologies have nothing to do with Forms, which is purely a desktop library.)

I hope I explained it.

—SA


这篇关于Web中的托管窗口表单(问题不显示表单)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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