private void Button1Click(object sender, EventArgs e) { World = new VGWorld(Convert.ToInt32(textBox1.Text), Convert.ToInt32(textBox2.Text), Convert.ToInt32(textBox3.Text)); World.WorldArea.SetBorder(1); richTextBox1.Text = World.WorldArea.ToString(); }
public Form1() { InitializeComponent(); World = new VGWorld(199, 119, 0); World.WorldArea.SetBorder(1); richTextBox1.Text = World.WorldArea.ToString(); }