
StephenS’ C# programming with
ViSual Studio® 2010 24-hour trainer
introduCtion ............................................................ xxv
SeCtion ⊲ i the ViSual Studio ide and ControlS
leSSon 1 Getting Started with the Visual Studio IDE ......................3
leSSon 2 Creating Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
leSSon 3 Making Controls Arrange Themselves . . . . . . . . . . . . . . . . . . . . . . . . 37
leSSon 4 Handling Events ............................................47
leSSon 5 Making Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
leSSon 6 Making Tool Strips and Status Strips ..........................67
leSSon 7 Using RichTextBoxes ........................................79
leSSon 8 Using Standard Dialogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
leSSon 9 Creating and Displaying New Forms .........................103
leSSon 10 Building Custom Dialogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
SeCtion i ⊲ i VariableS and CalCulationS
leSSon 11 Using Variables and Performing Calculations . . . . . . . . . . . . . . . . . .127
leSSon 12 Debugging Code ...........................................151
leSSon 13 Understanding Scope ......................................163
leSSon 14 Work