Friday, 2 December 2016

Love Meter

Tags

Love Meter | Love Percentage Checker - Windows Application

Hello guys ,
Welcome to mydotnetwebapp.blogspot.in . In this session , I am gonna tell you about creating a simple love calculator using c# programming language .
Actually creating any type of window based application is quite easy , all we have to do is to create your own efficient logic .


love calculator | love meter test | love compatibility Checker


I created this application using c# programming language , but you can use the same logic in any other programming languages.

lets start Our Love meter Test ,

1) Open Microsoft Visual Studio
2) Select Windows Forms Application
3) Start Coding 


love meter


Click here to [Download] Love Meter



step 1 :  Two blinking labels.

For blinking the label you have to drag and drop the timer in the project . and on the timer_click event ... import the following code.

Set the Timer Properties.

Double click on the [timer1]


 private void timer1_Tick_1(object sender, EventArgs e)
        {
            Random rm = new Random();
            int a = rm.Next(0, 255);
            int b = rm.Next(0, 255);
            int c = rm.Next(0, 255);
            label3.ForeColor = Color.FromArgb(a, b, c);
            label4.ForeColor = Color.FromArgb(a, b, c);
         }

step 2: Button click Event
      

 private void Form1_Load(object sender, EventArgs e)
        {
            label4.Visible = false;

        }

private void button1_Click_1(object sender, EventArgs e)
        {
            if (textBox1.Text == "" || textBox2.Text == "")
            {
                MessageBox.Show("Person Name - Invalid");
            }
            else
            {
                int sum, sum1;
                sum = 0;
                sum1 = 0;
                int xsum = 0;
                int xxsum = 0;
                label4.Visible = true;
                string str = textBox1.Text;
                string str1 = textBox2.Text;

                foreach (int temp in str)
                {
                    sum = sum + temp;
                }
                foreach (int temp1 in str1)
                {
                    sum1 = sum1 + temp1;
                }
                int rem, rem1;
                while (sum != 0)
                {
                    rem = sum % 10;
                    xsum = xsum + rem;
                    sum = sum / 10;
                }
                while (sum1 != 0)
                {
                    rem1 = sum1 % 10;
                    xxsum = xxsum + rem1;
                    sum1 = sum1 / 10;
                }
                int total;

                total = 3 * (xsum + xxsum);
                if (total >= 100)
                {
                    //Thread.Sleep(2000);
                    label4.Text = "98" + "%";

                }
                else
                {
                    //Thread.Sleep(2000);
                    label4.Text = total.ToString() + "%";
                }
            }
        }
        


Click here to [Download] Love Meter


Everything About Love Meter in One Pdf [Download]


Download Problem : Ask me
[ukademangesh@gmail.com]
I will send You Love Meter Test solution file Directly.


Keyword (by relevance) : 
love test | love percentage | love compatibility
love test game | love meter test | love meter game
love meter calculator | love calculator |love calculator game | love meter | love tester online


EmoticonEmoticon