110 likes | 250 Views
Creating Simple Visual Basic .NET Windows Applications CHAPTER TWO. Matakuliah : T0063 – Pemrograman Visual Tahun : 2009. Chapter Introduction. The Integrated Development Environment (IDE) is used for modern software development.
E N D
Creating Simple Visual Basic .NET Windows Applications CHAPTER TWO Matakuliah : T0063 – Pemrograman Visual Tahun : 2009
Chapter Introduction The Integrated Development Environment (IDE) is used for modern software development. The IDE contains tools to write code, build a GUI , and test and debug applications. Overview of the application construction process. Design issues are addressed. Visual Basic .NET controls are examined. The MsgBox statement and InputBox() function are visited. A project is developed as a working application.
Objectives • Design and construct simple complete applications from scratch. • Explain the structure of Visual Basic .NET. • List the characteristics of several Visual Basic .NET controls. • Identify the purpose of each major control of the Visual Basic .NET IDE. • Explain basic programming practices that contribute to the readability of programs.
2.1 From New Solution to Finished Application • Overview of the Construction Process • Design Mode • Run Mode • Break Mode
Design Time and Run Time • In design mode, the project is in design time. • In run mode, the project is in run time. • Some errors can be found and corrected in design time. • Other errors can only be detected during run time.
2.2 Overview of Controls • Standard controls are used to create user-friendly applications. • Standard controls help users lower the learning curve for new programs.
Categories of Controls • Trigger: Initiate processing • Ex. Button, MainMenu, and Timer • Input: Get data from user • Ex. TextBox, RadioButton, and CheckBox • Output: Display results to user • Ex. Label, DataGrid, and ListView
Categories of Controls (cont.) • Organize: Group other controls • Ex. Form, GroupBox, and Panel • Data Access: Interface with databases • Ex. Entire Data Group and DataGrid
The Correct Control for the Job • Chose controls to satisfy user requirements. • Different controls are good for different tasks. • The Button, Label, and Textbox controls are introduced.
2.3 The Visual Basic .NET Development Environment • The IDE helps develops create efficient and effective solutions. • The IDE for Visual Basic .NET is common to all the other tools available in the Visual Studio. NET suite.
Menu Toolbar Solution Explorer Properties Editor Task List Main Tools Used in Visual Basic .NET • Toolbox • Designer Window • Code Window • Help System