简体   繁体   English

我在代码中看不到 WinForms (C# Visual Studio WinForms)

[英]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.我尝试了多种方法,从重命名银行表格到从头开始重新创建整个东西,但它不起作用。

这是我尝试输入 frmVault 和其他一些名称(如 frmAbout)时得到的图像

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.我尝试了多种方法,从重命名银行表格到从头开始重新创建整个东西,但它不起作用。

这是我尝试输入 frmVault 和其他一些名称(如 frmAbout)时得到的图像

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.

相关问题 Visual Studio Winforms C#中的URL正则表达式 - URL Regex in Visual Studio Winforms C# 如何使用 Visual Studio C# WinForms 中的变量创建 Unicode 字符串? - How can I create a Unicode string using variables in Visual Studio C# WinForms? 如何才能逐渐且平滑地更改PictureBox的大小? (在Winforms中,C#,Visual Studio 2013) - How can I change PictureBox size incrementally and smoothly ? ( in winforms , c# , visual studio 2013 ) 如何从 Visual Studio 2019 中的 Winforms C# 项目中删除或卸载 Avalonia - How can I delete or uninstall Avalonia from Winforms C# Project in Visual Studio 2019 Visual C#/ WinForms面板 - Visual C#/WinForms Panels 删除代码时有什么方法不会出现设计器错误? (C#、Visual Studio、WinForms) - Is there any way to NOT get a Designer error when deleting code? (C#, Visual Studio, WinForms) C# .NET WinForms。 Visual Studio 无法识别子文件夹中的命名空间 - C# .NET WinForms. Visual studio won't recognise namespaces in subfolders Visual Studio 2013 C#WinForms-单击控件不会显示属性 - Visual Studio 2013 C# WinForms - Clicking on a control won't show properties Visual Studio 2010 C#WinForms运行时编译 - visual studio 2010 c# run-time compilation of winforms 聊天框不工作 c#,Visual Studio,Winforms,Bunifu UI - Chatbox not working c#,Visual Studio ,Winforms,Bunifu UI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM