[英]I can't see WinForms in code (C# Visual Studio WinForms)
I'm a rookie programmer working on my Diploma final project.我是一名新手程序员,正在从事我的文凭期末项目。 The app is a WinForm application C# (mentioned in the title).
该应用程序是一个 WinForm 应用程序 C#(在标题中提到)。 My problem is this:
我的问题是这样的:
I have a button: btnBank, which I use to access the Bank Form.我有一个按钮:btnBank,我用它来访问银行表格。 But when I tried to create a new object as:
但是当我尝试创建一个新的 object 为:
frmVault Bank = new frmVault();
it doesn't recognise frmVault
as an available form.它不会将
frmVault
识别为可用表单。 I tried multiple things from renaming the Bank Form to recreating the whole thing from scratch, but it doesn't work.我尝试了多种方法,从重命名银行表格到从头开始重新创建整个东西,但它不起作用。
I have only written frm
, but the name doesn't show up when I write the whole thing.我只写了
frm
,但是当我写完整个东西时,这个名字并没有出现。
I'm a rookie programmer working on my Diploma final project.我是一名新手程序员,正在从事我的文凭期末项目。 The app is a WinForm application C# (mentioned in the title).
该应用程序是一个 WinForm 应用程序 C#(在标题中提到)。 My problem is this:
我的问题是这样的:
I have a button: btnBank, which I use to access the Bank Form.我有一个按钮:btnBank,我用它来访问银行表格。 But when I tried to create a new object as:
但是当我尝试创建一个新的 object 为:
frmVault Bank = new frmVault();
it doesn't recognise frmVault
as an available form.它不会将
frmVault
识别为可用表单。 I tried multiple things from renaming the Bank Form to recreating the whole thing from scratch, but it doesn't work.我尝试了多种方法,从重命名银行表格到从头开始重新创建整个东西,但它不起作用。
I have only written frm
, but the name doesn't show up when I write the whole thing.我只写了
frm
,但是当我写完整个东西时,这个名字并没有出现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.