Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using System.Threading;
- using System.Diagnostics;
- namespace ReasonsWhy
- {
- public partial class Form1 : Form
- {
- static string[] reasons =
- {
- "I love the way you look at me.",
- "You make me feel like I’m the only person in the world.",
- "With you I can be myself.",
- "I love you because we are family and friends at the same time.",
- "When we’re together, all my problems disappear.",
- "You make my heart smile.",
- "You have the smoothest skin. I could spend hours just watching and caressing it.",
- "You make me smile when nobody else can.",
- "Because I miss you… even when you’re in the next room.",
- "You let me be myself and you encourage me to find more of myself.",
- "You are truthful and vulnerable with me.",
- "You encourage me after I feel like I’ve failed.",
- "You make me feel like I can get through anything, as long as I have you.",
- "You sacrifice and work so hard, without even realizing that you are.",
- "You always make time for just the two of us.",
- "Because you are determined to make this relationship work.",
- "Because you help me see negative things differently.",
- "Because when you laugh it makes me laugh!",
- "We understand each other so well.",
- "Your arms feel more like home than any house ever did.",
- "You have the ability to comfort me simply by your touch.",
- "Because you are so sexy and I can’t believe I get to call you mine.",
- "Because when things don’t go as planned, you roll with it, instead of getting stressed.",
- "You always believe in me and inspire me.",
- "I can always talk to you.",
- "Because I can see how much you love being there for me.",
- "I love you because you picked me.",
- "Your eyes smile when you laugh.",
- "You let me pick the movie.",
- "You are sweeter than my favorite dessert.",
- "You love me even when I’m being horrible and hard to be around.",
- "Because you always treat everyone well.",
- "We’re so different and yet so the same.",
- "You are doing everything to become a better person for yourself and for us.",
- "I love how you put so much thought into everything you do for me.",
- "I love you because you gave me the gift of yourself.",
- "You make me a better person.",
- "I love you every time you reach across our bed to pull me close to you.",
- "Because you make me feel special.",
- "You have a gentle and calming voice that soothes me when I’m upset.",
- "The day I met you, I found my missing piece.",
- "Because I can be myself around you.",
- "Because you trust me unconditionally.",
- "You are always pushing me to be better and my biggest fan in all that I do.",
- "You make all of my dreams come true, no matter how small they are.",
- "You can always make me roll on the floor laughing.",
- "Your willingness always to try new things make my life full of adventures.",
- "You are always kind to other people, even if they don’t deserve it.",
- "Because I can’t imagine life without you.",
- "You know the secret, little things that cheer me up and make me happy.",
- "You only seem to notice my strengths and always have confidence in me.",
- "You don’t just tell me you love me, you show me.",
- "You know how to cheer me up when I’m sad.",
- "You care deeply about my success and my happiness.",
- "You follow me and you push me.",
- "You always have an idea of something fun to do.",
- "You make me feel completely cherished and adored.",
- "You care about the people around you.",
- "You are patient and loving with those close to you.",
- "You’re always there when I need a shoulder to cry on.",
- "You are smoking hot!",
- "I love your cuddles.",
- "You may not always agree with my decisions but you always trust me to make them.",
- "I love that you ask about my day.",
- "You have the courage to chase your dreams.",
- "You still give me butterflies.",
- "You tell great stories.",
- "You are great at giving people compliments.",
- "You’re cute when you’re grumpy.",
- "I love that your hand fits perfectly with mine.",
- "I love that I get to go through life with you.",
- "We spend lots of time talking about our future together.",
- "You tell me why you love me.",
- "You’re the calm in the storm.",
- "You make me feel so safe.",
- "I love how you’re able to make me laugh, even when the situation shouldn’t be funny.",
- "You are everything I never knew I needed.",
- "I love that you let me cuddle up REALLY close to you… even when you’re overheating.",
- "You’re not afraid to be silly with me.",
- "You’re always saving funny memes on your phone to show me later because you want me to laugh too.",
- "I love that you make my fears melt away.",
- "When you talk to people you’re focused on them.",
- "You put other’s needs before your own.",
- "Your kisses make me weak in the knees.",
- "I love that you take care of me when I forget to.",
- "You’re always doing little, creative things to let me know you care.",
- "You wake up with a smile in the morning.",
- "You know when to help and when to let me do it myself.",
- "You’re a great person to talk decisions over with. You don’t tell me what I should do but you give me great feedback and listen.",
- "You don’t change depending on who you’re with.",
- "You make me laugh, even when I feel like crying."
- };
- public Form1()
- {
- InitializeComponent();
- }
- public static class StorageClass
- {
- public static int storage1;
- public static int storage2;
- public static int storage3;
- public static int storage4;
- public static int count;
- }
- async Task PutTaskDelay(int yes)
- {
- await Task.Delay(yes);
- }
- public string ChooseRandomName(List<string> names)
- {
- Random rnd = new Random();
- return names[rnd.Next(0, names.Count)];
- }
- private async void Button1_Click(object sender, EventArgs e)
- {
- StorageClass.storage1 = 0;
- StorageClass.storage2 = 0;
- StorageClass.storage3 = 0;
- StorageClass.storage4 = 0;
- StorageClass.count = 1;
- button1.Visible = false;
- await PutTaskDelay(1000);
- label2.Visible = true;
- await PutTaskDelay(4000);
- label2.Visible = false;
- await PutTaskDelay(1000);
- label1.Visible = true;
- await PutTaskDelay(4000);
- label1.Visible = false;
- await PutTaskDelay(1000);
- label4.Visible = true;
- await PutTaskDelay(4000);
- label4.Visible = false;
- await PutTaskDelay(1000);
- label11.Visible = true;
- await PutTaskDelay(4000);
- label11.Visible = false;
- await PutTaskDelay(3000);
- label3.Visible = true;
- await PutTaskDelay(2000);
- label3.Visible = false;
- await PutTaskDelay(2000);
- button2.Visible = true;
- }
- private async void Button2_Click(object sender, EventArgs e)
- {
- button2.Visible = false;
- pictureBox1.Image = ReasonsWhy.Properties.Resources.YourName1;
- await PutTaskDelay(1000);
- label5.Visible = true;
- await PutTaskDelay(2000);
- label5.Visible = false;
- button3.Visible = true;
- }
- private async void Button3_Click(object sender, EventArgs e)
- {
- button3.Visible = false;
- button4.Visible = false;
- StorageClass.count++;
- string text = "reason number " + StorageClass.count;
- button3.Text = text;
- Random rnd = new Random();
- while (StorageClass.storage1 == StorageClass.storage2)
- {
- StorageClass.storage1 = rnd.Next(0, 4);
- }
- StorageClass.storage2 = StorageClass.storage1;
- while (StorageClass.storage3 == StorageClass.storage4)
- {
- StorageClass.storage3 = rnd.Next(0, 94);
- }
- StorageClass.storage4 = StorageClass.storage3;
- int val2 = StorageClass.storage4;
- switch (StorageClass.storage1)
- {
- case 0:
- label6.Text = reasons[val2];
- label6.Visible = true;
- await PutTaskDelay(5000);
- label6.Visible = false;
- break;
- case 1:
- label7.Text = reasons[val2];
- label7.Visible = true;
- await PutTaskDelay(5000);
- label7.Visible = false;
- break;
- case 2:
- label8.Text = reasons[val2];
- label8.Visible = true;
- await PutTaskDelay(5000);
- label8.Visible = false;
- break;
- case 3:
- label9.Text = reasons[val2];
- label9.Visible = true;
- await PutTaskDelay(5000);
- label9.Visible = false;
- break;
- case 4:
- label10.Text = reasons[val2];
- label10.Visible = true;
- await PutTaskDelay(5000);
- label10.Visible = false;
- break;
- }
- button3.Visible = true;
- button4.Visible = true;
- }
- private async void Button4_Click(object sender, EventArgs e)
- {
- button4.Visible = false;
- int val2 = StorageClass.storage4;
- switch (StorageClass.storage1)
- {
- case 0:
- label6.Text = reasons[val2];
- label6.Visible = true;
- await PutTaskDelay(5000);
- label6.Visible = false;
- break;
- case 1:
- label7.Text = reasons[val2];
- label7.Visible = true;
- await PutTaskDelay(5000);
- label7.Visible = false;
- break;
- case 2:
- label8.Text = reasons[val2];
- label8.Visible = true;
- await PutTaskDelay(5000);
- label8.Visible = false;
- break;
- case 3:
- label9.Text = reasons[val2];
- label9.Visible = true;
- await PutTaskDelay(5000);
- label9.Visible = false;
- break;
- case 4:
- label10.Text = reasons[val2];
- label10.Visible = true;
- await PutTaskDelay(5000);
- label10.Visible = false;
- break;
- }
- button4.Visible = true;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement