Advertisement
Guest User

Program to determine whether relationship is worth pursuing

a guest
Oct 1st, 2013
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.03 KB | None | 0 0
  1.         // Is the relationship worth pursuing? True/false question.
  2.         public bool CheckIfRelationshipIsWorthPursuing(string NameOfSignificantOther,
  3.             bool WillingToMakeSacrificesForYou,
  4.             bool DoesntLoveMoney,
  5.             bool WantsToMakeYouHappy,
  6.             bool WantsKids,
  7.             bool OffersKidTrade,
  8.             bool TalksToYourFamily,
  9.             bool CantWaitToLeaveChina,
  10.             bool ObeysParentsNoMatterWhat)
  11.         {
  12.             if ((NameOfSignificantOther.Length >= 4 && NameOfSignificantOther != "Hand") &&
  13.                 WillingToMakeSacrificesForYou &&
  14.                 DoesntLoveMoney &&
  15.                 WantsToMakeYouHappy &&
  16.                 WantsKids &&
  17.                 !OffersKidTrade &&
  18.                 TalksToYourFamily &&
  19.                 !CantWaitToLeaveChina &&
  20.                 !ObeysParentsNoMatterWhat)
  21.             { return true; }
  22.             else { return false; }
  23.         }
  24.         public void TestPartner(object sender, EventArgs e)
  25.         {
  26.             // Replace the bool values here with what is true or false about your current relationship
  27.             bool GetMarried = CheckIfRelationshipIsWorthPursuing("SpouseName", true, true, true, true, false, true, false, false);
  28.             if (!GetMarried)
  29.             {
  30.                 DialogResult dr = MessageBox.Show("This program has detected a bad match for you. Continue dating Chinese women?", "Oh noes!", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Question);
  31.                 switch (dr)
  32.                 {
  33.                     case DialogResult.Abort: { MessageBox.Show("This might hurt, but you're better off this way. Wise choice. \n\n*fist bump*", "Wise choice", MessageBoxButtons.OK, MessageBoxIcon.Hand); } break;
  34.                     case DialogResult.Retry: { MessageBox.Show("You got burned. You want to try this Chinese, cross-cultural, dating thing again? Your choice.\n\n At least you got rid of that crazy ex.", "Semi-wise choice", MessageBoxButtons.OK, MessageBoxIcon.Warning); } break;
  35.                     case DialogResult.Ignore: { WipeBankAccount(/* your account number */ 65535, /* 1 million and one dorrahs */ 1000000, /* you do not expect anything, right? */ true); } break;
  36.                 }
  37.             }
  38.             else
  39.             {
  40.                 MessageBox.Show("Congratulations on finding a rare partner.", "You're both awelsome!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
  41.             }
  42.         }
  43.         private void WipeBankAccount(int accountNumber, int amountOfMoney, bool spouseExpectsNothing)
  44.         {
  45.             if (spouseExpectsNothing)
  46.             {
  47.                 for (int i = 0; i <= amountOfMoney; i++)
  48.                 {
  49.                     TakeMoney(i);
  50.                 }
  51.             }
  52.         }
  53.         public void TakeMoney(int dollar)
  54.         {
  55.             MessageBox.Show("EACH DOLLAR STOLEN IS ONE INSTANCE OF BEING SCREWED! I AM NOW TAKING DOLLAR #" + dollar + "! HAHAHAHAHAHAHAHAHHAHAAHAHAHA CHINESE MONEY WORSHIP STRIKES AGAIN");
  56.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement