dr adriana badulescu kallas beginning programming i
play

Dr. Adriana Badulescu Kallas Beginning Programming I Outline (1/ - PDF document

Dr. Adriana Badulescu Kallas Beginning Programming I Outline (1/ 2) Session Lesson Unit Course Orientation Orientation Unit 1: Introducing 1 Lesson 1: Introducing Programming Logic and Programming Logic Languages and Languages Session


  1. Dr. Adriana Badulescu Kallas Beginning Programming I Outline (1/ 2) Session Lesson Unit Course Orientation Orientation Unit 1: Introducing 1 Lesson 1: Introducing Programming Logic and Programming Logic Languages and Languages Session 2 Lesson 1: A First Look at M icrosoft Visual Basic 2 Lesson 2: Forms, Controls and Properties Lesson 3: E vents and Code Lesson 4: M athematical Operators Lesson 5: Exponentiation, Order of Operations, 3 Unit 2: Introduction to and Error Handling Visual Basic Lesson 6: Data Types and Variables Dr. Adriana Kallas Lesson 7: Strings and Decimal Types Lesson 8: If Statements 4 Lesson 9: Nested If Statements and Option Buttons Outline (2/ 2) Lesson 1: A first Look at Visual Basic Session Lesson Unit  Explains the purpose of M icrosoft Visual Basic Unit 2: Lesson 10: Do Loops Introduction  Describe the types of projects and templates 5 to Visual Lesson 11: For Next Loops and M ultiple Forms Basic  How to start the Visual Basic compiler Lesson 1: Entering, Compiling, and Running a C++ Program 6 Lesson 2: Variables and Constants  Open an existing project Lesson 3: M ath Operations  Run a program Lesson 4: How Data Types Affect Calculations 7 Lesson 5: Strings and the String Class Unit 3:  Position a form in a Visual Basic program Lesson 6: Input and Output Introduction 8 Lesson 7: Building Blocks of Decision M aking to C++ Lesson 8: Selection Structures 9 Lesson 9 : Loops Lesson 10: Building Programs with Functions 10 Lesson 11: Passing Data and Using Library Functions Visual Basic Programming Environment Open and Run an Existing Project Title Bar Title Bar Toolbar Menu Bar Menu Bar T T oolbar oolbar Open Open Build Build Debug Debug Run Run S S olution olution Explorer Explorer T T oolbox oolbox Form Form Properties Properties Window Window Menus 1

  2. Dr. Adriana Badulescu Kallas Beginning Programming I Open and Run an Existing Project Open and Run an Existing Project Title Bar Title Bar Menu Bar Menu Bar T T oolbar oolbar S S olution olution T T oolbox oolbox Explorer Explorer Form Form Properties Properties Window Window Upgrade Projects from Previous Versions Lesson 2: Forms, Controls, and Properties  Projects from older versions needs to be  Create a new Visual Basic project upgraded to Visual Basic 2010 before they can  Save a project be open  View and modify form properties  Create controls and command buttons  M ove and resize objects  Set some additional properties Creating a New Project Project Types in Visual Basic  Visual Basic enables you to create several types of Toolbar applications . This includes Windows Forms applications, Windows Presentation Foundation applications, console applications, and class libraries. Each application that you New New S S ave ave Build Build Debug Debug Run Run create is contained in its own project, and project templates are provided to help you get started.  When you create a new project, icons in the New Project dialog box and Add Project dialog box represent the available project types and their templates. The following project templates are available when you open a new project in Visual Basic Express. Menus 2

  3. Dr. Adriana Badulescu Kallas Beginning Programming I Project Templates in Visual Basic Project Templates in Visual Basic  Windows Application Template  Used to create Windows-based applications that run locally on users' computers. The applications can be anything from simple single-window tools like Windows Calculator to advanced multiple windows applications.  WPF (Windows Presentation Foundation) Application  Used to create stand-alone WPF applications.  Console Application Template  Used to create command-line applications, programs that run from a Windows command prompt and have no visual interface.  Class Library Template  Used to create reusable classes or components that can be shared with multiple projects.  WPF Browser Application  Used to create browser-hosted WPF applications. Windows Application Console Application  Windows-based applications that run locally on  Are typically designed without a graphical user interface and compiled into a stand-alone executable file. users' computers.  A console application is run from the command line with input  The applications can be anything from simple single- and output information being exchanged between the window tools like Windows Calculator to advanced command prompt and the running application. multiple windows applications. Projects, Forms, and Controls A Form With Controls and Properties  To create your own Visual Basic program, you must create a new project. The Standard EXE project type allows you to create a program from scratch.  Every program has at least one form. All other objects must be contained within forms.  Controlsare the command buttons, text boxes, scroll bars, and other objects that make up the user interface. 3

  4. Dr. Adriana Badulescu Kallas Beginning Programming I Controls Control Toolbox Function Control Description The DataGridView control provides a customizable (cells, rows, Data display DataGridView columns, and borders) table for displaying data. Displays text entered at design time that can be edited by users T extBox at run time, or changed programmatically. T ext editing Enables text to be displayed with formatting in plain text or RichT extBox rich-text format (RTF). M askedT extBox Constrains the format of user input Label Displays text that users cannot directly edit. Displays text as a Web-style link and triggers an event when the LinkLabel user clicks the special text. Usually the text is a link to another Information window or a Web site. display Displays information about the application's current state using StatusStrip a framed area, usually at the bottom of a parent form. ProgressBar Displays the current progress of an operation to the user. Web page WebBrowser Enables the user to navigate Web pages inside your form. display Controls Controls Function Control Description Function Control Description Displays a scrollable list of items, each accompanied by a check CheckedListBox Serves as a repository for images. ImageList controls and the box. Graphics ImageList images they contain can be reused from one application to the storage ComboBox Displays a drop-down list of items. next. Displays a list of text items that users can scroll through with up DomainUpDown Displays a check box and a label for text. Generally used to set and down buttons. CheckBox options. ListBox Displays a list of text and graphical items (icons). Selection Displays a scrollable list of items, each accompanied by a check Value CheckedListBox Displays items in one of four different views. Views include text box. from a list setting ListView only, text with small icons, text with large icons, and a details RadioButton Displays a button that can be turned on or off. view. Allows users to set values on a scale by moving a "thumb" along Displays a list of numerals that users can scroll through with up TrackBar NumericUpDown a scale. and down buttons. Displays a graphical calendar to allow users to select a date or a DateTimePicker Displays a hierarchical collection of node objects that can TreeView Date time. consist of text with optional check boxes or icons. setting Displays a graphical calendar to allow users to select a range of M onthCalendar Graphics dates. PictureBox Displays graphical files, such as bitmaps and icons, in a frame. display Controls Controls Function Control Description Function Control Description Displays the color picker dialog box that allows users to set the Button Starts, stops, or interrupts a process. ColorDialog color of an interface element. Displays text as a Web-style link and triggers an event when the Displays a dialog box that allows users to set a font and its LinkLabel user clicks the special text. Usually the text is a link to another FontDialog attributes. window or a Web site. Displays a dialog box that allows users to navigate to and Displays an icon in the status notification area of the taskbar OpenFileDialog Commands NotifyIcon select a file. that represents an application running in the background. Dialog Displays a dialog box that allows users to select a printer and Creates toolbars that can have a M icrosoft Windows XP , boxes PrintDialog set its attributes. M icrosoft Office, M icrosoft Internet Explorer, or custom look T oolStrip Displays a dialog box that displays how a control and feel, with or without themes, and with support for PrintPreviewDialog PrintDocument component will appear when printed. overflow and run-time item reordering. FolderBrowserDial Displays a dialog that allows users to browse, create, and HelpProvider Provides pop-up or online Help for controls. og eventually select a folder Provides a pop-up window that displays a brief description of a User Help SaveFileDialog Displays a dialog box that allows users to save a file. T oolTip control's purpose when the user rests the pointer on the M enu M enuStrip Creates custom menus. control. controls ContextM enuStrip Creates custom context menus. 4

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend