private void ObjectView_MouseDown(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left || e.Button == MouseButtons.Right)
            {
                ObjectView.SelectedNode = ObjectView.GetNodeAt(e.X, e.Y);

                if (ObjectView.SelectedNode == null)
                {
                    return;
                }

                if (ObjectView.SelectedNode.Tag is Layer)
                {
                    Layer l = (Layer)ObjectView.SelectedNode.Tag;
                    Editor.Default.selectLayer(l);
                    propertyGrid1.SelectedObject = l;
                }

                if (ObjectView.SelectedNode.Tag is LevelObject)
                {
                    LevelObject lo = (LevelObject)ObjectView.SelectedNode.Tag;
                    Editor.Default.selectLevelObject(lo);
                    selectedLevelObject          = lo;
                    propertyGrid1.SelectedObject = lo;
                    Camera.Position = lo.position;
                }
            }
        }