阅读:1535回复:0
vs2005里面做.net workthrough遇到的问题:(
vs2005里面做.net workthrough遇到的问题:(<BR><BR>
<DIV >在vs05里面我做.net help里面的workthrough2,可是遇到了一下问题(先装的2005,然后.net1.1,然后ae9.0,应该没有什么问题的):<BR>里面有一步就是从继承basecommand,<FONT color=navy><B>Inherit the <I>BaseCommand</I> abstract class,</B> In the FullExtent.cs code window, specify that the <I>FullExtent</I> class inherits from the <I>BaseCommand</I> abstract class as shown below. Also add the <I>sealed</I> class modifier.<BR><B><FONT color=blue>public</FONT> <FONT color=blue>sealed</FONT> <FONT color=blue>class</FONT> FullExtent : BaseCommand</B><B>我照改了,</B>namespace Walkthrough2CS<BR>{<BR> public sealed class FullExtent : BaseCommand<BR> {<BR> }<BR>}下来一步问题就出现了,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.<BR>3. Navigate to the <I>BaseCommand</I> of the <I>FullExtent</I> class, and select the <I>OnCreate</I> method.<BR>4. Right-click <I>OnCreate</I> , click Add, then click Override.<BR>理想的情况在vs2003里应该是图1<IMG src="http://bbs.esrichina-bj.cn/ESRI/attachments/forumid_26/zt6x6szi_YyI9wD6ji5X5.jpg" border=0>的样子,可是我在05里面就是找不到里面说的add->override,见图2<IMG src="http://bbs.esrichina-bj.cn/ESRI/attachments/forumid_26/Clipboard_sqxOwGaBkxkg.jpg" border=0>,这是怎么回事呢????小弟初学,还请各位多多指教阿!!十分郁闷……</FONT></DIV> |
|