Webnode

C# Love meter

In this tutorial you will learn how to make a silly love meter.
You will need:
*Visual C# 2010

1.Start by creating a new windows forms application , call it Love meter.

2. Add 2 labels and 2 textboxes to your form:

3.Add 1 button and 1 progressbar:

4. Add 1 more label, change the font size (to something large):

5.Double click your button, and add the following codes:

6.Save your application and build it.

7. You now have a love meter !

If you have any more questions, please leave them in the comment section below.

Have a nice day !

Source codes:Love meter.rar (300,6 kB)


Topic: C# Love meter

Date: 17/07/2013

By: justarandomguy

Subject: LOL

Hey,

the rnd.Next(0,100) function will return a number between 0 and 100, 0 indluded, 100 not.
This means that the love meter will never show 100%. Solution:

progressBar1.Value = rnd.Next(0, 101);

You 're welcome xD

Reply

—————

Date: 18/02/2013

By: giga sharma

Subject: love meter

its not working....

Reply

—————

Date: 06/12/2012

By: Umair

Subject: Khan

its not working .:D

Reply

—————

Date: 29/05/2012

By: rabia

Subject: urdu

i love him but he not no

Reply

—————

Date: 21/09/2012

By: Abdul

Subject: Re: urdu

hahahaha..............Make an app that gives u result 100%..

Reply

—————





Webnode