public void Dispose()
 {
     if (form != null)
     {
         form.Dispose();
         form = null;
     }
 }
        public ConfigurationController()
        {
            form = new ConfigurationForm();
            DiskSpaceRequired = Config.Data.UserSettings.GetDiskSpaceRequiredGB();
            Config.Data.appSettingsReleased = false;

            form.DatabasePathChanged += form_DatabasePathChanged;

            form.ValidateAndNextEvent += form_ValidateAndNextEvent;
        }