/* Create new */
        private void newInstance_Click(object sender, EventArgs e)
        {
            Form newInstanceForm = new Form();

            switch (loadedType)
            {
            case ManagerType.PROPS:
                newInstanceForm = new PropEditor(-1);
                break;

            case ManagerType.TILES:
                newInstanceForm = new TileEditor(-1);
                break;
            }
            newInstanceForm.FormClosed += new FormClosedEventHandler(ReloadList);
            newInstanceForm.Show();
        }
        /* Edit selected */
        private void editInstance_Click(object sender, EventArgs e)
        {
            if (instanceList.SelectedIndex == -1)
            {
                return;
            }
            Form editInstanceForm = new Form();

            switch (loadedType)
            {
            case ManagerType.PROPS:
                editInstanceForm = new PropEditor(instanceList.SelectedIndex);
                break;

            case ManagerType.TILES:
                editInstanceForm = new TileEditor(instanceList.SelectedIndex);
                break;
            }
            editInstanceForm.FormClosed += new FormClosedEventHandler(ReloadList);
            editInstanceForm.Show();
        }