Limit search to available items
Book Cover
Book
Author Bradley, Julia Case.

Title Programming in Visual C♯ 2008 / Julia Case Bradley, Anita C. Millspaugh
Published New York, NY : McGraw-Hill, 2010

Copies

Location Call no. Vol. Availability
 MELB  005.133 C++ Bra/Piv 2008  AVAILABLE
Description xxiv, 679 pages : illustrations ; 28 cm
Contents Machine derived contents note: Contents -- Chapter 1 -- Introduction to Programming and Visual C♯ 2005 1 -- Writing Windows Applications with Visual C♯ 2 -- The Windows Graphical User Interface 2 -- Programming Languages?Procedural, Event Driven, and Object Oriented 3 -- The Object Model 3 -- Microsoft?s Visual Studio .NET 5 -- Writing C♯ Programs 6 -- The Three-Step Process 6 -- C♯ Application Files 7 -- The Visual Studio Environment 7 -- Default Environment Settings 8 -- The IDE Initial Screen 8 -- The New Project Dialog 9 -- The IDE Main Window 9 -- The Toolbars 11 -- The Document Window 12 -- The Form Designer 12 -- The Solution Explorer Window 12 -- The Properties Window 12 -- The Toolbox 12 -- Help 12 -- Design Time, Run Time, and Debug Time 14 -- Writing Your First C♯ Project 14 -- Set Up Your Workspace 14 -- Plan the Project 17 -- Define the User Interface 18 -- Set Properties 20 -- Write Code 27 -- C♯ Code Statements 28 -- Code the Event-Handling Methods for Hello World 31 -- Run the Project 33 -- Save Your Work 34 -- Open the Project 35 -- Modify the Project 36 -- Print the Code 41 -- A Sample Printout 42 -- Automatically Generated Code 43 -- Finding and Fixing Errors 44 -- Syntax Errors 44 -- Run-Time Errors 45 -- Logic Errors 46 -- Project Debugging 47 -- Modifying an Event Handler 48 -- Naming Rules and Conventions for Objects 50 -- Visual Studio Help 51 -- Installing and Running MSDN 52 -- Viewing Help Topics 52 -- Context-Sensitive Help 54 -- Managing Windows 54 -- Your Hands-On Programming Example 55 -- Chapter 2 -- User Interface Design 65 -- Introducing More Controls 66 -- Text Boxes 66 -- Masked Text Boxes 67 -- Rich Text Boxes 68 -- Displaying Text on Multiple Lines 69 -- Group Boxes 69 -- Check Boxes 70 -- Radio Buttons 70 -- A Simple Radio Button Example 70 -- Picture Boxes 72 -- Setting a Border and Style 74 -- Using Images for Forms and Controls 75 -- Drawing a Line 75 -- Working with Multiple Controls 75 -- Selecting Multiple Controls 75 -- Deselecting a Group of Controls 76 -- Moving Controls as a Group 77 -- Setting Properties for Multiple Controls 77 -- Aligning Controls 77 -- Designing Your Applications forUser Convenience 78 -- Designing the User Interface 78 -- Defining Keyboard Access Keys 79 -- Setting the Accept and Cancel Buttons 80 -- Setting the Tab Order for Controls 80 -- Setting the Form?s Location on the Screen 82 -- Creating ToolTips 82 -- Coding for the Controls 84 -- Clearing Text Boxes and Labels 85 -- Resetting the Focus 85 -- Setting the Checked Property of RadioButtons and Check Boxes 85 -- Setting Visibility at Run Time 86 -- Disabling Controls 86 -- Setting Properties Based on User Action 86 -- Changing the Color of Text 87 -- Concatenating Text 87 -- Your Hands-On Programming Example 88 -- Chapter 3 -- Variables, Constants, and Calculations 101 -- Data?Variables and Constants 102 -- Data Types 103 -- Naming Rules 104 -- Naming Conventions 104 -- Constants: Named and Intrinsic 105 -- Declaring Variables 108 -- Scope and Lifetime of Variables 110 -- Calculations 113 -- Converting Strings to a Numeric Data Type 113 -- Arithmetic Operations 115 -- Order of Operations 116 -- Using Calculations in Code 117 -- Converting between Numeric Data Types 119 -- Performing Calculations with UnlikeData Types 120 -- Rounding Numbers 121 -- Formatting Data for Display 122 -- Using Format Specifier Codes 122 -- Choosing the Controls for Program Output 124 -- A Calculation Programming Example 125 -- Planning the Project 125 -- The Project Coding Solution 128 -- Handling Exceptions 129 -- try/catch Blocks 130 -- Displaying Messages in Message Boxes 132 -- The TextMessage String 133 -- The Titlebar Text 133 -- MessageBoxButtons 134 -- MessageBoxIcon 134 -- Using Overloaded Methods 134 -- Testing Multiple Fields 135 -- Counting and Accumulating Sums 137 -- Summing Numbers 137 -- Counting 138 -- Calculating an Average 138 -- Your Hands-On Programming Example 138 -- Chapter 4 -- Decisions and Conditions 153 -- if Statements 154 -- Charting if Statements 156 -- Conditions 156 -- Comparing Numeric Variables and Constants 157 -- Comparing Character Data 158 -- Comparing Strings 159 -- Testing for True or False 161 -- Comparing Uppercase andLowercase Characters 161 -- Compound Conditions 162 -- Short-Circuit Operations 163 -- Nested if Statements 164 -- Coding an else if 166 -- Using if Statements with Radio Buttonsand Check Boxes 168 -- A ?Simple Sample? 169 -- Checking the State of a Radio Button Group 170 -- Checking the State of Multiple Check Boxes 171 -- Enhancing Message Boxes 171 -- Displaying the Message String 172 -- Displaying Multiple Buttons 173 -- Input Validation 175 -- Checking for a Range of Values 175 -- Checking for a Required Field 175 -- Performing Multiple Validations 176 -- Limiting User Actions by Disabling Controls 177 -- The switch Statement 178 -- Sharing an Event Handler 181 -- Calling Event Handlers 184 -- Your Hands-On Programming Example 185 -- Debugging C♯ Projects 192 -- Writing to the Output Window 193 -- Pausing Execution with the Break All Button 194 -- Forcing a Break 194 -- Checking the Current Values of Expressions 195 -- Stepping through Code 195 -- The Locals Window 197 -- The Autos Window 197 -- Debugging Step-by-Step Tutorial 198 -- Chapter 5 -- Menus, Common DialogBoxes, and Methods 213 -- Menus 214 -- Defining Menus 214 -- Creating a Menu?Step-by-Step 220 -- Coding for Menu Items 220 -- Standards for Windows Menus 223 -- Common Dialog Boxes 223 -- Displaying a Windows Common Dialog Box 224 -- Using the Information from the Dialog Box 225 -- Using the Color Dialog Box 225 -- Using the Font Dialog Box 226 -- Setting Initial Values 227 -- Creating Context Menus 227 -- Creating a Context Menu?Step-by-Step 228 -- Sharing Methods 230 -- Writing General Methods 231 -- Creating a New Method 231 -- Passing Arguments to Methods 232 -- Writing Methods That Return Values 233 -- Methods with Multiple Arguments 235 -- Reference and Output Parameters 236 -- Breaking Calculations into Smaller Units 238 -- Basing a New Project on an Existing Project 240 -- Your Hands-On Programming Example 241 -- Chapter 6 -- Multiform Projects 257 -- Using Multiple Forms 258 -- Creating New Forms 258 -- Adding and Removing Forms 260 -- An About Box 261 -- Using the About Box Template 261 -- Setting Assembly Information 262 -- Displaying an About Form 264 -- Using the Methods and Events of Forms 264 -- Showing a Form 264 -- Hiding or Closing a Form 265 -- Responding to Form Events 266 -- The Sequence of Form Events 266 -- Writing Event Handlers for Selected Events 267 -- Variables and Constants in Multiform Projects 267 -- Creating Properties in a Class 268 -- Applying the Properties to Multiple Forms 270 -- A Splash Screen 271 -- Creating a Splash Screen 271 -- Controlling the Time a Splash Screen Displays 272 -- Making the Splash Form Display First 272 -- Running Your Program Outside the IDE 273 -- Your Hands-On Programming Example 274 -- Chapter 7 -- Lists, Loops, and Printing 291 -- List Boxes and Combo Boxes 292 -- The Items Collection 293 -- Filling a List 293 -- The SelectedIndex Property 296 -- The Items.Count Property 296 -- Referencing the Items Collection 297 -- Removing an Item from a List 297 -- Clearing a List 298 -- List Box and Combo Box Events 299 -- The while and do/while Loops 300 -- The bool Data Type Revisited 302 -- Using a while Loop with a List Box 302 -- for Loops 303 -- Negative Increment or Counting Backward 305 -- Conditions Satisfied before Entry 305 -- Endless Loops 306 -- Exiting for Loops 306 -- Skipping to the Next Iteration of a Loop 306 -- Making Entries Appear Selected 307 -- Selecting the Entry in a Text Box 307 -- Sending Information to the Printer 308 -- The PrintDocument Component 308 -- Printing the Contents of a List Box 312 -- Printing the Selected Item from a List 313 -- Aligning Decimal Columns 313 -- Displaying a Print Preview 314 -- Printing Multiple Pages 315 -- Your Hands-On Programming Example 316 -- Chapter 8 -- Arrays 329 -- Single-Dimension Arrays 330 -- Subscripts 330 -- Valid Subscripts 332 -- foreach Loops 332 -- Structures 333 -- Declaring Variables Based on a Structure 334 -- Accessing the Elements in a Structure Variable 334 -- Including an Array in a Structure 335 -- Using Array Elements for Accumulators 336 -- Adding to the Correct Total 336 -- Debugging Array Programs 337 -- Table Lookup 338 -- Coding a Table Lookup 339 -- Using List Boxes with Arrays 341 -- Multidimensional Arrays 342 -- Initializing Two-Dimensional Arrays 343 -- Printing a Two-Dimensional Table 344 -- Summing a Two-Dimensional Table 344 -- Lookup Operation for Two-Dimensional Tables 345 -- Your Hands-On Programming Example 348 -- Chapter 9 -- Programming withWeb Forms 367 -- C♯ and Web Programming 368 -- Client/Server Web Applications 368 -- Types of Web Sites 370 -- File System Web Sites 370 -- IIS Web Sites 370 -- Remote Sites and FTP Sites 371 -- Creating a Web Site 371 -- Web Page Files 372 -- Web Forms in the Visual Studio IDE 372 -- Creating Your First Web Form?Step-by-Step 372 -- Viewing the HTML Code 375 -- Controls 375 -- Event Handling 376 -- Files 376 -- Debugging 377 -- Testing in Other Browsers 378 -- Laying Out Web Forms 378 -- Using Tables for Layout 378 -- Including Images on Web Pages 380 -- Navigating Web Pages 382 -- Using Hyperlinks 382 -- Adding a Second Web Page 382 -- Transferring Pages in Code 384 -- Using the Validator Controls 385
Notes Includes index
SUBJECT Microsoft Visual C♯. http://id.loc.gov/authorities/names/n2008022846
Subject C# (Computer program language)
Visual programming languages (Computer science)
Author Millspaugh, A. C. (Anita C.)
LC no. 2008031694
ISBN 9780073517216 paperback alkaline paper
0073517216 paperback alkaline paper