private void salvaConfigurazioneToolStripMenuItem_Click(object sender, EventArgs e)
        {
            saveConfigFileDialog.FileName = String.IsNullOrEmpty(LastLoadedConfig) ? "Config.config" : LastLoadedConfig;

            if (saveConfigFileDialog.ShowDialog() != DialogResult.OK)
                return;

            ConfigSetup config = new ConfigSetup
            {
                MappingNamespace = txtMappingNamespace.Text,
                ModelNamespace = txtDomainNamespace.Text,
                tables = tables,
                Owner = objectSelector.SelectedOwner,
                SelectedObjectType = objectSelector.SelectedObjectType,
                Version = ExpectedConfigVersion
            };
            config.Save(saveConfigFileDialog.FileName);

            MessageBox.Show("Configuration save succesfull.", "Configuration saved", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }