1 / 6

Programming basics

Programming basics. Integrated Development Environment (IDE) : where Visual Basic applications are created Design Window : displays the application interface Solutions Explorer window : used to switch between Design and Code view, lists all files associated with a project

brandi
Télécharger la présentation

Programming basics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming basics

  2. Integrated Development Environment (IDE): where Visual Basic applications are created Design Window: displays the application interface Solutions Explorer window: used to switch between Design and Code view, lists all files associated with a project Toolbox: contains controls that are used to create objects on the interface

  3. Properties window: lists the properties of a selected object that change the object’s characteristics, such as appearance, behavior, position and other attributes • Name property: gives the object a name that is seen in the code window. Use Hungarian notation, such as btn, lbl, rad, frm, etc. (ie. btnBlue, lblName) • Text property: the text that is displayed in the object • SizeMode: change to stretch to see an entire picture in a small object • AutoSize: enables the programmer to size the object if Autosize is set to False, automatically sizes if SizeMode is true

  4. Windows form: a graphical object that contains a title bar, a system menu, and minimize, maximize and close buttons – every project contains at least one form • Objects: buttons, labels, radio buttons, pictureboxes, etc. that are added to the form

  5. Procedure: a block of code written to perform specific tasks • Event procedure: a type of procedure that performs tasks in response to user interaction with an object • Me: a way to refer to the form in code – me.close is the code that closes a form

  6. Assignment Statement: used in a procedure to change a value at run time • Always takes the form: • object.property = value • lblMessage.text = “hello”

More Related