2555a

  • Upload
    myxro

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

  • 8/13/2019 2555a

    1/6

    Course Number: 2555A

    Delivery Guide

    Developing Microsoft.NET Applications for

    Windows (Visual C#.NET)

  • 8/13/2019 2555a

    2/6

  • 8/13/2019 2555a

    3/6

    Developing Microsoft .NET Applications for Windows (Visual C# .NET) iii

    Contents

    IntroductionCourse Materials......................................................................................................2

    Prerequisites.............................................................................................................3 Course Outline .........................................................................................................4

    Microsoft Certified Professional Program ...............................................................6

    Facilities...................................................................................................................8

    Module 1: Introducing Windows FormsOverview..................................................................................................................1

    Lesson: Creating a Form..........................................................................................2

    Lesson: Creating an Inherited Form.......................................................................20

    Lesson: Organizing Controls on a Form................................................................28

    Lesson: Creating MDI Applications ......................................................................36

    Lesson: An Overview of Lab Scenarios in Course 2555A,Developing .NET

    Windows Applications (Visual C# .NET) ...............................................................44 Review ...................................................................................................................55

    Lab 1: Creating Windows Forms...........................................................................57

    Module 2: Working With ControlsOverview..................................................................................................................1

    Lesson: Creating an Event Handler for a Control....................................................2

    Lesson: Using Windows Forms Controls ..............................................................12

    Lesson: Using Dialog Boxes in a Windows Forms Application............................32

    Lesson: Validating User Input ...............................................................................42

    Lesson: Adding Controls at Run Time ..................................................................50

    Lesson: Creating Menus ........................................................................................57

    Review ...................................................................................................................68Module 3: Building ControlsOverview..................................................................................................................1

    Lesson: Options for Creating Controls ....................................................................2

    Lesson: Adding Functionality to Controls .............................................................11

    Lesson: Adding Design-Time Support for Controls..............................................23

    Lesson: Licensing a Control ..................................................................................31

    Review ...................................................................................................................41

    Lab 3: Building Controls .......................................................................................43

    Module 4: Using Data in Windows Forms ApplicationsOverview..................................................................................................................1

    Lesson: Adding and Configuring ADO.NET Objects on a Windows FormsApplication...............................................................................................................3

    Lesson: Accessing and Modifying Data by Using DataSets..................................22

    Lesson: Binding Data to Controls..........................................................................47

    Lesson: Using the DataGrid Control......................................................................63

    Lab 4.1: Accessing Data by Using ADO.NET ......................................................70

    Lesson:Overview of XML Web Services .............................................................71

    Lesson:Creating a Simple XML Web Services Client..........................................79

    Lab 4.2: Calling an XML Web Service .................................................................90

    Review ...................................................................................................................91

  • 8/13/2019 2555a

    4/6

    iv Developing Microsoft .NET Applications for Windows (Visual C# .NET)

    Module 5: Interoperating with COM ObjectsOverview................................................................................................................. 1

    Lesson: Using .NET and COM Components in a Windows Forms Application.... 3

    Lesson: Calling Win32 APIs from Windows Forms Applications ....................... 16

    Review .................................................................................................................. 26

    Lab 5: Interoperating with COM and Calling Win32 APIs .................................. 28

    Module 6: Reporting and Printing in Windows Forms ApplicationsOverview................................................................................................................. 1

    Lesson:Creating Reports Using Crystal Reports.................................................... 2

    Lesson: Printing From a Windows Forms Application......................................... 10

    Lesson: Using the Print Preview, Page Setup, and Print Dialogs ......................... 23

    Lesson: Constructing Print Document Content Using GDI+................................ 37

    Review .................................................................................................................. 52

    Lab 6: Printing Formatted Documents.................................................................. 54

    Module 7: Asynchronous ProgrammingOverview................................................................................................................. 1

    Lesson:The .NET Asynchronous Programming Model......................................... 2Demonstration: Comparing Synchronous and Asynchronous Versions of anApplication.............................................................................................................. 4

    Lesson:The Asynchronous Programming Model Design Pattern.......................... 6

    Animation: Making an Asynchronous Call to an XML Web service ................... 13

    Practice: Making an Asynchronous Call to an XML Web Service....................... 14

    Lesson: How to Make Asynchronous Calls to Any Method................................. 16

    Demonstration: Using Asynchronous Delegates................................................... 23

    Demonstration: Protecting State and Data in a Multi-Threaded Environment ..... 27

    Review .................................................................................................................. 30

    Lab 7: Making Asynchronous Calls to an XML Web Service.............................. 32

    Module 8: Enhancing the Usability of ApplicationsOverview................................................................................................................. 1

    Lesson:Adding Accessibility Features................................................................... 2

    Practice: Adding Accessibility Support to an Application...................................... 8

    Lesson:Adding Help to an Application.................................................................. 9

    Practice: Adding Help to an Application .............................................................. 15

    Practice: Adding ToolTips to an Application ....................................................... 19

    Lesson:Localizing an Application........................................................................ 20

    Practice: Localizing an Application...................................................................... 30

    Review .................................................................................................................. 33

    Lab 8: Enhancing the Usability of an Application................................................ 36

  • 8/13/2019 2555a

    5/6

    Developing Microsoft .NET Applications for Windows (Visual C# .NET) v

    Module 9: Deploying Windows Forms ApplicationsOverview..................................................................................................................1

    Lesson:.NET Assemblies........................................................................................2

    Demonstration: Viewing Assembly Metadata .......................................................13

    Practice: Calling a Strong-Named Assembly.........................................................16

    Demonstration: Using the .NET Framework Configuration Tool to Work withthe GAC.................................................................................................................20

    Practice: Working with the GAC...........................................................................21

    Lesson:Deploying Windows Forms Applications ................................................24

    Code Walkthrough: What Do Application Configuration Files Contain? .............31

    Practice: Creating and Using Application Configuration Files..............................33

    Demonstration: Tracing the Assembly Loading Process.......................................37

    Practice: Creating and Using a Windows Installer Deployment Project................46

    Review ...................................................................................................................49

    Lab 9: Deploying an Application...........................................................................51

    Module 10: Securing Windows Forms ApplicationsOverview..................................................................................................................1

    Lesson: Security in the .NET Framework................................................................2

    Animation: Code Access Security ...........................................................................9

    Lesson:Using Code Access Security.....................................................................13

    Demonstration: Administering Security Policy Settings .......................................19

    Practice: Adding Permission Requests ..................................................................25

    Lesson:Using Role-Based Security.......................................................................28

    Demonstration: Using Role-based Security to Control Access to an Application.38

    Review ...................................................................................................................39

    Lab 10: Adding and Testing Permission Requests ................................................41

    Appendix A: Using Filled Shapes and ImagesOverview..................................................................................................................1

    Lesson: Creating Brushes and Filled Shapes ...........................................................2

    Lesson: Working with Bitmap Images...................................................................14

  • 8/13/2019 2555a

    6/6