关于C#面向对象中的查看类图(没有此按键的问题)的解决方法 The solution to view class diagrams in C # object-oriented (without th...

真正正确的操作方法是这样的(如下)

The real right way to do this is this (below)

3.类视图

当前项目上右键-->视图-->查看类图
可以看到类的继承关系图,以及类中的成员概况。
各位留意一下字段,属性,方法各自特有的图标。

 

3. Class View

Right---> View--> view class diagram on current item
You can see the inheritance diagram for the class, as well as the membership profile in the class.

可能出现的问题

Problems that may arise

当我们在VS2017中右键项目文件后会发现   在清理下面并没有视图这个选项,导致无法做到查看类图此功能

When we right-click the project file in VS2017, we find that there is no view at the bottom of this option, which makes it impossible to view the class diagram this feature

 

 

解决方法

Solution

第一步---先关闭vs2017,打开vs2017安装包,打开如下图所示

The first step---turn off vs2017, open the vs2017 installation package, and open the following image

首先确保此功能的安装,如下图

First ensure that this feature is installed, as shown in the following figure

第二步--检查Class Designer是否安装(以方便演示,我这没有安装),如果没有请勾选Class Designer,并且按modify(改变)按键

Step Two--check class Designer is installed (to facilitate demo, I do not install), if not please tick class Designer, and press Modify (change) button

 

第三步--等待其安装完成之后即可关闭进程,重新打开vs2017,即可发现已经有当前项目上右键-->视图-->查看类图  的功能了

Step three--wait for its installation to close the process, reopen the vs2017, you can find the current project has the right key--> view--> View the function of the class diagram

转载于:https://www.cnblogs.com/Jonathon/p/8459072.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值