Advertisement
Roget

ITBEGINS

Nov 7th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
  2. }
  3. private: System::Void btnIntrotext_Click(System::Object^ sender, System::EventArgs^ e) {
  4. String^ strDialogText = gcnew String(
  5. " Yesterday, I saw three men die in a room of rock, liquid and light."
  6. " Today, three more go in, cheap mops and each others lives in their hands."
  7. " I saw a man shot for leaving a rose for a woman who would never know him."
  8. " She still doesn't, and three dorrs down I can still hear her screaming."
  9. " I saw a woman order her brother to butcher himself, and laugh as he did it."
  10. " Later, she will be rewarded for her cooperative behavior."
  11. " Tomorrow, hundreds will be marched to their deaths in the name of peace."
  12. " But today they eat in a sterile cafeteria, unaware of their fate."
  13. " Are We Cool Yet?");
  14.  
  15. MessageBox::Show( strDialogText, "blackandwhiteandblackandwhiteandblackandwhiteandgrey" );
  16. }
  17. private: System::Void btnInstructions_Click(System::Object^ sender, System::EventArgs^ e) {
  18. String^ strDialogText = gcnew String(
  19. "Answers and questions. Some may wane."
  20. MessageBox::Show( strDialogText "Sorry, guess we must not be cool yet");
  21. }
  22. private: System::Void btnTellStory_Click(System::Object^ sender, System::EventArgs^ e) {
  23. Boolean fAllTextEntered = true;
  24. if( String::IsNullOrEmpty( txtCreature->Text ) )
  25. fAllTextEntered = false;
  26. if( String::IsNullOrEmpty( txtRoom->Text ) )
  27. fAllTextEntered = false;
  28. if( String::IsNullOrEmpty( txtCooler->Text ) )
  29. fAllTextEntered = false;
  30. if(String::IsNullOrEmpty( txtWeapon->Text ) )
  31. fAllTextEntered = false;
  32. if(String::IsNullOrEmpty( txtFood->Text ) )
  33. fAllTextEntered = false;
  34. if( fAllTextEntered ==false
  35. {
  36. MessageBox::Show ("Sometimes the Absence of an answer is better than no answer at all" MessageBoxButtons::OK, MessageBoxIcon::Stop );
  37. }
  38. String^ strDialogText = gcnew String( "A linns time ago, there was a kingdom, known as Don"
  39. "It was a great and terrible land, where cruelty and greed ruled a trodden down proletariant"
  40. "The people were ruled by a wicked and loathful boy named Asimo the great, who was a tyrant."
  41. "One day, a great and terrible storm swept through the land
  42. strDialogText = String::Concat( strDialogText, txtCooler->Text,
  43. "mist soon spawned from the gusts and rains. From it, a being emerged, and the people saw it was
  44. strDialogText = String::Concat( strDialogText, txtCreature->Text,
  45. " the most awful and vile creature ever to demand attention of the people"
  46. "The creature killed" );
  47. }
  48. };
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement