I this section we will be reviewing the steps that you need to follow to enable a user to print from your application.
Step 1.
Within the VB.Net application you will need to select the print form option from the printing menu in the visual basic PowerPacks and drag this on to your
program window.
In some instances we may need to reset all information that is contained within a programs text boxes, this may occure when a user changes their mind, or when a new user is creating an order. The Code that we use in this instance is.
It may be required at some point in a program to either end the program completely of to close a subwindow of the program that has been opened to provide possible further information, simular to that of a help window. If we needed to close these windows/programs we would need to use the following code.
5 min's
The use of checkboxes are usful functions in a program as they have the ability to be set with a defined value that once selected becomes a factor in a possible calculation. This would be useful in area like resturant where an option to go large can be set to add £1.00 more to the cost of a meal. Or in a clothing shop to include a carry bag or to have it gift wrapped as the code below demonstrates.
EXTENTION
EXTENTION
STRETCH & CHALLENGE
The information covered in this page covers the knowledge and understanding linked to the criterion in the table below.
Links to Assessment Criteria | Description |
---|---|
LO1 |
Understand the features of event driven programming: Key features: service oriented; time driven; event handlers; trigger functions; events eg mouse, keyboard, HTML object, form, user interface; event loops; flexibility; suitability for graphical interfaces; simplicity of programming; ease of development |
LO2 |
Be able to use the tools and techniques of an event driven language: Triggers: eg key press, alarm, system event, touch screen event, mouse click Tools and techniques: eg use of tool boxes and controls, selection, loops, event handlers, triggers, objects and object properties, menus; debugging tools Variables: declaring variables; scope of variables; constants; data types |
Functional Skills English | Reading, Writing, Comprhension, Problems Solving, Nouns |
Functional Skills Maths | Compression,Reduction |
British Values | None covered in this session. |
Equality and Diversity |
Links to Learning Outcomes |
Links to Assessment criteria |
|
---|---|---|