资源描述:
《计算机科学与技术:VB.NET应用教程 978-7-302-09622-1 Advanced VB.NET Chapter 1》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、AdvancedVB.NET:ProgrammingWebandDesktopApplicationsinADO.NETandASP.NETChapter1AnEssentialIntroductionObjectivesCourseLayoutObjectOrientationPhilosophyAShortExampleClassesandNamespacesAnoverviewof.NETArchitectureLab1.1:Las-Vegas213Copyright2004PearsonEducation,Inc.CourseLayoutIntroductionChapte
2、r1ReviewandBoostChaptersChapters2and4Variables,Arrays,theIDE,Commands,Objects,etc.AdditionalAdvancedTopicsChapters5through8Directories,Files,AccessMethods,Graphics,MultithreadingADOChapters9through13Databaseconcepts,datasets,tables,rows,columns,relationships,constraints,etc.ASPChapters14through
3、16Webforms,Servercontrols,XMLWebservices,etc.4Copyright2004PearsonEducation,Inc.CoursePhilosophyHands-ontheoryapplicationIntroducetheoryDemonstratethetheoryTogetahandsonfeelingforitTiewhatisstudiedtoactualexamplesIntroducemoretheoryanddemonstrateitExercise/Review/RecitationLabsGuidedstep-by-ste
4、papplicationbuilding5Copyright2004PearsonEducation,Inc.ObjectivesCourseLayoutObjectOrientationPhilosophyAShortExampleClassesandNamespacesAnoverviewof.NETArchitectureLab1.1:Las-Vegas216Copyright2004PearsonEducation,Inc.TheUnderlyingPhilosophyofObjectsEverythinginVB.NETiscomposedofObjectsAnObject
5、isaninstantiation(fromthewordinstance)ofaClass.AClassisanabstractdefinitionofwhatanobjectcanbe.AnObjectisa“real”thing.Example:Adictionarydefinitionofa“Pen”isaClasswhileaspecificpeninyourhandisanobject.VB.NETisanEventDrivenLanguageNothinghappensunlessanEvent(suchasClick)occursonanObject(suchasaB
6、utton).7Copyright2004PearsonEducation,Inc.IDEClassesandObjectsClassObjectToolboxViewCodeViewDesign8Copyright2004PearsonEducation,Inc.ObjectOrientationClassObject(instantiatedclass)Properties(Height,BackColor…)Methods(Hide,Show…)Events(Click,Change…)ObjectsandCollectioncontainedintheobjectExampl
7、e:ButtonsinsideaFormobjectInheritSystem.ObjectNamespace9Copyright2004PearsonEducation,Inc.ClassesandObjectsClassAnabstraction,acategoryofwhatathing(anObject)canbeExamples“Table”“Textbox”“Form”ObjectAninstantiationofaclass,aspecifi