无法在Visual C#中创建Windows窗体 [英] Unable to create Windows form in Visual C#

查看:278
本文介绍了无法在Visual C#中创建Windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的支持团队,

请帮助我纠正以下错误 

Please help me out in rectifying the below error 

处理时在C#中创建一个示例表单到下一个表单,语法Response.Redirect在软件中不起作用 

Created a sample form in C# when processing to the next form the syntax Response.Redirect is not working in the software 

请做必要的

问候,

Regards,

Ramprakash 

Ramprakash 

推荐答案

Response.Redirect适用于Web窗体(ASP.NET)应用程序,而不适用于Windows窗体应用程序。如果要显示Windows窗体,则需要创建类的新实例,然后显示它。

Response.Redirect is for Web Form (ASP.NET) applications and not Windows Forms applications. If you want to display a Windows Form then you will need to create a new instance of the Class and then Show it.

如何:显示另一个表单


这篇关于无法在Visual C#中创建Windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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