18.01.2013 Views

Mastering Visual Basic .NET

Mastering Visual Basic .NET

Mastering Visual Basic .NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

32<br />

Chapter 1 GETTING STARTED WITH VB.<strong>NET</strong><br />

Console applications are convenient for testing short code segments, but Windows programming<br />

is synonymous with designing functional user interfaces and you won’t find any more Console applications<br />

in this book.<br />

Summary<br />

This chapter was a quick introduction to the environment you’ll be using to design your applications.<br />

It’s a very rich environment, and it will take you a while to become quite comfortable with it.<br />

Keep in mind that you won’t need most of the menus and toolbars in building simple Windows<br />

applications.<br />

What you must get accustomed to is how we design Windows applications. We start with the<br />

application’s visual interface, which is designed with visual tools. This is done with the Windows<br />

Form Designer. After completing the design of the interface, you must add some code to the application.<br />

Windows applications are event driven. The user interacts with your application through the<br />

mouse and keyboard. Every time the user does something with an element of the interface, an event<br />

is raised. As a programmer, you must decide what events your application should react to and insert<br />

the appropriate code in the handlers of these events.<br />

In the following chapter, you’re going to build more simple applications and drill into the concepts<br />

of event-driven programming, which is at the core of programming with <strong>Visual</strong> Studio .<strong>NET</strong><br />

and <strong>Visual</strong> <strong>Basic</strong> .<strong>NET</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!