ÓÑÇéÌáʾ£ºÈç¹û±¾ÍøÒ³´ò¿ªÌ«Âý»òÏÔʾ²»ÍêÕû£¬Çë³¢ÊÔÊó±êÓÒ¼ü¡°Ë¢Ð¡±±¾ÍøÒ³£¡
CÓïÑÔʵÀý½Ì³Ì(PDF¸ñʽ)-µÚ13²¿·Ö
¿ì½Ý²Ù×÷: °´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ °´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ °´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿! Èç¹û±¾ÊéûÓÐÔĶÁÍ꣬ÏëÏ´μÌÐø½Ó×ÅÔĶÁ£¬¿ÉʹÓÃÉÏ·½ "Êղص½ÎÒµÄä¯ÀÀÆ÷" ¹¦ÄÜ ºÍ "¼ÓÈëÊéÇ©" ¹¦ÄÜ£¡
Æä½á¹ûÊDz»È·¶¨µÄ¡£»¹ÓУ¬ÓÉÓÚ³éÏóÀàµÄÎö¹¹º¯Êý¿ÉÒÔ±»Éù¡¡
Ã÷Ϊ´¿Ð麯Êý£¬Õâʱ£¬ÎÒÃÇÓ¦¸ÃÖÁÉÙÌṩ¸ÃÎö¹¹º¯ÊýµÄÒ»¸ö¡¡
ʵÏÖ¡£Ò»¸öºÜºÃµÄʵÏÖ·½Ê½ÊǵijéÏóÀàÖÐÌṩһ¸öĬÈϵÄÎö¡¡
¹¹º¯Êý£¬¸ÃÎö¹¹º¯Êý±£Ö¤ÖÁÉÙÓÐÎö¹¹º¯ÊýµÄÒ»¸öʵÏÖ´æÔÚ¡£¡¡
ÈçÏÂÃæµÄÀý×ÓËùʾ£º¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡108¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
class¡¡classname¡¡¡¡
£û¡¡¡¡
//¡¡ÆäËü³ÉÔ±¡¡¡¡
public£º¡¡¡¡
~classname£¨£©=0¡¡¡¡
£û¡¡¡¡
//¡¡ÔÚ´ËÌí¼ÓÎö¹¹º¯ÊýµÄ´úÂë¡¡¡¡
£ý¡¡¡¡
£ý£»¡¡¡¡
ÓÉÓÚÅÉÉúÀàµÄÎö¹¹º¯Êý²»¿ÉÄܺͳéÏóÀàµÄÎö¹¹º¯ÊýͬÃû£¬Òò¡¡
´Ë£¬Ìṩһ¸öĬÈϵÄÎö¹¹º¯ÊýµÄʵÏÖÊÇÍêÈ«±ØÒªµÄ¡£ÕâÒ²ÊÇ¡¡
´¿ÐéÎö¹¹º¯ÊýºÍÆäËü´¿Ðé³ÉÔ±º¯ÊýµÄÒ»¸ö×î´óµÄ²»Í¬Ö®´¦¡£¡¡
Ò»°ãÇé¿öÏ£¬³éÏóÀàµÄÎö¹¹º¯ÊýÊÇÓÐÅÉÉúÀàµÄʵÏÖ¶ÔÏóÊÍ·Å¡¡
ʱÓÉÅÉÉúÀàµÄÎö¹¹º¯ÊýÒþº¬µÄËùµ÷Óõġ£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡µÚÎå½Ú¡¡ClassViewºÍWizardBar¡¡¡¡
Visual¡¡C£«£«ÔÚMicrosoft¡¡Developer¡¡StudioÖÐÌṩÁ˼¸¸ö¹¤¡¡
¾ßÀ´Ê¹Óõô´½¨ºÍ×éÖ¯Àà·Ç³£µÄ·½±ã¡£ÕâЩ¹¤¾ß°üÀ¨¡¡
ClassView¡¢WizardBarºÍClassWizard¡¡¡£ÆäÖÐClassWizardÖ»¡¡
ÄÜÓÃÓÚ»ùÓÚMFCÓ¦ÓóÌÐò£¬Òò´ËÎÒÃǽ«ÔÚÒÔºóµÄ²¿·ÖÖн²ÊöËü¡¡
µÄʹÓã¬ÔÚ±¾½ÚÖУ¬Ö»Éæ¼°ÁËClassViewºÍWizardBarÖеIJ¿¡¡
·ÖÄÚÈÝ¡£¡¡¡¡
2¡£5¡£1¡¡Ê¹ÓÃClassView¡¡¡¡
ʹÓÃClassView¿ÉÒÔÍê³ÉÒÔϹ¤×÷£º¡¡¡¡
¡¡¡¡n¡¡Ïò¹¤³ÌÖÐÌí¼ÓÐÂÀà¡¡¡¡
¡¡¡¡n¡¡ÏòÀàÖÐÌí¼Ó³ÉÔ±º¯ÊýºÍ³ÉÔ±±äÁ¿¡¡¡¡
¡¡¡¡n¡¡ÖØÔØ»ùÀàÖеÄÐ麯Êý¡¡¡¡
¡¡¡¡n¡¡Ìí¼ÓÏûÏ¢´¦Àí³ÌÐò¡¡¡¡
¡¡¡¡n¡¡Ìøתµ½Àà»ò³ÉÔ±µÄ¶¨Òå¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡109¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
n¡¡Ìøתµ½Àà»ò³ÉÔ±µÄÒýÓá¡¡¡
n¡¡ÏÔʾÅÉÉúÀà»ò»ùÀàµÄͼÐΡ¡¡¡
n¡¡½«ÀàÌí¼Óµ½GalleryÖÐÒÔ±ãÒÔºóÖØÓá¡¡¡
n¡¡ÔÚ³ÉÔ±º¯ÊýÖÐÉèÖöϵ㡡¡¡
n¡¡Ê¹Ó÷ÃÎÊÀàÐÍ×éÖ¯ÀàµÄ³ÉÔ±¡¡¡¡
n¡¡Ïò½Ó¿ÚÖÐÌí¼ÓÊôÐԺͷ½·¨¡¡¡¡
n¡¡ÏòActiveX¿Ø¼þÌí¼Óʼþ¡¡¡¡
n¡¡ÔÚ¹¤³Ì¿Õ¼äÖд´½¨ÐµÄÎļþ¼Ð¡¡¡¡
n¡¡²ì¿´À༰Æä³ÉÔ±µÄÊôÐÔ¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Í¼2¡£¡¡7¡¡¹¤³ÌClassViewDemoµÄClassView´°¸ñ¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡110¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Í¼2¡£8¡¡Ð½¨ÀàµÄ¶Ô»°¿ò¡¡¡¡
ΪÁ˽øÐÐÏÂÃæµÄʾÀý£¬Ê×ÏÈ´´½¨Ò»¸ö¿ÕµÄWin32¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Console¡¡¡¡
Application¹¤³Ì£¬ÕâÀÎÒÃǼٶ¨¹¤³ÌÃûΪ¡¡
ClassViewDemo£¬µ±È»£¬ÄãÒ²¿ÉÒÔʹÓÃÆäËüµÄ¹¤³ÌÃû¡£¡¡¡¡
ÔÚWorkspace´°¿ÚÖдò¿ªClassView´°¸ñ£¬Èçͼ2¡£7Ëùʾ¡£ÏÂÃæ¡¡
ÎÒÃÇʹÓÃClassViewÏò¹¤³ÌÖÐÌí¼ÓÒ»¸öÀàCreature¡£·½·¨Èç¡¡
Ï£º¡¡¡¡
1¡£¡¡ÓÒ»÷ClassViewDemo¡¡classes½Úµã£¬Ñ¡ÔñNew¡¡ClassÃüÁ¡¡
³öÏÖÈçͼ2¡£8µÄ¶Ô»°¿ò¡£¡¡¡¡
2¡£¡¡¡¡¡¡¡¡ÔÚName´¦ÊäÈëеÄÀàÃû£¬È·ÈÏÔÚClass¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡TypeÖÐÑ¡ÔñÁË¡¡
Generic¡¡Class£¬¶ÔÓÚWin32¡¡Console¡¡Application£¬ÕâÒ²ÊÇ¡¡
Ψһ¿ÉÓõÄÑ¡Ïî¡£¡¡¡¡
3¡£¡¡¡¡¡¡¡¡¡¡Èç¹ûÐèÒª£¬¿ÉÒÔÔÚÏÂÃæµÄBase¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡class£¨es£©ÖÐÑ¡ÔñÀà¡¡
CreatureµÄ»ùÀàºÍ¼Ì³Ð·½Ê½¡£ÕâÀÎÒÃDz»ÐèҪΪÀà¡¡
CreatureÖ¸¶¨»ùÀà¡£¡¡¡¡
4¡£¡¡¡¡µ¥»÷File¡¡¡¡name´¦µÄChange°´Å¥¸Ä±äÀàµÄÍ·ÎļþºÍʵÏÖÎÄ¡¡
¼þΪcreature¡£hºÍcreature¡£cpp¡£¡¡¡¡
5¡£¡¡×îºó£¬µ¥»÷OKÍê³É¡£¡¡¡¡
Õâʱ£¬Visual¡¡C£«£«×Ô¶¯Éú³ÉÁËÏÂÃæµÄÁ½¸öÎļþ£º¡¡¡¡
creature¡£h£º¡¡¡¡
//¡¡creature¡£h£º¡¡interface¡¡for¡¡the¡¡Creature¡¡class¡£¡¡¡¡
//¡¡¡¡
//////////////////////////////////////////////////////////////////////¡¡¡¡
#if¡¡£¡defined¡¡
£¨AFX_CREATURE_H__90147538_FA97_11D1_BBF0_0000B4810A31__INCLUDED_£©¡¡¡¡
#define¡¡AFX_CREATURE_H__90147538_FA97_11D1_BBF0_0000B4810A31__INCLUDED_¡¡¡¡
#if¡¡_MSC_VER¡¡¡·=¡¡1000¡¡¡¡
#pragma¡¡once¡¡¡¡
#endif¡¡//¡¡_MSC_VER¡¡¡·=¡¡1000¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡111¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
class¡¡Creature¡¡¡¡¡¡
£û¡¡¡¡
public£º¡¡¡¡
Creature£¨£©£»¡¡¡¡
virtual¡¡~Creature£¨£©£»¡¡¡¡
£ý£»¡¡¡¡
#endif¡¡//¡¡£¡defined¡¡
£¨AFX_CREATURE_H__90147538_FA97_11D1_BBF0_0000B4810A31__INCLUDED_£©¡¡¡¡
creature¡£cpp£º¡¡¡¡
//¡¡creature¡£cpp£º¡¡implementation¡¡of¡¡the¡¡Creature¡¡class¡£¡¡¡¡
//¡¡¡¡
//////////////////////////////////////////////////////////////////////¡¡¡¡
#include¡¡¡¨¡¨¡¡¡¡
#include¡¡¡¨creature¡£h¡¨¡¡¡¡
//////////////////////////////////////////////////////////////////////¡¡¡¡
//¡¡Construction/Destruction¡¡¡¡
//////////////////////////////////////////////////////////////////////¡¡¡¡
Creature£º£ºCreature£¨£©¡¡¡¡
£û¡¡¡¡
£ý¡¡¡¡
Creature£º£º~Creature£¨£©¡¡¡¡
£û¡¡¡¡
£ý¡¡¡¡
ÕâÀÎÒÃÇÐèҪɾµôcreature¡£cppÎļþÖеġ¡¡¡
#include¡¡¡¨¡¨¡¡¡¡
Ò»ÐС£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡112¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
ÔÚÉÏÃæµÄ¹ý³ÌÖУ¬»¹¡¡×Ô¶¯Éú³ÉµÄÀàCreatureµÄ¹¹Ô캯ÊýºÍÎö¡¡
¹¹º¯ÊýµÄ¿ò¼Ü£¬²¢ÇÒ£¬ÆäÎö¹¹º¯Êý»¹±»ÉùÃ÷ΪÐ麯Êý¡£¡¡¡¡
ÏÂÃæµÄ²½ÖèÌí¼ÓÀàCreatureµÄ³ÉÔ±º¯ÊýKindOf£º¡¡¡¡
1¡£¡¡¡¡¡¡¡¡¡¡ÔÚClassViewÖÐÓÒ»÷ÀàCreature£¬Ñ¡ÔñAdd¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Member¡¡¡¡
Function£¬µ¯³öÈçͼËùʾµÄ¶Ô»°¿ò¡£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Í¼2¡£9¡¡Ìí¼Ó³ÉÔ±º¯Êý¡¡¡¡
2¡£¡¡¡¡ÔÚFunction¡¡Type´¦ÊäÈëchar¡¡¡¡*¡£È»ºóÔÚ¶Ô»°¿òÏ·½Ñ¡Ôñ¡¡
Virtual¸´Ñ¡¿ò£¬Õâµ¼ÖÂStatic¸´Ñ¡¿ò²»¿ÉÓã¬ÒòΪͬһ¸ö³É¡¡
Ô±º¯Êý²»¿ÉÄܼÈÊÇÐ麯Êý£¬ÓÖÊǾ²Ì¬º¯Êý£¬Õâʱ£¬ÔÚ¡¡
Function¡¡Declaration´¦×Ô¶¯Ìí¼ÓÉÏÁËvirtual¹Ø¼ü×Ö¡£È·ÈÏ¡¡
ÔÚAccess´¦Ñ¡ÔñÁËPublic£¬È»ºó£¬ÔÚFunction¡¡¡¡Declaration¡¡
´¦ÊäÈ뺯ÊýÃûKindOf£¬µ¥»÷OKÍê³É¡£¡¡¡¡
Ë«»÷ClassViewÖеÄKindOf£¬Microsoft¡¡Developer¡¡Studio½«¡¡
´ò¿ªÎļþcreature¡£cpp£¬½«½«²åÈëµã¶¨Î»µ½º¯ÊýKindOfµÄ¶¨¡¡
Òå´¦¡£ÔÚ´ËÌí¼ÓÏÂÃæµÄ´úÂ룺¡¡¡¡
char*¡¡Creature£º£ºKindOf£¨£©¡¡¡¡
£û¡¡¡¡
return¡¡¡¨Creature¡¨£»¡¡¡¡
£ý¡¡¡¡
ÏÂÃæÒÔÀàËƵķ½Ê½Éú³ÉÀàAnimal£¬Ê¹Æä»ùÀàΪCreature£¬¼Ì¡¡
³Ð·½Ê½Îªpublic¡£²¢½«ÆäÍ·Îļþ¸ÄΪanimal¡£h£¬ÊµÏÖÎļþ¸Ä¡¡
Ϊanimal¡£cpp¡£Í¬Ñù£¬ÔÚanimal¡£cppÖÐɾ³ý¡¡¡¡
#include¡¡¡¨¡¨¡¡¡¡
Ò»ÐС£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡113¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¶ÔÓÚMFCÓ¦ÓóÌÐò£¬»¹¿ÉÒÔʹÓÃClassViewÀ´ÖØÔØ»ùÀàÖеÄÐé¡¡
º¯Êý£¬Õ⽫ÔÚ±¾ÊéºóÃæµÄÕ½ÚÖн²Êö¡£¶ø¶ÔÓÚ·ÇMFCÓ¦Óó̡¡
Ðò£¬ÎÒÃÇÈÔ¿ÉÒÔʹÓÃÉÏÃæµÄÌí¼Ó³ÉÔ±º¯ÊýµÄ·½·¨À´ÖØÔØ»ùÀà¡¡
ÖеÄÐ麯Êý£¬Ö»²»¹ýÕâʱ±ØÐëÊÖ¶¯µÄ¸ø³öÐ麯ÊýµÄ·µ»ØÀàÐÍ¡¡
ºÍ²ÎÊýÁÐ±í¡£¡¡¡¡
ʹÓÃÉÏÃæµÄ·½·¨À´Éú³ÉΪAnimalµÄÖØÔØÐ麯ÊýKindOf£¬Æä´ú¡¡
ÂëÒÑÔÚÉÏÒ»½ÚÖиø³ö¡£¡¡¡¡
È»ºóÔÙÐÂÌí¼ÓÒ»¸öC£«£«¡¡Source¡¡File¡ª¡ªmain¡£cpp£¬²¢ÔÚÆäÖС¡
¶¨Òå³ÌÐòµÄÖ÷º¯Êýmain£¨£©¡£¡¡¡¡
ÓÉÓÚÎÒÃÇ¡¡Ä¿Ç°»¹Ã»ÓнÓÈ·µ½MFC±à³Ì£¬Òò´Ë£¬ÏÖÔÚ»¹²»Äܽ²½â¡¡
ClassViewµÄij´ËÓ÷¨¡£ÔÚ±¾ÊéºóÃæµÄÕ½ÚÖУ¬ÎÒÃǽ«»áÔÚÓá¡
µ½ÕâЩ¹¦ÄܵÄʱºò½²½âËüÃÇ¡£¡¡¡¡
2¡£5¡£2¡¡Ê¹ÓÃWizardBar¡¡¡¡
WizardBarÊÇMicrosoft¡¡Developer¡¡StudioÖеÄÒ»¸ö¹¤¾ßÌõ£¬¡¡
Èçͼ2¡£10Ëùʾ¡£ËüÌṩÁ˶ÔClassViewºÍClassWizard¡¡¡¡¡¡£¨¹ØÓÚ¡¡
ClassWizardµÄʹÓý«ÔÚºóÃæµÄÕ½ÚÖн²Êö£©ÖеÄÃüÁîµÄ¿ìËÙ¡¡
·ÃÎÊ¡£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Í¼2¡£10¡¡WizardBar¡¡¡¡
WizardBar¹¤¾ßÌõÖеÄÏÔʾµÄÄÚÈÝÊÇÓ뵱ǰÉÏÏÂÎÄÏà¹ØÁªµÄ£¬¡¡
Ò²¾ÍÊÇ˵£¬Ëæ×ŵ±Ç°ÉÏÏÂÎĵĸı䣬WizardBarµÄÏÔʾҲ»á¸Ä¡¡
±ä¡£Í¼2¡£10ÊÇÔÚClassViewÖÐË«»÷ÀàAnimalµÄ¹¹Ô캯ÊýÖ®ºóµÄ¡¡
WizardBar¡£¡¡¡¡
¿ÉÒÔʹÓÃWizardBarÀ´Íê³ÉÏÂÃæµÄÕâЩ²Ù×÷£º¡¡¡¡
¡¡¡¡n¡¡Ìøתµ½º¯ÊýµÄ¶¨Òå¡¡£¨ÊµÏÖ£©´¦¡¡¡¡
¡¡¡¡n¡¡Ìøתµ½º¯ÊýµÄÉùÃ÷´¦¡¡¡¡
¡¡¡¡n¡¡Ìøתµ½ÀàµÄ¶¨Òå´¦¡¡¡¡
¡¡¡¡n¡¡Ìí¼Ó´°¿ÚÏûÏ¢´¦Àíº¯Êý¡¡¡¡
¡¡¡¡n¡¡Ìí¼ÓÐ麯Êý¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡114¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡n¡¡Ìí¼Ó³ÉÔ±º¯Êý¡¡¡¡
¡¡¡¡n¡¡Ìí¼ÓÐÂÀà¡¡¡¡
¡¡¡¡n¡¡Ìøתµ½ÎļþÖеÄÏÂÒ»¸öº¯Êý¡¡¡¡
¡¡¡¡n¡¡Ìøתµ½ÎļþÖеÄÇ°Ò»¸öº¯Êý¡¡¡¡
¡¡¡¡n¡¡´ò¿ª°üº¬Îļþ¡¡¡¡
¡¡¡¡n¡¡»ñµÃ¹ØÓÚWizardBarµÄ°ïÖú¡¡¡¡
WizardBarÖÐ×î×ó±ßµÄÏÂÀÁбí¿ò±»³Æ×÷ÀàÁÐ±í¡¡£¨Class¡¡¡¡
List£©£¬ËüÁоÙÁ˵±Ç°¹¤³ÌÖÐËùÓпÉÓõÄÀࣻÖмäµÄÏÂÀÁÐ±í¡¡
¿ò±»³Æ×÷¹ýÂËÆ÷ºÍ³ÉÔ±ÁÐ±í¡¡£¨FilterºÍMember¡¡¡¡¡¡¡¡¡¡¡¡List£©£¬¶ÔÓÚ¡¡
Visual¡¡¡¡¡¡¡¡¡¡C£«£«¹¤³Ì£¬¿ÉÒÔͨ¹ý¹ýÂËÆ÷ºÍ³ÉÔ±ÁбíÖ¸¶¨ÔÚ¡¡
WizardBarÖÐÁгöµÄÄÚÈÝ£¬¼´ÊÇÁгöËùÓеÄÀà³ÉÔ±£¬»¹ÊÇÓëÌØ¡¡
¶¨µÄ×ÊÔ´IDÏà¹ØÁªµÄ³ÉÔ±£»×îÓұߵIJ¿·Ö±»³Æ×÷WizardBarÐС¡
Ϊ¿Ø¼þ£¬°üÀ¨Á½¸ö²¿·Ö£¬Ò»¸ö°´Å¥ºÍλÓÚ°´Å¥ÓұߵÄϼý¡¡
Í·¡£µ¥»÷ϼýÍ·¿ÉÒÔ³öÏÖÈçͼ2¡£11ËùʾµÄÏÂÀ²Ëµ¥£¬²Ëµ¥ÖС¡
¸÷ÏîµÄÒâÒå·Ç³£Ö®Ö±¹Û£¬ÕâÀï²»ÔÙ׸Êö¡£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Í¼2¡£¡¡11¡¡WizardBarÐÐΪ²Ëµ¥¡¡¡¡
×¢ÒâÔÚͼ2¡£11Öб»ÒÔ´ÖÌåÏÔʾµÄ²Ëµ¥ÏÕâЩÏî±»³ÆΪ¡¡
WizardBarĬÈÏÐÐΪ¡£ÔÚÒÔϼ¸ÖÖÇé¿öÏ£¬WizardBarµÄĬÈÏ¡¡
ÐÐΪ±»Ö´ÐУº¡¡¡¡
¡¡¡¡n¡¡µ¥»÷ÁËϼýÍ·×ó±ßµÄͼ±ê°´Å¥¡¡¡¡
¡¡¡¡n¡¡ÔÚWizardBarµÄÏÂÀÁбíÖа´ÏÂÁ˻سµ¼ü¡¡¡¡
¡¡¡¡n¡¡ÔÚ¶Ô»°¿ò±à¼Æ÷ÖÐË«»÷ÁËij¸ö¿Ø¼þ¡¡¡¡
µ±²»Í¬µÄWizardBarµÄÏÂÀÁбí¿ò»ñµÃÊäÈë½¹µãʱ£¬¡¡
WizardBar²ÉÈ¡²»Í¬µÄĬÈÏÐÐΪ£¬Èç±íËùʾ¡£¡¡¡¡
¡¡¡¡¡¡¡¡±í2¡£¡¡7¡¡²»Í¬µÄÏÂÀÁбí¿ò¾ßÓÐÊäÈë½¹µãʱWizardBarµÄ²»Í¬Ä¬ÈÏÐÐΪ¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡115¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡»ñµÃÊäÈë½¹µãµÄÏÂÀ¡¡¡¡¡¡¡¡WizardBar²ÉÓõÄĬÈÏÐÐΪ¡¡¡¡
¡¡¡¡Áбí¿ò¡¡¡¡
¡¡¡¡ÀàÁÐ±í¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ìøתµ½Ñ¡¶¨µÄÀàÖÐÒÔ×ÖĸÅÅÐòµÄµÚÒ»¸ö³ÉÔ±¡£Èç¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¹ûÀàÖÐûÓÐʵÏÖÈκκ¯ÊýºÍ·½·¨£¬Ôòµ¯³öÒ»¸ö¶Ô¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡»°¿òΪÀà´´½¨ÐµijÉÔ±º¯ÊýºÍ·½·¨¡£¶ÔÓÚC£«£«È«¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¾ÖÀà¡¡£¨global¡¡¡¡classes£©£¬¸Ã¶Ô»°¿òÌáʾ´´½¨Ðµġ¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Àà¡£¡¡¡¡
¡¡¡¡¹ýÂËÆ÷ºÍ³ÉÔ±ÁÐ±í¡¡¡¡¡¡¡¡¡¡Èç¹ûλÓÚÒ»¸ö×ÊÔ´IDÉÏ£¬Ä¬ÈÏÐÐΪΪÌøתµ½ÒÔ×Ö¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ä¸ÅÅÐòµÄµÚÒ»¸öÏûÏ¢µÄ´¦Àíº¯Êý´¦¡£Èç¹ûûÓд´¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡½¨ÈκÎÏûÏ¢´¦Àíº¯Êý£¬Ôòµ¯³öÒ»¸ö¶Ô»°¿òÒÔ´´½¨¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÐµÄÏûÏ¢´¦Àíº¯Êý¡£¡¡¡¡
¡¡¡¡³ÉÔ±ÁÐ±í¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ä¬ÈÏÐÐΪΪÌøתµ½Ñ¡¶¨µÄ³ÉÔ±µÄ¶¨Òå´¦¡£¡¡¡¡
ΪÁ˸ü¿ìµÄ·ÃÎÊWizardBarÌṩµÄ¹¦ÄÜ£¬¿ÉÒÔΪWizardBarÀà¡¡
ÁÐ±í¡¢¹ýÂËÆ÷ÁÐ±í¡¢³ÉÔ±ÁбíºÍÐÐΪ°´Å¥ÉèÖÿì½Ý¼ü£¬µ±°´¡¡
ÏÂËùÉèÖõĿì½Ý¼üʱ£¬WizardBarÖеÄÏàÓ¦ÔªËØ»ñµÃÊäÈë½¹¡¡
µã£»Ò²¿ÉÒÔΪÔÚÏÂÀÁбíÖиø³öµÄÆäËüWizardBarÐÐΪÉèÖÃÏà¡¡
Ó¦µÄ¿ì½Ý¼ü£¬µ±ÕâЩ¿ì½Ý¼ü±»°´ÏÂʱ£¬ÏàÓ¦µÄÐÐΪ½«±»Ö´¡¡
ÐС£ÎªWizardBarÉèÖÿì½Ý¼üµÄ·½·¨ÈçÏ£º¡¡¡¡
1¡£¡¡Ñ¡ÔñTools²Ëµ¥ÏµÄCustomizeÃüÁ´ò¿ªÈçͼ2¡£12ËùʾµÄ¡¡
¶Ô»°¿ò¡£¡¡¡¡
2¡£¡¡¡¡¡¡¡¡¡¡ÔÚCategoryÏÂÀÁбí¿òÖÐÑ¡ÔñWizardBar¡£È»ºó£¬ÔÚ¡¡
mandsÁбí¿òÖÐÑ¡ÔñÐèÒªÉèÖÿì½Ý¼üµÄÃüÁî¡£Õâʱ£¬ÔÚ¡¡
Description´¦¾Í»á³öÏÖ¸ÃÃüÁîµÄÏàÓ¦µÄ¼òµ¥µÄÓ¢ÎĽâÊÍ£¬Òò¡¡
´Ë£¬ÎÒÃÇÕâÀïÎÞÐèÔÙ¶ÔÈ«²¿µÄÃüÁî¸ø³öÏêϸµÄ˵Ã÷£¬ÆäÖжԡ¡
Ó¦ÓÚWizardBarÀàÁÐ±í¡¢¹ýÂËÆ÷ÁÐ±í¡¢³ÉÔ±ÁбíºÍÐÐΪ°´Å¥µÄ¡¡
ÃüÁî·Ö±ðΪWBActionButtonActive¡¢WBClassboActive¡¢¡¡
WBFilterboActive¡¢WBMemberboActive¡£¡¡¡¡
3¡£¡¡È»ºóµ¥»÷Press¡¡new¡¡shortcut£¬²¢°´ÏÂеĿì½Ý¼ü£¬Èç¹û¡¡
еĿì½Ý¼ü¿ÉÓã¬ÔòËü½«³öÏÖÔÚPress¡¡¡¡new¡¡¡¡shortcutÎı¾¿ò¡¡
ÖУ¬µ¥»÷Assign°´Å¥£¬¼´¿É½«ÐµĿì½Ý¼üÓëÖ¸¶¨µÄÃüÁîÏà¹Ø¡¡
Áª¡£¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡116¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Í¼2¡£¡¡12¡¡ÎªWizardBarÉèÖÿì½Ý¼ü¡¡¡¡
n¡¡×¢Ò⣺¡¡¡¡
n¡¡²»¿ÉÒÔʹÓÃÄÇЩÒѱ»ÏµÍ³±£ÁôµÄ¿ì½Ý¼ü£¬ÈçESC¡¢F1¡¢¡¡
¡¡Ctrl£«Alt£«DelµÈ¡£¡¡¡¡
n¡¡Èç¹ûËùÉèÖõĿì½Ý¼üÒѱ»ÆäËüÃüÁîʹÓã¬ÔòÔÚPress¡¡new¡¡¡¡
¡¡shortcutÏ·½µÄCurrently¡¡assigned¡¡to´¦½«¸ø³öÓë¸Ã¿ì¡¡
¡¡½Ý¼üÏà¹ØÁªµÄµ±Ç°ÃüÁÈç¹ûÕâʱ°´ÏÂAssign°´Å¥£¬Ôò¡¡
¡¡¸Ã¿ì½Ý¼ü½«ÓëÐÂÉ趨µÄÃüÁîÏà¹ØÁª£¬ÓëÔÃüÁîµÄ¹ØÁª½«¡¡
¡¡¡¡×Ô¶¯Ê§Ð§¡£µ¥»÷Reset¡¡All¿ÉÒÔ»Ö¸´Microsoft¡¡¡¡
¡¡Developer¡¡StudioÔÓеÄĬÈÏÉèÖᣡ¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Page¡¡117¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡µÚÈýÕ¡¡Win32Ó¦ÓóÌÐòÉè¼Æ¡¡¡¡
ÔÚ¹ýÈ¥£¬½øÐÐWindows³ÌÐòÉè¼ÆÊÇÒ»¼þÍ´¿àÒì³£µÄÊÂÇ飬ÔÒòÊÇÄÇʱ¡¡
ºò»¹Ã»ÓÐÏÖÔÚµÄÕâЩÉè¼Æ¾«ÃÀµÄÓ¦ÓóÌÐò¿ª·¢¹¤¾ß¡£ÔÚ½ñÌ죬һ¸ö¶Ô¡¡
Windows³ÌÐòÔËÐеÄÄÚ²¿»úÖƼ¸ºõÒ»ÎÞËùÖªµÄ³õÈëÃÅÕߣ¬Ö»ÐèҪͨ¹ý¡¡
²»µ½Ò»ÌìµÄѧϰ£¬Ò²¿ÉÒÔʹÓÃÈçVisual¡¡¡¡BasicÖ®ÀàµÄ³ÌÐò¿ª·¢¹¤¾ß´´¡¡
½¨³ö¹¦ÄÜÍêÕûµÄWindowsÓ¦ÓóÌÐò¡£ÕâÔÚ¼¸ÄêÇ°»¹ÊÇÒ»¼þ²»¿É˼ÒéµÄ¡¡
Ê£¬ÒòΪ¼´Ê¹ÊÇÒ»¸öÊìÁ·ÕÆÎÕCÓïÑԵijÌÐòÔ±£¬ÔÚµ±Ê±²î²»¶àÐèÒª°ë¡¡
ÄêµÄѧϰ²Å¿ÉÒÔ½ÏÈ«ÃæµÄÕÆÎÕWindowsµÄ±à³Ì¼¼Êõ£¬¶øÇÒ£¬ÓëÔÚDOS»·¡¡
¾³Ï±à³ÌÏà±È£¬¼±¾çÅòÕ͵ij̶ȴúÂë´ó´óÔö¼ÓÁ˳ÌÐòµ÷ÊÔµÄÀ§ÄÑ£¬´Ó¡¡
¶øʹµÃ±àдһ¸ö³öÉ«µÄWindowsÓ¦ÓóÌÐòÒª±È±àдһ¸ö³öÉ«µÄDOSÐèÒª¡¡
¿¼ÂǶàµÃ¶àµÄ¶«Î÷¡£¡¡¡¡
ÔÚMicrosoftµÄÁíÒ»ÖÖÒ×ѧÒ×Óõıà³Ì¹¤¾ßVisual¡¡¡¡¡¡BasicÖУ¬´ÓijÖÖ¡¡
½Ç¶È˵£¬Windows³ÌÐò²»ÊDZà³öÀ´µÄ£¬¶øÊÇÓɳÌÐòÔ±»³öÀ´µÄ¡£µ«ÊÇ¡¡
ÒªÖªµÀ£¬Ò»¸ö³öÉ«µÄWindowsµÄÓ¦ÓóÌÐò²¢²»½öÔÚÓÚÔÚÆÁÄ»ÉÏ»æ³ö³Ì¡¡
ÐòµÄ¸÷¸ö´°¿ÚºÍÔÚ´°¿ÚÖÐÇ¡µ±µÄ°²ÅÅÿһ¸ö¿Ø¼þ¡£¶ÔÓÚ¾ßÓÐÒ»¶¨»ù´¡¡¡
µÄ³ÌÐòÔ±¶øÑÔ£¬¸üÖØÒªµÄÄÚÈÝÔÚÓÚÖªµÀWindowsºÍWindowsÓ¦ÓóÌÐòµÄ¡¡
ÔËÐлúÖÆ£¬ÒÔ¼°ËüÃÇÖ®¼äÒÔºÎÖÖ·½Ê½À´½øÐÐͨÐÅ£¬È»¶ø£¬Ã÷È·¡¡×Ô¼ºÔÚ¡¡
±àдWindowsʱËùÐè×öµÄ¹¤×÷ÊÇÄÄһЩ¡£»»¾ä»°Ëµ£
¿ì½Ý²Ù×÷: °´¼üÅÌÉÏ·½Ïò¼ü ¡û »ò ¡ú ¿É¿ìËÙÉÏÏ·ҳ °´¼üÅÌÉ쵀 Enter ¼ü¿É»Øµ½±¾ÊéĿ¼ҳ °´¼üÅÌÉÏ·½Ïò¼ü ¡ü ¿É»Øµ½±¾Ò³¶¥²¿!
ÎÂÜ°Ìáʾ£º ο´Ð¡ËµµÄͬʱ·¢±íÆÀÂÛ£¬Ëµ³ö×Ô¼ºµÄ¿´·¨ºÍÆäËüС»ï°éÃÇ·ÖÏíÒ²²»´íŶ£¡·¢±íÊéÆÀ»¹¿ÉÒÔ»ñµÃ»ý·ÖºÍ¾Ñé½±Àø£¬ÈÏÕæдԴ´ÊéÆÀ ±»²ÉÄÉΪ¾«ÆÀ¿ÉÒÔ»ñµÃ´óÁ¿½ð±Ò¡¢»ý·ÖºÍ¾Ñé½±ÀøŶ£¡