private void addRectToolStripMenuItem_Click(object sender, EventArgs e) { AreaMapComponent.AddRectangle(new Vector2(50, 50), 120f, 80f); RefreshListBox(); }