您现在的位置:网站首页答辩论文计算机毕业设计计算机论文

VB 2005 电子书

  • 简介:  VB 2005 电子书
    类型:chm   
    • 请与管理员联系购买资料 QQ:5739126
  • 论文简介
  • 相关论文
  • 论文下载
  VB 2005 电子书
   Contents
   Introduction xxv
   Chapter 1: What Is Microsoft .NET? 1
   What Is .NET? 1
   A Broad and Deep Platform for the Future 2
   What’s Wrong with DNA and COM? 2
   An Overview of the .NET Framework 3
   The Common Language Runtime 4
   Key Design Goals 5
   Metadata 7
   Multiple-Language Integration and Support 7
   A Common Type System 8
   Namespaces 8
   The Next Layer—The .NET Class Framework 8
   What Is in the .NET Class Framework? 9
   User and Program Interfaces 10
   Windows Forms 11
   Web Forms 11
   Console Applications 12
   Web Services 12
   XML as the .NET Metalanguage 12
   The Role of COM 13
   No Internal Use of COM 13
   Some Things Never Change . . . 13
   .NET Drives Changes in Visual Basic 14
   How .NET Affects You 14
   A Spectrum of Programming Models 14
   Reducing Barriers to Internet Development 15
   Libraries of Prewritten Functionality 15
   Easier Deployment 15
   The Future of .NET 16
   Major Differences in .NET 2.0 16
   Summary 17
   Chapter 2: Introducing Visual Basic 2005 and Visual Studio 2005 19
   Visual Studio .NET—Startup 20
   Visual Studio .NET 21
   The Solution Explorer 22
   My Project 23
   References 24
   Assembly Information Screen 25
   The New Code Window 26
   The Properties Window 29
   Dynamic Help 30
   Working with Visual Basic 2005 31
   Form Properties Set in Code 32
   Enhancing the Sample Application 34
   Adding a Control and Event Handler 34
   Customizing the Code 35
   Build Configurations 40
   Building Applications 43
   Useful Features of Visual Studio 46
   The Task List 46
   The Command Window 47
   The Server Explorer 47
   Recording and Using Macros in Visual Studio 2005 49
   Summary 50
   Chapter 3: Variables and Type 51
   Differences of Value and Reference Types 52
   Value Types (Structures) 54
   Primitive Types 54
   Explicit Conversions 63
   Compiler Options 64
   Performing Explicit Conversions 66
   Reference Types (Classes) 68
   The Object Class 68
   The String Class 70
   The DBNull Class and IsDBNull() Function 72
   Arrays 73
   Collections 76
   Parameter Passing 78
   Contents
   Retired Keywords and Methods 80
   Elements of Visual Basic 6.0 Removed in .NET 80
   Summary 81
   Chapter 4: Object Syntax Introduction 83
   Object-Oriented Terminology 84
   Objects, Classes, and Instances 84
   Composition of an Object 85
   Working with Objects 88
   Object Declaration and Instantiation 88
   Object References 90
   Dereferencing Objects 90
   Early versus Late Binding 90
   Creating Classes 94
   Creating Basic Classes 94
   Constructor Methods 114
   Termination and Cleanup 115
   Advanced Concepts 116
   Overloading Methods 116
   Overloading Constructor Methods 119
   Shared Methods, Variables, and Events 120
   Operator Overloading 125
   Delegates 128
   Classes versus Components 133
   Summary 134
   Chapter 5: Inheritance and Interfaces 137
   Inheritance 138
   Implementing Inheritance 140
   Multiple Interfaces 187
   Object Interfaces 187
   Secondary Interfaces 189
   Summary 195
   Chapter 6: The Common Language Runtime 197
   Elements of a .NET Application 198
   Modules 198
   Versioning and Deployment 201
   Better Support for Versioning 201
   Better Deployment 202
   Cross-Language Integration 203
   The Common Type System 203
   Metadata 204
   Better Support for Metadata 205
   Attributes 206
   The Reflection API 208
   IL Disassembler 209
   Memory Management 210
   Traditional “Garbage Collection” 211
   Faster Memory Allocation for Objects 218
   Garbage Collector Optimizations 220
   Summary 222
   Chapter 7: Applying Objects and Components 223
   Abstraction 223
   Encapsulation 227
   Polymorphism 230
   Method Signatures 230
   Implementing Polymorphism 230
   Inheritance 241
   When to Use Inheritance 242
   Inheritance and Multiple Interfaces 246
   How Deep to Go? 252
   Fragile Base Class Issue 254
   Summary 257
   Chapter 8: Generics 259
   Using Generics 260
   Generic Types 261
   Generic Methods 265
   Creating Generics 267
   Generic Types 267
   Generic Methods 275
   Constraints 276
   Generics and Late Binding 280
   Summary 281
   xiii
   Chapter 9: Namespaces 283
   What Is a Namespace? 284
   Namespaces and References 287
   Common Namespaces 289
   Importing and Aliasing Namespaces 291
   Importing Namespaces 292
   Referencing Namespaces in ASP.NET 293
   Aliasing Namespaces 294
   Creating Your Own Namespaces 295
   My 298
   My.Application 299
   My.Computer 303
   My.Forms 307
   My.Resources 308
   My.User 308
   My.WebServices 308
   Summary 309
   Chapter 10: Exception Handling and Debugging 311
   A Brief Review of Error Handling in VB6 312
   Exceptions in .NET 314
   Important Properties and Methods of an Exception 314
   How Exceptions Differ from the Err Object in VB6 315
   Structured-Exception-Handling Keywords in VB.NET 315
   The Try, Catch, and Finally Keywords 316
   The Throw Keyword 318
   Throwing a New Exception 319
   The Exit Try Statement 320
   Nested Try Structures 321
   The Message Property 323
   The InnerException and TargetSite Properties 323
   Interoperability with VB6-Style Error Handling 328
   Error Logging 329
   Writing to Trace Files 333
   Analyzing Problems and Measuring Performance via the Trace Class 335
   Summary 338
   ......
查看评论 已有0位网友发表了看法
  • 验证码: