Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-thh2z Total loading time: 0 Render date: 2024-08-10T09:18:32.693Z Has data issue: false hasContentIssue false

Chapter 12 - Building a Windows Application

Published online by Cambridge University Press:  06 July 2010

Michael McMillan
Affiliation:
Pulaski Technical College, Arkansas
Get access

Summary

A Windows application is by necessity written in an object-oriented manner. This chapter discusses the code generated by VS. NET when a Windows application is built. We'll examine both the code generated by VS. NET and the code created when a programmer builds an application. We will also examine how to use object-oriented principles in the code the programmer adds to the application.

As the noted computer scientist and education theorist Seymour Paper once stated, “You can't think about thinking without thinking about thinking about something.” Likewise, you can't examine building a Windows application without having a Windows application to build. To that end, the application we'll use to illustrate how object-oriented principles aid the creation of a Windows application is a basic calculator, similar to the one found in Windows. By picking a rather simple application that uses many widely employed Windows features (e.g., textboxes, buttons, and labels), we can focus on how taking an object-oriented approach makes the development easier and more efficient. We should also mention that this chapter is not designed to teach a novice how to create a Windows application; rather it teaches how to create a Windows application in an object-oriented way. We assume the reader already knows how to place controls on a form and already knows the basics of writing event-driven code.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Building a Windows Application
  • Michael McMillan, Pulaski Technical College, Arkansas
  • Book: Object-Oriented Programming with Visual Basic.NET
  • Online publication: 06 July 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511734861.013
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Building a Windows Application
  • Michael McMillan, Pulaski Technical College, Arkansas
  • Book: Object-Oriented Programming with Visual Basic.NET
  • Online publication: 06 July 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511734861.013
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Building a Windows Application
  • Michael McMillan, Pulaski Technical College, Arkansas
  • Book: Object-Oriented Programming with Visual Basic.NET
  • Online publication: 06 July 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511734861.013
Available formats
×