怎样在网页中嵌入WinForm(windows窗体)(求救!!!)
如何将一个已经设计好的Windows 窗体(: System.Windows.Forms.Form)原封不动地在IE中显示,参考了
http://chs.gotdotnet.com/quickstart/winforms/
但还是解决不了,例子继承的是Control,不是Form,如果用动态连接库,生成的.DLL,可是调用不了[STAThread]
static void Main()
{
Application.Run(new frmMain());
}
因此显示不了FORMS(包括Windows 窗体中不少的button,lable,textBox等),如果在.dll中再添加个类,添代码
myForm form2 = new myForm();
form2.Show();
能显示Windows 窗体,但是窗体不在IE中显示。怎样在网页中嵌入WinForm(windows窗体)(: System.Windows.Forms.Form)?就如APPLET一样!!!