SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Jump into the future of Windows application programming with C#!
C# is a new object-oriented programming language that combines the power and flexibility of C++ with the ease of Visual Basic(r). C# offers a radical departure from the traditional Windows application development process, and C# for Windows Programming gives you everything you need to get started in this next wave of Windows application programming.
Using their classroom-proven techniques, pioneering C# instructors Chris H. Pappas and William H. Murray examine the key features of C#, compare them with those of C and C++, develop working code, and discuss programming strategies. With C# for Windows Programming, you will be able to grasp all the key concepts of C# quickly and easily.
Programmers and professionals already familiar with Visual Basic or C++ will find C# for Windows Programming the best way to get up to speed on C# quickly and easily!
1. A Radically New Approach: C# and Windows.
Visual Studio .NET and C#. Building C# Applications. Additional Program Details. C# Programming Elements. Arrays. Attributes, Events, Indexers, Properties, and Versioning. Attributes. Events. Indexers. Properties. Versioning. Boxing, Unboxing, and Unified Type System. Classes, Structures, and Enum. Classes. Structures. Enum. Namespaces. Predefined Types. Statements. Blocks. Miscellaneous Statements. The do Statement. The foreach Statement. The if and if-else Statements. The Label and goto Statements. The switch (case-break) Statement. The while Statement. Value and Reference Types. Your first C# Windows Application. Additional Program Details. Namespaces. The Form. Designer Variables. Initializing Components. The Event Handler. The End. Summary.
Just Yesterday (or So It Seems). Why Use C# for Windows Projects? The C# Language and Windows Applications. Programming Based on Events. The Visual Studio Tools for C#. Standard Controls. Control Properties. Altering Default Control Properties. A Fast Method of Changing Properties for Several Controls. Object Names and Labels. Event Handlers. Changing Properties With Code. Creating Good User Interfaces. Elements of Good Design. Using the Grid. Control Fundamentals. Selecting a Control. Moving and Resizing Controls. The Tiny Control. Deleting a Control. Duplicating Controls. A Sales Tax Calculator. Sizing a Form. Selecting and Placing Label Controls. Selecting and Placing TextBox Controls. Designing With Additional Controls. GroupBox Control. CheckBox Control. RadioButton Control. ComboBox Control. ListBox Control. Horizontal and Vertical ScrollBar Controls. Timer Control. Good Design Techniques.
Properties. Property Details. Changing Properties. Button Properties. CheckBox Control Properties. ColorDialog Box Control Properties. ComboBox Control Properties. DateTime Picker Properties. FontDialog Properties. Form Color Properties. GroupBox Control Properties. HscrollBar and VscrollBar Control Properties. Label Control Properties. ListBox Control Properties. MainMenu Properties. MonthCalendar Properties. PictureBox Control Properties. ProgressBar Properties. RadioButton Control Properties. TextBox Control Properties. ToolBar Properties. TrackBar Properties. Controlling Properties With Code.
Coding Controls. Properties Plus Code. Event Handlers. Attaching Code to Objects. Dynamically Modifying Control Properties. Button Properties. CheckBox Control Properties. DateTimePicker Properties. Form Color Properties. HscrollBar and VscrollBar Control Properties. Label Control Properties. ListBox Control Properties. MonthCalendar Properties. PictureBox Control Properties. ProgressBar Properties. RadioButton Control Properties. TextBox Control Properties. TackBar Properties. Another Pass at the Sales Tax Calculator. Right Control, Right Job. Project Code. Looking Ahead.
A Quick Review of Event Handlers. Events. Activate. ButtonClick. ButtonDropDown. CheckStateChanged. CheckedChanged. Click. Closed. CloseUp. Closing. DateChanged. DateSelected. Deactivate. DoubleClick. DragDrop. DragEnter. DragLeave. DragOver. DrawItem. Enter. Format. FormatQuery. Give Feedback. Help. InputLangChange. InputLangChangRequest. KeyDown. KeyPress. KeyUp. Layout. Leave. MDIChildActivate. MenuComplete. MenuStart. MouseDown. MouseEnter. MouseHover. MouseLeave. MouseMove. MouseUp. Move. PanelClick. QueryContinueDrag. Resize. Scroll. TextChanged. UserString. Validated. Validating. ValueChanged. Events, Events, Events.
Multiple Forms. Menus. Coding Menu Items. Placing Check Marks on Menu Selections. Common Dialog Boxes. Adding a ColorDialog Dialog Box. ColorDialog Dialog Box Properties. The CommDialog1 Project Code. Adding a FontDialog Dialog Box. FontDialog Dialog Box Properties. The CommDialog2 Project Code. Unique User Input.
Send It Out. MessageBox Output. Output With TextBox or Label Controls. Output With a Multiline TextBox Control. Tabular Output Using a TextBox Control. Tabular Output Using a Form. Output to a Printer. Other Output Techniques and Formatting.
The System.Drawing Namespace. Graphics Class Details. System.Drawing.Drawing2D Namespace. Graphics Class Details. The Graphics Class for C#. Coordinate System. Drawing Surfaces. Graphics Properties. Colors Line Drawing Styles. Brush Fill Styles. The DrawAndFill Project. Graphics Drawing Primitives. DrawArc. DrawEllipse. DrawLine. DrawPie. DrawPolygon. DrawRectangle. DrawString. FillElipse. FillPie. FillPolygon. FillRectangle. The DrawingPrimitives Project. Other Graphical Techniques.
Displaying an Image or Picture. Bitmap Project Code. A Simple Animation Example. Flags Project Code. A Charting Project. BarChart Project Code. Code for Form1. Code for Form2. Testing the BarChart Project. What's Coming?
Base Change Calculator. Prime Number Counter. Trigonometric Table. Form2. Form1. Finding Number of Days in a Month. Time of Day. Statistics. Sort. What's Coming?
Regular Deposits in an Account. Developing the Future Value Code. Invest Regularly and Reap the Benefits. Regular Withdrawals From an Account. Developing The Project Code for Regular Withdrawals. Stretching Out a Retirement Pension. Depreciation of an Asset. Attaching Code to the Form. Asset Depreciation and Data Sharing. Payment on a Loan. Developing Code for Payments on a Loan. Viewing Loan Payment Options. A Mortgage Amortization Table. Coding the Mortgage Projects. Form2 Code. Form1 Code. A Possible Income Tax Deduction. What's Coming?
A Bar Chart. Developing the Bar Chart Code. Form2: Data Entry. Form1: Chart Plotting. Drawing Unique Bar Charts. A Pie Chart. Coding the Pie Chart. Form2: Data Entry. Form1: Chart Plotting. Drawing Unique Pie Charts. What's Coming?
This is a book designed for you, the programmer, who has a good operating knowledge of C/C++. If you have experience developing Windows applications, you will be one step ahead of everyone else!
The book's purpose is to introduce you to the key elements of the C# language in the context of developing Windows applications with this language. The book quickly examines the key features of C# then moves you into the world of Windows application development. You will learn programming strategies for Windows that will make writing code in C# that much easier.
This book teaches by example. We have tried to include all of the important features common to most Windows applications in this book. The examples include all of the programming codenot just parts of it. For experienced programmers this might seem like overkill, but life has taught us that just when you need ita full program listing is likely to help explain even the most difficult programming concept.
C# appears to be taking a 180-degree turn from the traditional C++ with MFC programming, which is so familiar to Windows programmers. While the language is most definitely C-like, the interface is not the traditional SDK. Instead, it is more closely associated with Visual Basic language because of its use of forms, controls, etc. You are going to love this environment!
This book will highlight the radical departure of C# Windows application development from traditional Windows application development. Programmers retain C/C++ elements with C#, but use an easier drag and drop design. This single revision may revolutionize Windows application design.
Get ready and get excitedWindows application development has never been easier!