Skip to main content

How to make a Calculator -(Part-2)


Calculator  - Visual Basic 2008 / 2010
Page 2
Let's add the rest of the buttons to the form.
Important: please add the button in the same order exactly as shown below.

Add four buttons. Start by adding the button on the left (1) then (2) then (3) then (4)
Change the text of the four buttons to 7 , 8, 9, / as shown above.
Add four more buttons and change their text to 4, 5, 6, *
Remember to start adding the buttons in order as the following image:
                       
Add four more buttons in the same order as shown below and change their text to 1, 2, 3, -
                                                   

Add four more buttons in the same order as shown below and change their text to 0, . , =, +

Add the last two buttons to the calculator in order as shown below and change their text to Clear, Exit:
Add the last two buttons to the calculator in order as shown below and change their text to Clear, Exit:
                                                      





Comments

Popular posts from this blog

Managing a Simple Mailing List

This hour provides the first of several hands-on, small projects designed to pull together your PHP and MySQL knowledge. In this hour, you'll learn the methods for creating a managed distribution list, which can be used to send out newsletters or anything else that you want to send, to a list of email addresses in a database. The mailing mechanism you'll use in this hour is not meant to be a replacement for mailing list software, which is specifically designed for bulk messages. The type of system you'll build in this lesson should be used for only small lists of fewer than a few hundred email addresses. In this hour, you will learn how to Create a subscribe/unsubscribe form and script Create a front end for sending your message Create the script that sends your message Developing the Subscription Mechanism You learned in earlier lessons that planning is the most important aspect of creating any product. In this case, think of the element...

Joomla Video Tutorials-06

Working with Joomla Extensions     6. Joomla Content

PHP course catalogs

Introduction   In this PHP course, you will learn Advanced level PHP with CodeIgniter framework, and how to execute scripts on your server. You will also learn about MySQL, html, CSS, JavaScript. You will also learn advanced level CSS, Database Normalization & Relation of Database. After attending the course, you can develop project using PHP framework CodeIgniter with MySQL. How participants will benefit after the course:   After attending this course, participants will be able to develop professional dynamic website using PHP framework CodeIgniter, design database with proper documentation, and develop Online Payment Method. Course Highlights:   . Complete package on web development  . Advanced JavaScript & Ajax  . PHP framework along with documentation process  . Client Side & Server Side Validation  . CI Framework Reporting  . TinyMce Editor & Searching  . SSL, File upload & Email  . Online Paym...