【问题标题】:Can Not find Button & gridview Control in Toolbox In .Net Core WinForm App在.Net Core WinForm App的工具箱中找不到按钮和gridview控件
【发布时间】:2020-06-04 06:13:46
【问题描述】:

我有问题 我更新了 Visual Studio 的最新版本。

但是! 在.Net Core WinForm App的工具箱中找不到按钮和gridview控件

当然是预览版我有这个问题

enter image description here

【问题讨论】:

  • 请发布您的 Visual Studio 版本号和 .NET Core 版本号。此外,GridView 不适用于 .NET Core,仅适用于 .NET (Classic)。

标签: winforms .net-core


【解决方案1】:

要恢复 Button 控件,请参阅announcement of the Windows Forms Designer 的以下摘录;

某些用户可能看不到某些控件(如 Button、CheckBox 等) 在工具箱中。发生这种情况是由于 Toolbox 缓存损坏问题 这将在下一个版本中修复。同时,有一个简单的 在您的机器上修复它的方法:

右键单击工具箱 > 选择项目... 在选择工具箱项目中 对话框单击“重置”按钮这应该可以解决问题。

GridView 在 .NET Core 中不存在,但 DataGridView 将在未来发布。见公告。

【讨论】:

    猜你喜欢
    • 2020-06-30
    • 1970-01-01
    • 2021-09-02
    • 1970-01-01
    • 1970-01-01
    • 2020-09-06
    • 2019-10-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多