My Creation, "The Door Game"
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
label2.Text = "Choose a door and read the message in the lagre box above, then hit clear and click the other door, read it's message.";
}
private void button1_Click(object sender, EventArgs e)
{
richTextBox1.Text = "Congratulations, you just won the game!";
private void button2_Click(object sender, EventArgs e)
{
richTextBox1.Text = "Sadly, you chose the wrong door, sending you spiraling down into eternity.";
}
private void button3_Click(object sender, EventArgs e)
{
richTextBox1.Text = " ";
}
}
}

