private void newButton_Click(object sender, EventArgs e)
        {
            if (MainWindow.Instance.CurrentMap.GetRegion(newNameTextBox.Text) != null)
            {
                MessageBox.Show("A region with that name already exists");
                return;
            }
            Client.Game.Map.Region r = new Client.Game.Map.Region
            {
                Name = newNameTextBox.Text,
                BoundingRegion = new Common.Bounding.Region()
            };

            MainWindow.Instance.CurrentMap.Regions.Add(r);
            regionsListBox.Items.Add(r);
            regionsListBox.SelectedItem = r;
            newNameTextBox.Text = "";
        }
        private void newButton_Click(object sender, EventArgs e)
        {
            if (MainWindow.Instance.CurrentMap.GetRegion(newNameTextBox.Text) != null)
            {
                MessageBox.Show("A region with that name already exists");
                return;
            }
            Client.Game.Map.Region r = new Client.Game.Map.Region
            {
                Name           = newNameTextBox.Text,
                BoundingRegion = new Common.Bounding.Region()
            };

            MainWindow.Instance.CurrentMap.Regions.Add(r);
            regionsListBox.Items.Add(r);
            regionsListBox.SelectedItem = r;
            newNameTextBox.Text         = "";
        }