默认头像
路人甲
路人甲
  • 注册日期2005-09-14
  • 发帖数47
  • QQ
  • 铜币277枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1533回复:0

vs2005里面做.net workthrough遇到的问题:(

楼主#
更多 发布于:2007-02-04 19:45
vs2005里面做.net workthrough遇到的问题:(

在vs05里面我做.net help里面的workthrough2,可是遇到了一下问题(先装的2005,然后.net1.1,然后ae9.0,应该没有什么问题的):
里面有一步就是从继承basecommand,Inherit the BaseCommand  abstract class, In the FullExtent.cs code window, specify that the FullExtent  class inherits from the BaseCommand  abstract class as shown below. Also add the sealed  class modifier.
public sealed class FullExtent : BaseCommand我照改了,namespace Walkthrough2CS
{
   public sealed class FullExtent : BaseCommand
   {
   }
}下来一步问题就出现了,2.   Display the Class View window. To open the Class View window, either press Ctrl+Shift+C or choose Class View on the View menu.
3.   Navigate to the BaseCommand  of the FullExtent class, and select the OnCreate  method.
4.   Right-click OnCreate , click Add, then click Override.
理想的情况在vs2003里应该是图1的样子,可是我在05里面就是找不到里面说的add->override,见图2,这是怎么回事呢????小弟初学,还请各位多多指教阿!!十分郁闷……
喜欢0 评分0
默认头像

返回顶部