Skip to main content

Create a Stopwatch of using Visual Basic2010


Create a Stopwatch  - Visual Basic  2010
Part-01
This tutorial will show you how to make a stopwatch:
Click on Project next to Create:

Click on Windows Form Application, and name the project "Your name's Stopwatch" and then click Ok.
                                          

You can change the form text to "your name's stopwatch". Click on the form and then go to properties window, then change the text property.
You also need to disable the maximize control of the form. That's because you don't want the user to maximize the stop watch. Go to the properties window, and change the maximize box property to False:
               

                                           

You also need to change the FormBorderStyle property to Fixed3D
                                           

Add a label to the form and change it's text to 00:00:00:000
To do that right click on the label and click on properties. In the properties window, change the text as follows:
                                           


Change the font's size of the label. In the properties window, go to Font:
                                           


The font dialog will show up. Under the size, choose the number 28 then click Ok:

                                           

Add a timer to the form:
In the toolbox, drag the timer to the form. The timer will appear in the gray area below the form:

                                                     


Right click on Timer1 and click on properties. In the properties window, change the interval property to 1.

                                             


Drag a listbox from the toolbox and place on the form as the picture below:

                                                


Add a button to the form and change it's text to Mark:

                                               













Comments

Popular posts from this blog

TSDA Class Schedule List

Taieba Soft & Digital Academy (TSDA) www.tbsbd.blogspot.com Web Design Class No. Subject:-->HTML 1 Introduction of HTML,Basic Stru.HTML Elements, Defines Tag, Attributes and Text 2 Heading,Paragraph,Line Breaks, HTML Formatting,head tag(meta,style,js,title) 3 HTML Links, HTML Images, HTML link underline,Marquee,Images Mapping,Area 4 HTML lists(ol,ul,li), Nested List, menu_list,directory_list,defination_list 5 Audio,Video, Youtube Video,Mailto link 6 Table,th,tr,thead,tbody,tfoot, colspan and rowspan,nested table 7 Normal form, form alignment,fieldset,legend  8 Frame,Iframe, entites, color code, DTD and seo(meta) DreamWaver CS5 9 Dreamwaver Installation,How To use,Doctype,HTML Format,Version and  clasiffication CSS(Cascading Style Sheet) 10 Syntax,Classification, ID &Class, How to use ID ...