Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
- }
- private: System::Void btnIntrotext_Click(System::Object^ sender, System::EventArgs^ e) {
- String^ strDialogText = gcnew String(
- " Yesterday, I saw three men die in a room of rock, liquid and light."
- " Today, three more go in, cheap mops and each others lives in their hands."
- " I saw a man shot for leaving a rose for a woman who would never know him."
- " She still doesn't, and three dorrs down I can still hear her screaming."
- " I saw a woman order her brother to butcher himself, and laugh as he did it."
- " Later, she will be rewarded for her cooperative behavior."
- " Tomorrow, hundreds will be marched to their deaths in the name of peace."
- " But today they eat in a sterile cafeteria, unaware of their fate."
- " Are We Cool Yet?");
- MessageBox::Show( strDialogText, "blackandwhiteandblackandwhiteandblackandwhiteandgrey" );
- }
- private: System::Void btnInstructions_Click(System::Object^ sender, System::EventArgs^ e) {
- String^ strDialogText = gcnew String(
- "Answers and questions. Some may wane."
- MessageBox::Show( strDialogText "Sorry, guess we must not be cool yet");
- }
- private: System::Void btnTellStory_Click(System::Object^ sender, System::EventArgs^ e) {
- Boolean fAllTextEntered = true;
- if( String::IsNullOrEmpty( txtCreature->Text ) )
- fAllTextEntered = false;
- if( String::IsNullOrEmpty( txtRoom->Text ) )
- fAllTextEntered = false;
- if( String::IsNullOrEmpty( txtCooler->Text ) )
- fAllTextEntered = false;
- if(String::IsNullOrEmpty( txtWeapon->Text ) )
- fAllTextEntered = false;
- if(String::IsNullOrEmpty( txtFood->Text ) )
- fAllTextEntered = false;
- if( fAllTextEntered ==false
- {
- MessageBox::Show ("Sometimes the Absence of an answer is better than no answer at all" MessageBoxButtons::OK, MessageBoxIcon::Stop );
- }
- String^ strDialogText = gcnew String( "A linns time ago, there was a kingdom, known as Don"
- "It was a great and terrible land, where cruelty and greed ruled a trodden down proletariant"
- "The people were ruled by a wicked and loathful boy named Asimo the great, who was a tyrant."
- "One day, a great and terrible storm swept through the land
- strDialogText = String::Concat( strDialogText, txtCooler->Text,
- "mist soon spawned from the gusts and rains. From it, a being emerged, and the people saw it was
- strDialogText = String::Concat( strDialogText, txtCreature->Text,
- " the most awful and vile creature ever to demand attention of the people"
- "The creature killed" );
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement