private void LoadLaunchFileData() { try { Directory.CreateDirectory(LocalLaunchBackupFileDirectory); Directory.CreateDirectory(LocalLaunchFileDirectory); XboxConsole.ReceiveFile(LocalLaunchBackupFilePath, ConsoleLaunchFilePath); XboxConsole.ReceiveFile(LocalLaunchFilePath, ConsoleLaunchFilePath); LaunchFileData = new FileIniDataParser().ReadFile(LocalLaunchFilePath); ComboBoxSections.Properties.Items.Clear(); foreach (SectionData section in LaunchFileData.Sections) { ComboBoxSections.Properties.Items.Add(section.SectionName); } ComboBoxSections.SelectedItem = "Plugins"; } catch (Exception ex) { Program.Log.Error(ex, $"There was a problem loading the launch.ini file. Error: {ex.Message}"); XtraMessageBox.Show($"There was a problem loading the launch.ini file.\n\nError: {ex.Message}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); Close(); } }