diff --git a/MPfm/MPfm.MVP/Navigation/NavigationManager.cs b/MPfm/MPfm.MVP/Navigation/NavigationManager.cs index f0a88e87..4c4e7579 100644 --- a/MPfm/MPfm.MVP/Navigation/NavigationManager.cs +++ b/MPfm/MPfm.MVP/Navigation/NavigationManager.cs @@ -144,7 +144,7 @@ public virtual ISyncView CreateSyncView() // The view invokes the OnViewReady action when the view is ready. This means the presenter can be created and bound to the view. Action onViewReady = (view) => - { + { _syncPresenter = Bootstrapper.GetContainer().Resolve(); _syncPresenter.BindView((ISyncView)view); }; diff --git a/MPfm/MPfm.MVP/Presenters/BasePresenter.cs b/MPfm/MPfm.MVP/Presenters/BasePresenter.cs index d6bc33d4..33353c2e 100644 --- a/MPfm/MPfm.MVP/Presenters/BasePresenter.cs +++ b/MPfm/MPfm.MVP/Presenters/BasePresenter.cs @@ -1,54 +1,48 @@ -// Copyright © 2011-2013 Yanick Castonguay -// -// This file is part of MPfm. -// -// MPfm is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// MPfm is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with MPfm. If not, see . - -using System; -using MPfm.MVP.Presenters.Interfaces; -using MPfm.MVP.Views; - -namespace MPfm.MVP.Presenters -{ - /// - /// Base presenter. - /// - public class BasePresenter : IBasePresenter where T : IBaseView - { - // Private variables - public T View { get; private set; } - - #region Constructor and Dispose - - public BasePresenter() - { - } - - #endregion - - /// - /// Binds the view to its implementation. - /// - /// View implementation - public virtual void BindView(T view) - { - // Validate parameters - if(view == null) - throw new ArgumentNullException("The view parameter is null!"); - - // Set properties - this.View = view; - } - } -} +// Copyright © 2011-2013 Yanick Castonguay +// +// This file is part of MPfm. +// +// MPfm is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// MPfm is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with MPfm. If not, see . + +using System; +using MPfm.MVP.Presenters.Interfaces; +using MPfm.MVP.Views; + +namespace MPfm.MVP.Presenters +{ + /// + /// Base presenter. + /// + public class BasePresenter : IBasePresenter where T : IBaseView + { + // Private variables + public T View { get; private set; } + + public BasePresenter() + { + } + + /// + /// Binds the view to its implementation. + /// + /// View implementation + public virtual void BindView(T view) + { + if(view == null) + throw new ArgumentNullException("The view parameter is null!"); + + this.View = view; + } + } +} diff --git a/MPfm/MPfm.MVP/Presenters/SyncMenuPresenter.cs b/MPfm/MPfm.MVP/Presenters/SyncMenuPresenter.cs index 4fc71db4..e88befa7 100644 --- a/MPfm/MPfm.MVP/Presenters/SyncMenuPresenter.cs +++ b/MPfm/MPfm.MVP/Presenters/SyncMenuPresenter.cs @@ -62,15 +62,18 @@ public SyncMenuPresenter(ISyncClientService syncClientService, ISyncDeviceSpecif public override void BindView(ISyncMenuView view) { view.OnSelectItem = SelectItem; + view.OnRemoveItem = RemoveItem; view.OnExpandItem = ExpandItem; view.OnSync = Sync; view.OnSelectButtonClick = SelectButtonClick; + view.OnSelectAll = SelectAll; + view.OnRemoveAll = RemoveAll; base.BindView(view); Initialize(); - } + } - private void Initialize() + private void Initialize() { } @@ -98,7 +101,7 @@ private void HandleOnReceivedIndex(Exception exception) Console.WriteLine("SyncMenuPresenter - HandleOnReceivedIndex - Refrehsing view and sync totals..."); View.RefreshLoading(false, 0); RefreshSyncTotal(); - View.RefreshItems(_items); + RefreshItems(); } catch(Exception ex) { @@ -123,24 +126,9 @@ private void SelectButtonClick() try { if(_audioFilesToSync.Count > 0) - { - // Reset selection - foreach(var item in _items) - item.Selection = StateSelectionType.None; - _audioFilesToSync.Clear(); - View.RefreshSelectButton("Select all"); - } + RemoveAll(); else - { - // Select all items - foreach(var item in _items) - item.Selection = StateSelectionType.Selected; - _audioFilesToSync.AddRange(_syncClientService.GetAudioFiles()); - View.RefreshSelectButton("Reset selection"); - } - - View.RefreshItems(_items); - RefreshSyncTotal(); + SelectAll(); } catch(Exception ex) { @@ -262,7 +250,7 @@ private void SelectItem(SyncMenuItemEntity item) } RefreshSyncTotal(); - View.RefreshItems(_items); + RefreshItems(); } catch(Exception ex) { @@ -270,6 +258,38 @@ private void SelectItem(SyncMenuItemEntity item) } } + private void RemoveItem(AudioFile audioFile) + { + _audioFilesToSync.Remove(audioFile); + View.RefreshSelection(_audioFilesToSync); + } + + private void RemoveAll() + { + // Reset selection + foreach (var item in _items) + item.Selection = StateSelectionType.None; + _audioFilesToSync.Clear(); + View.RefreshSelectButton("Select all"); + + // Refresh view + RefreshItems(); + RefreshSyncTotal(); + } + + private void SelectAll() + { + // Select all items + foreach (var item in _items) + item.Selection = StateSelectionType.Selected; + _audioFilesToSync.AddRange(_syncClientService.GetAudioFiles()); + View.RefreshSelectButton("Reset selection"); + + // Refresh view + RefreshItems(); + RefreshSyncTotal(); + } + private void ExpandItem(SyncMenuItemEntity item, object userData) { try @@ -306,7 +326,7 @@ private void ExpandItem(SyncMenuItemEntity item, object userData) }); } - _items.InsertRange(index, items); + //_items.InsertRange(index, items); View.InsertItems(index + 1, items, userData); } break; @@ -402,6 +422,19 @@ public void SetSyncDevice(SyncDevice device) } } + private void RefreshItems() + { + try + { + View.RefreshSelection(_audioFilesToSync); + View.RefreshItems(_items); + } + catch (Exception ex) + { + Console.WriteLine("SyncMenuPresenter - RefreshItems - Exception: {0}", ex); + } + } + private void RefreshSyncTotal() { try diff --git a/MPfm/MPfm.MVP/Services/InitializationService.cs b/MPfm/MPfm.MVP/Services/InitializationService.cs index 55e641c9..394b97a4 100644 --- a/MPfm/MPfm.MVP/Services/InitializationService.cs +++ b/MPfm/MPfm.MVP/Services/InitializationService.cs @@ -1,172 +1,172 @@ -// Copyright © 2011-2013 Yanick Castonguay -// -// This file is part of MPfm. -// -// MPfm is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// MPfm is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with MPfm. If not, see . - -using System; -using System.Diagnostics; -using System.IO; -using System.Reflection; -using MPfm.Core; -using MPfm.MVP.Config; -using MPfm.MVP.Helpers; -using MPfm.MVP.Services.Interfaces; -using MPfm.Library.Services.Interfaces; - -namespace MPfm.MVP.Services -{ - /// - /// Service used for creating/updating the database and log files. - /// - public class InitializationService : IInitializationService - { - // Private variables - private Stream _fileTracing; - private IAudioFileCacheService _audioFileCacheService; - private ISyncListenerService _syncListenerService; - -#if (!IOS && !ANDROID) - private TextWriterTraceListener textTraceListener = null; -#endif - - public InitializationService(IAudioFileCacheService audioFileCacheService, ISyncListenerService syncListenerService) - { - _audioFileCacheService = audioFileCacheService; - _syncListenerService = syncListenerService; - } - - /// - /// Initializes the application (creates configuration, initializes library, cache, etc.). - /// - public void Initialize() - { - // Check if the .MPfm directory exists - string directoryPath = ConfigurationHelper.HomeDirectory; - if(!Directory.Exists(directoryPath)) - { - // Create directory - Directory.CreateDirectory(directoryPath); - } - - // Create trace listener and start logging - CreateTraceListener(); - Tracing.Log("===================================================================="); - -#if !IOS && !ANDROID // MonoDroid doesn't like Assembly methods - Tracing.Log("MPfm: Music Player for Musicians - " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + " ALPHA"); -#else - Tracing.Log("MPfm: Music Player for Musicians"); -#endif - - Tracing.Log("Started on " + DateTime.Now.ToLongDateString() + " at " + DateTime.Now.ToLongTimeString()); - Tracing.Log("InitializationService.Initialize -- Starting initialization..."); - - // Load data needed to start the application - LoadConfiguration(); - LoadLibrary(); - _audioFileCacheService.RefreshCache(); - } - - void CreateTraceListener() - { -#if (!IOS && !ANDROID) - // Check if trace file exists - if (!File.Exists(ConfigurationHelper.LogFilePath)) - _fileTracing = File.Create(ConfigurationHelper.LogFilePath); - else - _fileTracing = File.Open(ConfigurationHelper.LogFilePath, FileMode.Append); - textTraceListener = new TextWriterTraceListener(_fileTracing); - Trace.Listeners.Add(textTraceListener); -#endif - } - - void LoadConfiguration() - { - // Check for configuration file - Tracing.Log("InitializationService.CreateConfiguration -- Checking for configuration file..."); - if (File.Exists(ConfigurationHelper.ConfigurationFilePath)) - { - // Load configuration file - MPfmConfig.Instance.Load(); - } - //ConfigurationHelper.Save(ConfigurationHelper.ConfigurationFilePath, MPfmConfig.Instance); - //EQPreset preset = EQPresetHelper.Load("/Users/animal/Documents/test.txt"); - //EQPresetHelper.Save("/Users/animal/Documents/test.txt", new EQPreset()); - } - - void LoadLibrary() - { - try - { - // Check if the database file exists - Tracing.Log("InitializationService.CreateLibrary -- Checking if the database file exists..."); - if (!File.Exists(ConfigurationHelper.DatabaseFilePath)) - { - // Create database file - Tracing.Log("InitializationService.CreateLibrary -- Creating new database file..."); - MPfm.Library.Library.CreateDatabaseFile(ConfigurationHelper.DatabaseFilePath); - } - } - catch (Exception ex) - { - throw new Exception("Error initializing MPfm: Could not create database file!", ex); - } - - try - { - // Check current database version - string databaseVersion = MPfm.Library.Library.GetDatabaseVersion(ConfigurationHelper.DatabaseFilePath); - - // Extract major/minor - string[] currentVersionSplit = databaseVersion.Split('.'); - - // Check integrity of the setting value (should be split in 2) - if (currentVersionSplit.Length != 2) - { - throw new Exception("Error fetching database version; the setting value is invalid!"); - } - - int currentMajor = 0; - int currentMinor = 0; - int.TryParse(currentVersionSplit[0], out currentMajor); - int.TryParse(currentVersionSplit[1], out currentMinor); - - // Is this earlier than 1.04? - if (currentMajor == 1 && currentMinor < 4) - { - // Set buffer size - //Config.Audio.Mixer.BufferSize = 1000; - } - - // Check if the database needs to be updated - Tracing.Log("InitializationService.CreateLibrary -- Database version is " + databaseVersion + ". Checking if the database version needs to be updated..."); - MPfm.Library.Library.CheckIfDatabaseVersionNeedsToBeUpdated(ConfigurationHelper.DatabaseFilePath); - } - catch (Exception ex) - { - throw new Exception("Error initializing MPfm: The MPfm database could not be updated!", ex); - } - - try - { - _syncListenerService.Start(); - } - catch (Exception ex) - { - throw new Exception("Error initializing MPfm: The sync listener could not be started!", ex); - } - } - } -} +// Copyright © 2011-2013 Yanick Castonguay +// +// This file is part of MPfm. +// +// MPfm is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// MPfm is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with MPfm. If not, see . + +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using MPfm.Core; +using MPfm.MVP.Config; +using MPfm.MVP.Helpers; +using MPfm.MVP.Services.Interfaces; +using MPfm.Library.Services.Interfaces; + +namespace MPfm.MVP.Services +{ + /// + /// Service used for creating/updating the database and log files. + /// + public class InitializationService : IInitializationService + { + // Private variables + private Stream _fileTracing; + private IAudioFileCacheService _audioFileCacheService; + private ISyncListenerService _syncListenerService; + +#if (!IOS && !ANDROID) + private TextWriterTraceListener textTraceListener = null; +#endif + + public InitializationService(IAudioFileCacheService audioFileCacheService, ISyncListenerService syncListenerService) + { + _audioFileCacheService = audioFileCacheService; + _syncListenerService = syncListenerService; + } + + /// + /// Initializes the application (creates configuration, initializes library, cache, etc.). + /// + public void Initialize() + { + // Check if the .MPfm directory exists + string directoryPath = ConfigurationHelper.HomeDirectory; + if(!Directory.Exists(directoryPath)) + { + // Create directory + Directory.CreateDirectory(directoryPath); + } + + // Create trace listener and start logging + CreateTraceListener(); + Tracing.Log("===================================================================="); + +#if !IOS && !ANDROID // MonoDroid doesn't like Assembly methods + Tracing.Log("MPfm: Music Player for Musicians - " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + " ALPHA"); +#else + Tracing.Log("MPfm: Music Player for Musicians"); +#endif + + Tracing.Log("Started on " + DateTime.Now.ToLongDateString() + " at " + DateTime.Now.ToLongTimeString()); + Tracing.Log("InitializationService.Initialize -- Starting initialization..."); + + // Load data needed to start the application + LoadConfiguration(); + LoadLibrary(); + _audioFileCacheService.RefreshCache(); + } + + void CreateTraceListener() + { +#if (!IOS && !ANDROID) + // Check if trace file exists + if (!File.Exists(ConfigurationHelper.LogFilePath)) + _fileTracing = File.Create(ConfigurationHelper.LogFilePath); + else + _fileTracing = File.Open(ConfigurationHelper.LogFilePath, FileMode.Append); + textTraceListener = new TextWriterTraceListener(_fileTracing); + Trace.Listeners.Add(textTraceListener); +#endif + } + + void LoadConfiguration() + { + // Check for configuration file + Tracing.Log("InitializationService.CreateConfiguration -- Checking for configuration file..."); + if (File.Exists(ConfigurationHelper.ConfigurationFilePath)) + { + // Load configuration file + MPfmConfig.Instance.Load(); + } + //ConfigurationHelper.Save(ConfigurationHelper.ConfigurationFilePath, MPfmConfig.Instance); + //EQPreset preset = EQPresetHelper.Load("/Users/animal/Documents/test.txt"); + //EQPresetHelper.Save("/Users/animal/Documents/test.txt", new EQPreset()); + } + + void LoadLibrary() + { + try + { + // Check if the database file exists + Tracing.Log(string.Format("InitializationService.CreateLibrary -- Checking if the database file exists ({0})...", ConfigurationHelper.DatabaseFilePath)); + if (!File.Exists(ConfigurationHelper.DatabaseFilePath)) + { + // Create database file + Tracing.Log("InitializationService.CreateLibrary -- Creating new database file..."); + MPfm.Library.Library.CreateDatabaseFile(ConfigurationHelper.DatabaseFilePath); + } + } + catch (Exception ex) + { + throw new Exception("Error initializing MPfm: Could not create database file!", ex); + } + + try + { + // Check current database version + string databaseVersion = MPfm.Library.Library.GetDatabaseVersion(ConfigurationHelper.DatabaseFilePath); + + // Extract major/minor + string[] currentVersionSplit = databaseVersion.Split('.'); + + // Check integrity of the setting value (should be split in 2) + if (currentVersionSplit.Length != 2) + { + throw new Exception("Error fetching database version; the setting value is invalid!"); + } + + int currentMajor = 0; + int currentMinor = 0; + int.TryParse(currentVersionSplit[0], out currentMajor); + int.TryParse(currentVersionSplit[1], out currentMinor); + + // Is this earlier than 1.04? + if (currentMajor == 1 && currentMinor < 4) + { + // Set buffer size + //Config.Audio.Mixer.BufferSize = 1000; + } + + // Check if the database needs to be updated + Tracing.Log("InitializationService.CreateLibrary -- Database version is " + databaseVersion + ". Checking if the database version needs to be updated..."); + MPfm.Library.Library.CheckIfDatabaseVersionNeedsToBeUpdated(ConfigurationHelper.DatabaseFilePath); + } + catch (Exception ex) + { + throw new Exception("Error initializing MPfm: The MPfm database could not be updated!", ex); + } + + try + { + _syncListenerService.Start(); + } + catch (Exception ex) + { + throw new Exception("Error initializing MPfm: The sync listener could not be started!", ex); + } + } + } +} diff --git a/MPfm/MPfm.MVP/Views/ISyncMenuView.cs b/MPfm/MPfm.MVP/Views/ISyncMenuView.cs index 5700b7ab..6b64e934 100644 --- a/MPfm/MPfm.MVP/Views/ISyncMenuView.cs +++ b/MPfm/MPfm.MVP/Views/ISyncMenuView.cs @@ -30,8 +30,11 @@ public interface ISyncMenuView : IBaseView { Action OnExpandItem { get; set; } Action OnSelectItem { get; set; } + Action OnRemoveItem { get; set; } Action OnSync { get; set; } Action OnSelectButtonClick { get; set; } + Action OnSelectAll { get; set; } + Action OnRemoveAll { get; set; } void SyncMenuError(Exception ex); void SyncEmptyError(Exception ex); @@ -39,6 +42,7 @@ public interface ISyncMenuView : IBaseView void RefreshLoading(bool isLoading, int progressPercentage); void RefreshSelectButton(string text); void RefreshItems(List items); + void RefreshSelection(List audioFiles); void RefreshSyncTotal(string title, string subtitle, bool enoughFreeSpace); void InsertItems(int index, List items, object userData); void RemoveItems(int index, int count, object userData); diff --git a/MPfm/MPfm.Windows/Classes/Forms/BaseForm.cs b/MPfm/MPfm.Windows/Classes/Forms/BaseForm.cs index 815d04a1..32d818c3 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/BaseForm.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/BaseForm.cs @@ -33,20 +33,16 @@ public BaseForm(Action onViewReady) OnViewReady = onViewReady; } - protected override void OnLoad(EventArgs e) + protected override void OnClosed(EventArgs e) { - Console.WriteLine("BaseForm - OnLoad"); - base.OnLoad(e); + if (OnViewDestroy != null) OnViewDestroy(this); + base.OnClosed(e); } protected void ViewIsReady() { - Console.WriteLine("BaseForm - ViewIsReady"); - - // Bind presenter to view + // Bind presenter to view and show window OnViewReady(this); - - // Display window Show(); } diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmMain.cs b/MPfm/MPfm.Windows/Classes/Forms/frmMain.cs index b8d0e6af..e7d44d6f 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmMain.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmMain.cs @@ -280,7 +280,7 @@ private void frmMain_Load(object sender, EventArgs e) catch (Exception ex) { Tracing.Log("Configuration error:" + ex.Message); - frmSplash.SetError("Configuration error: " + ex.Message); + //frmSplash.SetError("Configuration error: " + ex.Message); } //try @@ -297,30 +297,30 @@ private void frmMain_Load(object sender, EventArgs e) // throw; //} - // Check if it's the first time the user runs the application - if (Config.GetKeyValueGeneric("FirstRun") == null || - Config.GetKeyValueGeneric("FirstRun") == true) - { - // Display the first run wizard - frmFirstRun formFirstRun = new frmFirstRun(this); - DialogResult dialogResultFirstRun = formFirstRun.ShowDialog(); + //// Check if it's the first time the user runs the application + //if (Config.GetKeyValueGeneric("FirstRun") == null || + // Config.GetKeyValueGeneric("FirstRun") == true) + //{ + // // Display the first run wizard + // frmFirstRun formFirstRun = new frmFirstRun(this); + // DialogResult dialogResultFirstRun = formFirstRun.ShowDialog(); - // Evaluate user response - if (dialogResultFirstRun == System.Windows.Forms.DialogResult.Cancel) - { - // User clicked cancel; exit the application immediately - Application.Exit(); - return; - } - else - { - // Wizard is done: set first run to false - Config.SetKeyValue("FirstRun", false); - } + // // Evaluate user response + // if (dialogResultFirstRun == System.Windows.Forms.DialogResult.Cancel) + // { + // // User clicked cancel; exit the application immediately + // Application.Exit(); + // return; + // } + // else + // { + // // Wizard is done: set first run to false + // Config.SetKeyValue("FirstRun", false); + // } - // Save initial configuration - Config.Save(); - } + // // Save initial configuration + // Config.Save(); + //} //// Create player //try @@ -414,7 +414,7 @@ private void frmMain_Load(object sender, EventArgs e) catch (Exception ex) { // Set error in splash and hide splash - frmSplash.SetStatus("Error initializing UI!"); + //frmSplash.SetStatus("Error initializing UI!"); frmSplash.HideSplash(); // Display message box with error @@ -430,201 +430,201 @@ private void frmMain_Load(object sender, EventArgs e) try { Tracing.Log("Main form init -- Applying configuration..."); - frmSplash.SetStatus("Applying configuration..."); - - // Resetting display - lblCurrentAlbumTitle.Text = string.Empty; - lblCurrentArtistName.Text = string.Empty; - lblCurrentSongTitle.Text = string.Empty; - lblCurrentFilePath.Text = string.Empty; - lblBitrate.Text = string.Empty; - lblSoundFormat.Text = string.Empty; - lblBitsPerSample.Text = string.Empty; - lblFrequency.Text = string.Empty; - - // Load window configuration (position, size, column sizes, etc.) - LoadWindowConfiguration(); - - // Load other configuration options - notifyIcon.Visible = Config.GetKeyValueGeneric("ShowTray").HasValue ? Config.GetKeyValueGeneric("ShowTray").Value : false; - timerSongPosition.Interval = (Config.GetKeyValueGeneric("PositionUpdateFrequency").HasValue) ? Config.GetKeyValueGeneric("PositionUpdateFrequency").Value : 10; - timerUpdateOutputMeter.Interval = (Config.GetKeyValueGeneric("OutputMeterUpdateFrequency").HasValue) ? Config.GetKeyValueGeneric("OutputMeterUpdateFrequency").Value : 20; - faderVolume.Value = Config.Audio.Mixer.Volume; - lblVolume.Text = Config.Audio.Mixer.Volume + " %"; - //Player.Volume = ((float)Config.Audio.Mixer.Volume / 100); - - // Enable/disable tooltips - bool showTooltips = Config.GetKeyValueGeneric("ShowTooltips").HasValue ? Config.GetKeyValueGeneric("ShowTooltips").Value : true; - EnableTooltips(showTooltips); - - // Reset song query - querySongBrowser = new SongQuery(); - - // Get query if available - string queryArtistName = Config.Controls.SongGridView.Query.ArtistName; - string queryAlbumTitle = Config.Controls.SongGridView.Query.AlbumTitle; - string queryPlaylistId = Config.Controls.SongGridView.Query.PlaylistId.ToString(); - string querySongId = Config.Controls.SongGridView.Query.AudioFileId.ToString(); - string currentNodeType = Config.Controls.SongGridView.Query.NodeType.ToString(); - - // Get media type filter configuration and set media type before refreshing the tree library - string filterSoundFormat = Config.GetKeyValue("FilterSoundFormat"); - - // Populate the supported formats - comboSoundFormat.Items.Clear(); - comboSoundFormat.Items.Add("All"); - comboSoundFormat.Items.Add("APE"); - comboSoundFormat.Items.Add("FLAC"); - comboSoundFormat.Items.Add("MP3"); - comboSoundFormat.Items.Add("MPC"); - comboSoundFormat.Items.Add("OGG"); - comboSoundFormat.Items.Add("WMA"); - comboSoundFormat.Items.Add("WV"); - //Array audioFileFormats = Enum.GetValues(typeof(AudioFileFormat)); - - //foreach (AudioFileFormat audioFileFormat in audioFileFormats) + //frmSplash.SetStatus("Applying configuration..."); + + //// Resetting display + //lblCurrentAlbumTitle.Text = string.Empty; + //lblCurrentArtistName.Text = string.Empty; + //lblCurrentSongTitle.Text = string.Empty; + //lblCurrentFilePath.Text = string.Empty; + //lblBitrate.Text = string.Empty; + //lblSoundFormat.Text = string.Empty; + //lblBitsPerSample.Text = string.Empty; + //lblFrequency.Text = string.Empty; + + //// Load window configuration (position, size, column sizes, etc.) + //LoadWindowConfiguration(); + + //// Load other configuration options + //notifyIcon.Visible = Config.GetKeyValueGeneric("ShowTray").HasValue ? Config.GetKeyValueGeneric("ShowTray").Value : false; + //timerSongPosition.Interval = (Config.GetKeyValueGeneric("PositionUpdateFrequency").HasValue) ? Config.GetKeyValueGeneric("PositionUpdateFrequency").Value : 10; + //timerUpdateOutputMeter.Interval = (Config.GetKeyValueGeneric("OutputMeterUpdateFrequency").HasValue) ? Config.GetKeyValueGeneric("OutputMeterUpdateFrequency").Value : 20; + //faderVolume.Value = Config.Audio.Mixer.Volume; + //lblVolume.Text = Config.Audio.Mixer.Volume + " %"; + ////Player.Volume = ((float)Config.Audio.Mixer.Volume / 100); + + //// Enable/disable tooltips + //bool showTooltips = Config.GetKeyValueGeneric("ShowTooltips").HasValue ? Config.GetKeyValueGeneric("ShowTooltips").Value : true; + //EnableTooltips(showTooltips); + + //// Reset song query + //querySongBrowser = new SongQuery(); + + //// Get query if available + //string queryArtistName = Config.Controls.SongGridView.Query.ArtistName; + //string queryAlbumTitle = Config.Controls.SongGridView.Query.AlbumTitle; + //string queryPlaylistId = Config.Controls.SongGridView.Query.PlaylistId.ToString(); + //string querySongId = Config.Controls.SongGridView.Query.AudioFileId.ToString(); + //string currentNodeType = Config.Controls.SongGridView.Query.NodeType.ToString(); + + //// Get media type filter configuration and set media type before refreshing the tree library + //string filterSoundFormat = Config.GetKeyValue("FilterSoundFormat"); + + //// Populate the supported formats + //comboSoundFormat.Items.Clear(); + //comboSoundFormat.Items.Add("All"); + //comboSoundFormat.Items.Add("APE"); + //comboSoundFormat.Items.Add("FLAC"); + //comboSoundFormat.Items.Add("MP3"); + //comboSoundFormat.Items.Add("MPC"); + //comboSoundFormat.Items.Add("OGG"); + //comboSoundFormat.Items.Add("WMA"); + //comboSoundFormat.Items.Add("WV"); + ////Array audioFileFormats = Enum.GetValues(typeof(AudioFileFormat)); + + ////foreach (AudioFileFormat audioFileFormat in audioFileFormats) + ////{ + //// // Check if the item is not unknown + //// if (audioFileFormat != AudioFileFormat.Unknown && audioFileFormat != AudioFileFormat.All) + //// { + //// // Add item to combo box + //// comboSoundFormat.Items.Add(audioFileFormat.ToString()); + //// } + ////} + + //// Check if the configuration is null or empty + //if (String.IsNullOrEmpty(filterSoundFormat)) //{ - // // Check if the item is not unknown - // if (audioFileFormat != AudioFileFormat.Unknown && audioFileFormat != AudioFileFormat.All) - // { - // // Add item to combo box - // comboSoundFormat.Items.Add(audioFileFormat.ToString()); - // } + // // Set MP3 filter by default + // filterSoundFormat = AudioFileFormat.MP3.ToString(); //} - // Check if the configuration is null or empty - if (String.IsNullOrEmpty(filterSoundFormat)) - { - // Set MP3 filter by default - filterSoundFormat = AudioFileFormat.MP3.ToString(); - } - - // Set combo box selected item - comboSoundFormat.SelectedItem = filterSoundFormat; - - // Refresh controls - RefreshTreeLibrary(); - - // Update peak file warning if necessary - RefreshPeakFileDirectorySizeWarning(); - - //// Set Init current song Id - //if (!string.IsNullOrEmpty(querySongId)) + //// Set combo box selected item + //comboSoundFormat.SelectedItem = filterSoundFormat; + + //// Refresh controls + //RefreshTreeLibrary(); + + //// Update peak file warning if necessary + //RefreshPeakFileDirectorySizeWarning(); + + ////// Set Init current song Id + ////if (!string.IsNullOrEmpty(querySongId)) + ////{ + //// // Make sure the application doesn't crash if it tries to convert a string into Guid + //// try + //// { + //// InitCurrentSongId = new Guid(querySongId); + //// } + //// catch + //// { + //// // Do nothing + //// } + ////} + + //// Set default current node type + //if (String.IsNullOrEmpty(currentNodeType)) //{ - // // Make sure the application doesn't crash if it tries to convert a string into Guid - // try - // { - // InitCurrentSongId = new Guid(querySongId); - // } - // catch - // { - // // Do nothing - // } + // currentNodeType = "AllSongs"; //} - // Set default current node type - if (String.IsNullOrEmpty(currentNodeType)) - { - currentNodeType = "AllSongs"; - } - - // Set selected node depending on configuration - // AllArtists: No background worker required - if (currentNodeType == "AllArtists") - { - // Set selected node - treeLibraryBrowser.SelectedNode = nodeAllArtists; + //// Set selected node depending on configuration + //// AllArtists: No background worker required + //if (currentNodeType == "AllArtists") + //{ + // // Set selected node + // treeLibraryBrowser.SelectedNode = nodeAllArtists; - // Refresh song browser - RefreshSongBrowser(); + // // Refresh song browser + // RefreshSongBrowser(); - // Declare init done! - SetInitDone(); - } - // AllAlbums: No background worker required - else if (currentNodeType == "AllAlbums") - { - // Set selected node - treeLibraryBrowser.SelectedNode = nodeAllAlbums; + // // Declare init done! + // SetInitDone(); + //} + //// AllAlbums: No background worker required + //else if (currentNodeType == "AllAlbums") + //{ + // // Set selected node + // treeLibraryBrowser.SelectedNode = nodeAllAlbums; - // Refresh song browser - RefreshSongBrowser(); + // // Refresh song browser + // RefreshSongBrowser(); - // Declare init done! - SetInitDone(); - } - // nodeAllSongs: No background worker required - else if (currentNodeType == "AllSongs") - { - // Set selected node - treeLibraryBrowser.SelectedNode = nodeAllSongs; + // // Declare init done! + // SetInitDone(); + //} + //// nodeAllSongs: No background worker required + //else if (currentNodeType == "AllSongs") + //{ + // // Set selected node + // treeLibraryBrowser.SelectedNode = nodeAllSongs; - // Refresh song browser - RefreshSongBrowser(); + // // Refresh song browser + // RefreshSongBrowser(); - // Declare init done! - SetInitDone(); - } - // AllPlaylists: No background worker required - else if (currentNodeType == "AllPlaylists") - { - // Set selected node - treeLibraryBrowser.SelectedNode = nodeAllPlaylists; + // // Declare init done! + // SetInitDone(); + //} + //// AllPlaylists: No background worker required + //else if (currentNodeType == "AllPlaylists") + //{ + // // Set selected node + // treeLibraryBrowser.SelectedNode = nodeAllPlaylists; - // Refresh song browser - RefreshSongBrowser(); + // // Refresh song browser + // RefreshSongBrowser(); - // Declare init done! - SetInitDone(); - } - // Artist: Background worker required - else if (currentNodeType == "Artist") - { - // Expand the AllArtists node - initOpenNodeArtist = queryArtistName; - nodeAllArtists.Expand(); + // // Declare init done! + // SetInitDone(); + //} + //// Artist: Background worker required + //else if (currentNodeType == "Artist") + //{ + // // Expand the AllArtists node + // initOpenNodeArtist = queryArtistName; + // nodeAllArtists.Expand(); - // Can't declare init done yet since background thread is running - } - else if (currentNodeType == "Album") - { - // Expand the AllAlbums node - initOpenNodeAlbum = queryAlbumTitle; - nodeAllAlbums.Expand(); - } - else if (currentNodeType == "ArtistAlbum") - { - // Expand the AllArtists node - initOpenNodeArtist = queryArtistName; - initOpenNodeArtistAlbum = queryAlbumTitle; - nodeAllArtists.Expand(); + // // Can't declare init done yet since background thread is running + //} + //else if (currentNodeType == "Album") + //{ + // // Expand the AllAlbums node + // initOpenNodeAlbum = queryAlbumTitle; + // nodeAllAlbums.Expand(); + //} + //else if (currentNodeType == "ArtistAlbum") + //{ + // // Expand the AllArtists node + // initOpenNodeArtist = queryArtistName; + // initOpenNodeArtistAlbum = queryAlbumTitle; + // nodeAllArtists.Expand(); - // Can't declare init done yet since background thread is running - } - else if (currentNodeType == "Playlist") - { - //// Expand the playlist node - //if (!String.IsNullOrEmpty(queryPlaylistId)) - //{ - // try - // { - // InitOpenNodePlaylistId = new Guid(queryPlaylistId); - // } - // catch - // { - // InitOpenNodePlaylistId = Guid.Empty; - // } - //} - //nodeAllPlaylists.Expand(); - } + // // Can't declare init done yet since background thread is running + //} + //else if (currentNodeType == "Playlist") + //{ + // //// Expand the playlist node + // //if (!String.IsNullOrEmpty(queryPlaylistId)) + // //{ + // // try + // // { + // // InitOpenNodePlaylistId = new Guid(queryPlaylistId); + // // } + // // catch + // // { + // // InitOpenNodePlaylistId = Guid.Empty; + // // } + // //} + // //nodeAllPlaylists.Expand(); + //} - // Start output meter timer - timerUpdateOutputMeter.Start(); + //// Start output meter timer + //timerUpdateOutputMeter.Start(); } catch (Exception ex) { // Set error in splash and hide splash - frmSplash.SetStatus("Error applying configuration!"); + //frmSplash.SetStatus("Error applying configuration!"); frmSplash.HideSplash(); // Display message box with error @@ -823,7 +823,7 @@ public void SetInitDone() //isInitDone = true; Tracing.Log("Main form init -- Initialization successful!"); - frmSplash.SetStatus("Initialization successful!"); + //frmSplash.SetStatus("Initialization successful!"); this.BringToFront(); this.Activate(); diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmPreferences.Designer.cs b/MPfm/MPfm.Windows/Classes/Forms/frmPreferences.Designer.cs index 1f93de4c..152e9c6c 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmPreferences.Designer.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmPreferences.Designer.cs @@ -46,122 +46,122 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - MPfm.WindowsControls.ButtonTheme buttonTheme1 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.LabelTheme labelTheme1 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient1 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont1 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme2 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient2 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont2 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme3 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient3 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont3 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme2 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.LabelTheme labelTheme4 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient4 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont4 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme5 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient5 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont5 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme1 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient6 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont6 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme1 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient7 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont7 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme2 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient8 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont8 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme3 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.ButtonTheme buttonTheme2 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient9 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont9 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme4 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient10 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont10 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme5 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient11 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont11 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme10 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient19 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont19 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme8 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.LabelTheme labelTheme7 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient16 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont16 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme3 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.TextGradient textGradient12 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont12 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient13 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont13 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TextGradient textGradient14 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont14 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.LabelTheme labelTheme6 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient12 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont12 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme3 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient15 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont15 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient16 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont16 = new MPfm.WindowsControls.CustomFont(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPreferences)); + MPfm.WindowsControls.ButtonTheme buttonTheme4 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient17 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont17 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme13 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient22 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont22 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme12 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient21 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont21 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme11 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient18 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont18 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient19 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont19 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme5 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient20 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont20 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme14 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient21 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont21 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient22 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont22 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme6 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient23 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont23 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme15 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient24 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont24 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme4 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient25 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont25 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient26 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont26 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient27 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont27 = new MPfm.WindowsControls.CustomFont(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPreferences)); - MPfm.WindowsControls.ButtonTheme buttonTheme5 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.LabelTheme labelTheme12 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient33 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont33 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme10 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient28 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont28 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme8 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient26 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont26 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme7 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient29 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont29 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TextGradient textGradient30 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont30 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme6 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient31 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont31 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient32 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont32 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient33 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont33 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme7 = new MPfm.WindowsControls.ButtonTheme(); - MPfm.WindowsControls.TextGradient textGradient34 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont34 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient35 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont35 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme15 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient36 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont36 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme8 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.LabelTheme labelTheme14 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient35 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont35 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme13 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient34 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont34 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme16 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient37 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont37 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme17 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient38 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont38 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme8 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient39 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont39 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme9 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient40 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont40 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TextGradient textGradient41 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont41 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme9 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient42 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont42 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme17 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient47 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont47 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme10 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient43 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont43 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TextGradient textGradient44 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont44 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme10 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient45 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont45 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme16 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient46 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont46 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient47 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont47 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.PanelTheme panelTheme5 = new MPfm.WindowsControls.PanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient18 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.TextGradient textGradient58 = new MPfm.WindowsControls.TextGradient(); @@ -216,70 +216,70 @@ private void InitializeComponent() MPfm.WindowsControls.BackgroundGradient backgroundGradient16 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.TextGradient textGradient57 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont57 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme3 = new MPfm.WindowsControls.TableLayoutPanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient3 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.PanelTheme panelTheme9 = new MPfm.WindowsControls.PanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient30 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.TextGradient textGradient66 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont66 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme9 = new MPfm.WindowsControls.TableLayoutPanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient29 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.PanelTheme panelTheme6 = new MPfm.WindowsControls.PanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient19 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.TextGradient textGradient59 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont59 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme1 = new MPfm.WindowsControls.TableLayoutPanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient1 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.LabelTheme labelTheme7 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient13 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont13 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme9 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient18 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont18 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.PanelTheme panelTheme7 = new MPfm.WindowsControls.PanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient20 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient22 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.TextGradient textGradient60 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont60 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme2 = new MPfm.WindowsControls.TableLayoutPanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient2 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.PanelTheme panelTheme8 = new MPfm.WindowsControls.PanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient28 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.TextGradient textGradient65 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont65 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme8 = new MPfm.WindowsControls.TableLayoutPanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient27 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.LabelTheme labelTheme24 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient61 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont61 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme25 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient62 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont62 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme26 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient63 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont63 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme27 = new MPfm.WindowsControls.LabelTheme(); - MPfm.WindowsControls.TextGradient textGradient64 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont64 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TrackBarTheme trackBarTheme3 = new MPfm.WindowsControls.TrackBarTheme(); + MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme9 = new MPfm.WindowsControls.TableLayoutPanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient21 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient22 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient23 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.TrackBarTheme trackBarTheme4 = new MPfm.WindowsControls.TrackBarTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient24 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient25 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient26 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.PanelTheme panelTheme6 = new MPfm.WindowsControls.PanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient20 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.TextGradient textGradient59 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont59 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme8 = new MPfm.WindowsControls.TableLayoutPanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient19 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.PanelTheme panelTheme11 = new MPfm.WindowsControls.PanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient34 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.TextGradient textGradient68 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont68 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme11 = new MPfm.WindowsControls.TableLayoutPanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient33 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.PanelTheme panelTheme8 = new MPfm.WindowsControls.PanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient23 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.TextGradient textGradient61 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont61 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme2 = new MPfm.WindowsControls.TableLayoutPanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient2 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.LabelTheme labelTheme9 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient27 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont27 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme11 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient32 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont32 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.PanelTheme panelTheme9 = new MPfm.WindowsControls.PanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient24 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.TextGradient textGradient62 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont62 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme3 = new MPfm.WindowsControls.TableLayoutPanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient3 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.PanelTheme panelTheme10 = new MPfm.WindowsControls.PanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient32 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.TextGradient textGradient67 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont67 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TableLayoutPanelTheme tableLayoutPanelTheme10 = new MPfm.WindowsControls.TableLayoutPanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient31 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.LabelTheme labelTheme24 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient63 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont63 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme25 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient64 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont64 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme26 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient65 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont65 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme27 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient66 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont66 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TrackBarTheme trackBarTheme3 = new MPfm.WindowsControls.TrackBarTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient25 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient26 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient27 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.TrackBarTheme trackBarTheme4 = new MPfm.WindowsControls.TrackBarTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient28 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient29 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient30 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.FlowLayoutPanelTheme flowLayoutPanelTheme1 = new MPfm.WindowsControls.FlowLayoutPanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient35 = new MPfm.WindowsControls.BackgroundGradient(); this.dialogAddFolder = new System.Windows.Forms.FolderBrowserDialog(); @@ -288,13 +288,19 @@ private void InitializeComponent() this.dialogSaveTheme = new System.Windows.Forms.SaveFileDialog(); this.dialogBrowsePeakFileDirectory = new System.Windows.Forms.FolderBrowserDialog(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); - this.btnTestSaveAudioSettings = new MPfm.WindowsControls.Button(); - this.btnResetToDefault = new MPfm.WindowsControls.Button(); this.lblBufferSize = new MPfm.WindowsControls.Label(); this.lblUpdatePeriod = new MPfm.WindowsControls.Label(); this.lblDriver = new MPfm.WindowsControls.Label(); this.lblOutputDriver = new MPfm.WindowsControls.Label(); this.lblSampleRate = new MPfm.WindowsControls.Label(); + this.btnTestSaveAudioSettings = new MPfm.WindowsControls.Button(); + this.btnResetToDefault = new MPfm.WindowsControls.Button(); + this.lblASIOLatency = new MPfm.WindowsControls.Label(); + this.btnOpenASIOControlPanel = new MPfm.WindowsControls.Button(); + this.lblASIOLatencyValue = new MPfm.WindowsControls.Label(); + this.btnResetLibrary = new MPfm.WindowsControls.Button(); + this.btnAddFolder = new MPfm.WindowsControls.Button(); + this.btnRemoveFolder = new MPfm.WindowsControls.Button(); this.lblPeakFileDefaultDirectory = new MPfm.WindowsControls.Label(); this.lblPeakFileCustomDirectory = new MPfm.WindowsControls.Label(); this.lblPeakFileDisplayWarning = new MPfm.WindowsControls.Label(); @@ -304,15 +310,9 @@ private void InitializeComponent() this.lblHideTray = new MPfm.WindowsControls.Label(); this.lblPositionUpdateFrequency = new MPfm.WindowsControls.Label(); this.lblOutputMeterUpdateFrequency = new MPfm.WindowsControls.Label(); - this.btnAddFolder = new MPfm.WindowsControls.Button(); - this.btnResetLibrary = new MPfm.WindowsControls.Button(); - this.btnRemoveFolder = new MPfm.WindowsControls.Button(); this.btnGeneralSettings = new MPfm.WindowsControls.Button(); this.btnAudioSettings = new MPfm.WindowsControls.Button(); this.btnLibrarySettings = new MPfm.WindowsControls.Button(); - this.lblASIOLatency = new MPfm.WindowsControls.Label(); - this.btnOpenASIOControlPanel = new MPfm.WindowsControls.Button(); - this.lblASIOLatencyValue = new MPfm.WindowsControls.Label(); this.panelAudioSettings = new MPfm.WindowsControls.Panel(); this.tableAudioSettings = new MPfm.WindowsControls.TableLayoutPanel(); this.panelAudioSettingsMixerDirectSound = new MPfm.WindowsControls.Panel(); @@ -337,6 +337,13 @@ private void InitializeComponent() this.picAudioSettingsWarning = new System.Windows.Forms.PictureBox(); this.panelAudioSettingsMixerASIO = new MPfm.WindowsControls.Panel(); this.tableLayoutPanel1 = new MPfm.WindowsControls.TableLayoutPanel(); + this.panelLibrarySettings = new MPfm.WindowsControls.Panel(); + this.tableLibrarySettings = new MPfm.WindowsControls.TableLayoutPanel(); + this.panelLibrarySettingsFolders = new MPfm.WindowsControls.Panel(); + this.tableLibrarySettingsFolders = new MPfm.WindowsControls.TableLayoutPanel(); + this.listViewFolders = new System.Windows.Forms.ListView(); + this.columnPath = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnRecursive = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panelGeneralSettings = new MPfm.WindowsControls.Panel(); this.tableGeneralSettings = new MPfm.WindowsControls.TableLayoutPanel(); this.panelPeakFiles = new MPfm.WindowsControls.Panel(); @@ -363,13 +370,6 @@ private void InitializeComponent() this.lblPositionUpdateFrequencyEvery = new MPfm.WindowsControls.Label(); this.trackOutputMeterUpdateFrequency = new MPfm.WindowsControls.TrackBar(); this.trackPositionUpdateFrequency = new MPfm.WindowsControls.TrackBar(); - this.panelLibrarySettings = new MPfm.WindowsControls.Panel(); - this.tableLibrarySettings = new MPfm.WindowsControls.TableLayoutPanel(); - this.panelLibrarySettingsFolders = new MPfm.WindowsControls.Panel(); - this.tableLibrarySettingsFolders = new MPfm.WindowsControls.TableLayoutPanel(); - this.listViewFolders = new System.Windows.Forms.ListView(); - this.columnPath = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnRecursive = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.flowToolbar = new MPfm.WindowsControls.FlowLayoutPanel(); this.panelAudioSettings.SuspendLayout(); this.tableAudioSettings.SuspendLayout(); @@ -384,6 +384,10 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.picAudioSettingsWarning)).BeginInit(); this.panelAudioSettingsMixerASIO.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); + this.panelLibrarySettings.SuspendLayout(); + this.tableLibrarySettings.SuspendLayout(); + this.panelLibrarySettingsFolders.SuspendLayout(); + this.tableLibrarySettingsFolders.SuspendLayout(); this.panelGeneralSettings.SuspendLayout(); this.tableGeneralSettings.SuspendLayout(); this.panelPeakFiles.SuspendLayout(); @@ -395,10 +399,6 @@ private void InitializeComponent() this.tableUpdateFrequency.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericOutputMeterUpdateFrequency)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericPositionUpdateFrequency)).BeginInit(); - this.panelLibrarySettings.SuspendLayout(); - this.tableLibrarySettings.SuspendLayout(); - this.panelLibrarySettingsFolders.SuspendLayout(); - this.tableLibrarySettingsFolders.SuspendLayout(); this.flowToolbar.SuspendLayout(); this.SuspendLayout(); // @@ -434,20 +434,20 @@ private void InitializeComponent() this.toolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.toolTip.ToolTipTitle = "Settings"; // - // btnTestSaveAudioSettings + // lblBufferSize // - this.btnTestSaveAudioSettings.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnTestSaveAudioSettings.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnTestSaveAudioSettings.Image = global::MPfm.Windows.Properties.Resources.sound; - this.btnTestSaveAudioSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnTestSaveAudioSettings.IsAutoSized = true; - this.btnTestSaveAudioSettings.Location = new System.Drawing.Point(30, 28); - this.btnTestSaveAudioSettings.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); - this.btnTestSaveAudioSettings.Name = "btnTestSaveAudioSettings"; - this.btnTestSaveAudioSettings.Size = new System.Drawing.Size(137, 28); - this.btnTestSaveAudioSettings.TabIndex = 81; - this.btnTestSaveAudioSettings.Text = "Test audio settings"; - this.btnTestSaveAudioSettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.lblBufferSize.BackColor = System.Drawing.Color.Transparent; + this.lblBufferSize.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblBufferSize.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblBufferSize.IsAutoSized = false; + this.lblBufferSize.Location = new System.Drawing.Point(3, 3); + this.lblBufferSize.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblBufferSize.Name = "lblBufferSize"; + this.lblBufferSize.Size = new System.Drawing.Size(85, 22); + this.lblBufferSize.TabIndex = 103; + this.lblBufferSize.Text = "Buffer size :"; + this.lblBufferSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme1.IsBackgroundTransparent = true; textGradient1.BorderColor = System.Drawing.Color.DarkGray; textGradient1.BorderWidth = 1; textGradient1.Color1 = System.Drawing.Color.LightGray; @@ -463,13 +463,31 @@ private void InitializeComponent() customFont1.UseEmbeddedFont = true; textGradient1.Font = customFont1; textGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient1.Padding = 6; - buttonTheme1.TextGradientDefault = textGradient1; - textGradient2.BorderColor = System.Drawing.Color.DarkGray; - textGradient2.BorderWidth = 1; - textGradient2.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient2.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont2.Color = System.Drawing.Color.LightGray; + textGradient1.Padding = 2; + labelTheme1.TextGradient = textGradient1; + this.lblBufferSize.Theme = labelTheme1; + this.toolTip.SetToolTip(this.lblBufferSize, "Changes the audio buffer size (100 ms to 10000 ms). If the audio playback is stut" + + "tering, try using higher values."); + // + // lblUpdatePeriod + // + this.lblUpdatePeriod.BackColor = System.Drawing.Color.Transparent; + this.lblUpdatePeriod.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblUpdatePeriod.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblUpdatePeriod.IsAutoSized = false; + this.lblUpdatePeriod.Location = new System.Drawing.Point(3, 31); + this.lblUpdatePeriod.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblUpdatePeriod.Name = "lblUpdatePeriod"; + this.lblUpdatePeriod.Size = new System.Drawing.Size(85, 22); + this.lblUpdatePeriod.TabIndex = 107; + this.lblUpdatePeriod.Text = "Update period :"; + this.lblUpdatePeriod.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme2.IsBackgroundTransparent = true; + textGradient2.BorderColor = System.Drawing.Color.DarkGray; + textGradient2.BorderWidth = 1; + textGradient2.Color1 = System.Drawing.Color.LightGray; + textGradient2.Color2 = System.Drawing.Color.Gray; + customFont2.Color = System.Drawing.Color.Black; customFont2.EmbeddedFontName = "Junction"; customFont2.IsBold = false; customFont2.IsItalic = false; @@ -480,12 +498,30 @@ private void InitializeComponent() customFont2.UseEmbeddedFont = true; textGradient2.Font = customFont2; textGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient2.Padding = 6; - buttonTheme1.TextGradientDisabled = textGradient2; - textGradient3.BorderColor = System.Drawing.Color.Gray; + textGradient2.Padding = 2; + labelTheme2.TextGradient = textGradient2; + this.lblUpdatePeriod.Theme = labelTheme2; + this.toolTip.SetToolTip(this.lblUpdatePeriod, "Changes the audio buffer update period (10 ms to 100 ms). This controls how often" + + " the buffer is filled."); + // + // lblDriver + // + this.lblDriver.BackColor = System.Drawing.Color.Transparent; + this.lblDriver.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblDriver.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblDriver.IsAutoSized = false; + this.lblDriver.Location = new System.Drawing.Point(3, 3); + this.lblDriver.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblDriver.Name = "lblDriver"; + this.lblDriver.Size = new System.Drawing.Size(97, 24); + this.lblDriver.TabIndex = 13; + this.lblDriver.Text = "Driver:"; + this.lblDriver.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme3.IsBackgroundTransparent = true; + textGradient3.BorderColor = System.Drawing.Color.DarkGray; textGradient3.BorderWidth = 1; - textGradient3.Color1 = System.Drawing.Color.White; - textGradient3.Color2 = System.Drawing.Color.LightGray; + textGradient3.Color1 = System.Drawing.Color.LightGray; + textGradient3.Color2 = System.Drawing.Color.Gray; customFont3.Color = System.Drawing.Color.Black; customFont3.EmbeddedFontName = "Junction"; customFont3.IsBold = false; @@ -497,26 +533,25 @@ private void InitializeComponent() customFont3.UseEmbeddedFont = true; textGradient3.Font = customFont3; textGradient3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient3.Padding = 6; - buttonTheme1.TextGradientMouseOver = textGradient3; - this.btnTestSaveAudioSettings.Theme = buttonTheme1; - this.toolTip.SetToolTip(this.btnTestSaveAudioSettings, "Click here to test the currently selected audio settings."); - this.btnTestSaveAudioSettings.Click += new System.EventHandler(this.btnTestSaveAudioSettings_Click); + textGradient3.Padding = 2; + labelTheme3.TextGradient = textGradient3; + this.lblDriver.Theme = labelTheme3; + this.toolTip.SetToolTip(this.lblDriver, "Selecting an audio driver type will show the available output devices below."); // - // btnResetToDefault + // lblOutputDriver // - this.btnResetToDefault.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnResetToDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnResetToDefault.Image = global::MPfm.Windows.Properties.Resources.cog; - this.btnResetToDefault.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnResetToDefault.IsAutoSized = true; - this.btnResetToDefault.Location = new System.Drawing.Point(173, 28); - this.btnResetToDefault.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.btnResetToDefault.Name = "btnResetToDefault"; - this.btnResetToDefault.Size = new System.Drawing.Size(121, 28); - this.btnResetToDefault.TabIndex = 94; - this.btnResetToDefault.Text = "Reset to default"; - this.btnResetToDefault.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.lblOutputDriver.BackColor = System.Drawing.Color.Transparent; + this.lblOutputDriver.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblOutputDriver.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblOutputDriver.IsAutoSized = false; + this.lblOutputDriver.Location = new System.Drawing.Point(3, 33); + this.lblOutputDriver.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblOutputDriver.Name = "lblOutputDriver"; + this.lblOutputDriver.Size = new System.Drawing.Size(97, 24); + this.lblOutputDriver.TabIndex = 11; + this.lblOutputDriver.Text = "Output device:"; + this.lblOutputDriver.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme4.IsBackgroundTransparent = true; textGradient4.BorderColor = System.Drawing.Color.DarkGray; textGradient4.BorderWidth = 1; textGradient4.Color1 = System.Drawing.Color.LightGray; @@ -532,13 +567,30 @@ private void InitializeComponent() customFont4.UseEmbeddedFont = true; textGradient4.Font = customFont4; textGradient4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient4.Padding = 6; - buttonTheme2.TextGradientDefault = textGradient4; + textGradient4.Padding = 2; + labelTheme4.TextGradient = textGradient4; + this.lblOutputDriver.Theme = labelTheme4; + this.toolTip.SetToolTip(this.lblOutputDriver, "The selected output device will be used for audio playback."); + // + // lblSampleRate + // + this.lblSampleRate.BackColor = System.Drawing.Color.Transparent; + this.lblSampleRate.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblSampleRate.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblSampleRate.IsAutoSized = false; + this.lblSampleRate.Location = new System.Drawing.Point(3, 63); + this.lblSampleRate.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblSampleRate.Name = "lblSampleRate"; + this.lblSampleRate.Size = new System.Drawing.Size(97, 26); + this.lblSampleRate.TabIndex = 107; + this.lblSampleRate.Text = "Sample rate:"; + this.lblSampleRate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme5.IsBackgroundTransparent = true; textGradient5.BorderColor = System.Drawing.Color.DarkGray; textGradient5.BorderWidth = 1; - textGradient5.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient5.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont5.Color = System.Drawing.Color.LightGray; + textGradient5.Color1 = System.Drawing.Color.LightGray; + textGradient5.Color2 = System.Drawing.Color.Gray; + customFont5.Color = System.Drawing.Color.Black; customFont5.EmbeddedFontName = "Junction"; customFont5.IsBold = false; customFont5.IsItalic = false; @@ -549,13 +601,31 @@ private void InitializeComponent() customFont5.UseEmbeddedFont = true; textGradient5.Font = customFont5; textGradient5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient5.Padding = 6; - buttonTheme2.TextGradientDisabled = textGradient5; - textGradient6.BorderColor = System.Drawing.Color.Gray; + textGradient5.Padding = 2; + labelTheme5.TextGradient = textGradient5; + this.lblSampleRate.Theme = labelTheme5; + this.toolTip.SetToolTip(this.lblSampleRate, "Changes the output sample rate. The available sample rates depend on your audio h" + + "ardware."); + // + // btnTestSaveAudioSettings + // + this.btnTestSaveAudioSettings.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnTestSaveAudioSettings.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnTestSaveAudioSettings.Image = global::MPfm.Windows.Properties.Resources.sound; + this.btnTestSaveAudioSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnTestSaveAudioSettings.IsAutoSized = true; + this.btnTestSaveAudioSettings.Location = new System.Drawing.Point(30, 28); + this.btnTestSaveAudioSettings.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); + this.btnTestSaveAudioSettings.Name = "btnTestSaveAudioSettings"; + this.btnTestSaveAudioSettings.Size = new System.Drawing.Size(137, 28); + this.btnTestSaveAudioSettings.TabIndex = 81; + this.btnTestSaveAudioSettings.Text = "Test audio settings"; + this.btnTestSaveAudioSettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient6.BorderWidth = 1; - textGradient6.Color1 = System.Drawing.Color.White; - textGradient6.Color2 = System.Drawing.Color.LightGray; - customFont6.Color = System.Drawing.Color.Black; + textGradient6.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient6.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont6.Color = System.Drawing.Color.White; customFont6.EmbeddedFontName = "Junction"; customFont6.IsBold = false; customFont6.IsItalic = false; @@ -567,31 +637,12 @@ private void InitializeComponent() textGradient6.Font = customFont6; textGradient6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient6.Padding = 6; - buttonTheme2.TextGradientMouseOver = textGradient6; - this.btnResetToDefault.Theme = buttonTheme2; - this.toolTip.SetToolTip(this.btnResetToDefault, "Click here to reset the audio settings to the recommended values for your system." + - ""); - this.btnResetToDefault.Click += new System.EventHandler(this.btnResetToDefault_Click); - // - // lblBufferSize - // - this.lblBufferSize.BackColor = System.Drawing.Color.Transparent; - this.lblBufferSize.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblBufferSize.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblBufferSize.IsAutoSized = false; - this.lblBufferSize.Location = new System.Drawing.Point(3, 3); - this.lblBufferSize.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblBufferSize.Name = "lblBufferSize"; - this.lblBufferSize.Size = new System.Drawing.Size(85, 22); - this.lblBufferSize.TabIndex = 103; - this.lblBufferSize.Text = "Buffer size :"; - this.lblBufferSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme1.IsBackgroundTransparent = true; - textGradient7.BorderColor = System.Drawing.Color.DarkGray; + buttonTheme1.TextGradientDefault = textGradient6; + textGradient7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient7.BorderWidth = 1; - textGradient7.Color1 = System.Drawing.Color.LightGray; - textGradient7.Color2 = System.Drawing.Color.Gray; - customFont7.Color = System.Drawing.Color.Black; + textGradient7.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); + textGradient7.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + customFont7.Color = System.Drawing.Color.LightGray; customFont7.EmbeddedFontName = "Junction"; customFont7.IsBold = false; customFont7.IsItalic = false; @@ -602,31 +653,13 @@ private void InitializeComponent() customFont7.UseEmbeddedFont = true; textGradient7.Font = customFont7; textGradient7.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient7.Padding = 2; - labelTheme1.TextGradient = textGradient7; - this.lblBufferSize.Theme = labelTheme1; - this.toolTip.SetToolTip(this.lblBufferSize, "Changes the audio buffer size (100 ms to 10000 ms). If the audio playback is stut" + - "tering, try using higher values."); - // - // lblUpdatePeriod - // - this.lblUpdatePeriod.BackColor = System.Drawing.Color.Transparent; - this.lblUpdatePeriod.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblUpdatePeriod.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblUpdatePeriod.IsAutoSized = false; - this.lblUpdatePeriod.Location = new System.Drawing.Point(3, 31); - this.lblUpdatePeriod.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblUpdatePeriod.Name = "lblUpdatePeriod"; - this.lblUpdatePeriod.Size = new System.Drawing.Size(85, 22); - this.lblUpdatePeriod.TabIndex = 107; - this.lblUpdatePeriod.Text = "Update period :"; - this.lblUpdatePeriod.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme2.IsBackgroundTransparent = true; - textGradient8.BorderColor = System.Drawing.Color.DarkGray; + textGradient7.Padding = 6; + buttonTheme1.TextGradientDisabled = textGradient7; + textGradient8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient8.BorderWidth = 1; - textGradient8.Color1 = System.Drawing.Color.LightGray; - textGradient8.Color2 = System.Drawing.Color.Gray; - customFont8.Color = System.Drawing.Color.Black; + textGradient8.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient8.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont8.Color = System.Drawing.Color.White; customFont8.EmbeddedFontName = "Junction"; customFont8.IsBold = false; customFont8.IsItalic = false; @@ -637,31 +670,31 @@ private void InitializeComponent() customFont8.UseEmbeddedFont = true; textGradient8.Font = customFont8; textGradient8.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient8.Padding = 2; - labelTheme2.TextGradient = textGradient8; - this.lblUpdatePeriod.Theme = labelTheme2; - this.toolTip.SetToolTip(this.lblUpdatePeriod, "Changes the audio buffer update period (10 ms to 100 ms). This controls how often" + - " the buffer is filled."); + textGradient8.Padding = 6; + buttonTheme1.TextGradientMouseOver = textGradient8; + this.btnTestSaveAudioSettings.Theme = buttonTheme1; + this.toolTip.SetToolTip(this.btnTestSaveAudioSettings, "Click here to test the currently selected audio settings."); + this.btnTestSaveAudioSettings.Click += new System.EventHandler(this.btnTestSaveAudioSettings_Click); // - // lblDriver + // btnResetToDefault // - this.lblDriver.BackColor = System.Drawing.Color.Transparent; - this.lblDriver.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblDriver.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblDriver.IsAutoSized = false; - this.lblDriver.Location = new System.Drawing.Point(3, 3); - this.lblDriver.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblDriver.Name = "lblDriver"; - this.lblDriver.Size = new System.Drawing.Size(97, 24); - this.lblDriver.TabIndex = 13; - this.lblDriver.Text = "Driver:"; - this.lblDriver.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme3.IsBackgroundTransparent = true; - textGradient9.BorderColor = System.Drawing.Color.DarkGray; + this.btnResetToDefault.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnResetToDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnResetToDefault.Image = global::MPfm.Windows.Properties.Resources.cog; + this.btnResetToDefault.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnResetToDefault.IsAutoSized = true; + this.btnResetToDefault.Location = new System.Drawing.Point(173, 28); + this.btnResetToDefault.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.btnResetToDefault.Name = "btnResetToDefault"; + this.btnResetToDefault.Size = new System.Drawing.Size(121, 28); + this.btnResetToDefault.TabIndex = 94; + this.btnResetToDefault.Text = "Reset to default"; + this.btnResetToDefault.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient9.BorderWidth = 1; - textGradient9.Color1 = System.Drawing.Color.LightGray; - textGradient9.Color2 = System.Drawing.Color.Gray; - customFont9.Color = System.Drawing.Color.Black; + textGradient9.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient9.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont9.Color = System.Drawing.Color.White; customFont9.EmbeddedFontName = "Junction"; customFont9.IsBold = false; customFont9.IsItalic = false; @@ -672,30 +705,13 @@ private void InitializeComponent() customFont9.UseEmbeddedFont = true; textGradient9.Font = customFont9; textGradient9.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient9.Padding = 2; - labelTheme3.TextGradient = textGradient9; - this.lblDriver.Theme = labelTheme3; - this.toolTip.SetToolTip(this.lblDriver, "Selecting an audio driver type will show the available output devices below."); - // - // lblOutputDriver - // - this.lblOutputDriver.BackColor = System.Drawing.Color.Transparent; - this.lblOutputDriver.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblOutputDriver.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblOutputDriver.IsAutoSized = false; - this.lblOutputDriver.Location = new System.Drawing.Point(3, 33); - this.lblOutputDriver.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblOutputDriver.Name = "lblOutputDriver"; - this.lblOutputDriver.Size = new System.Drawing.Size(97, 24); - this.lblOutputDriver.TabIndex = 11; - this.lblOutputDriver.Text = "Output device:"; - this.lblOutputDriver.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme4.IsBackgroundTransparent = true; - textGradient10.BorderColor = System.Drawing.Color.DarkGray; + textGradient9.Padding = 6; + buttonTheme2.TextGradientDefault = textGradient9; + textGradient10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient10.BorderWidth = 1; - textGradient10.Color1 = System.Drawing.Color.LightGray; - textGradient10.Color2 = System.Drawing.Color.Gray; - customFont10.Color = System.Drawing.Color.Black; + textGradient10.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); + textGradient10.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + customFont10.Color = System.Drawing.Color.LightGray; customFont10.EmbeddedFontName = "Junction"; customFont10.IsBold = false; customFont10.IsItalic = false; @@ -706,30 +722,13 @@ private void InitializeComponent() customFont10.UseEmbeddedFont = true; textGradient10.Font = customFont10; textGradient10.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient10.Padding = 2; - labelTheme4.TextGradient = textGradient10; - this.lblOutputDriver.Theme = labelTheme4; - this.toolTip.SetToolTip(this.lblOutputDriver, "The selected output device will be used for audio playback."); - // - // lblSampleRate - // - this.lblSampleRate.BackColor = System.Drawing.Color.Transparent; - this.lblSampleRate.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblSampleRate.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblSampleRate.IsAutoSized = false; - this.lblSampleRate.Location = new System.Drawing.Point(3, 63); - this.lblSampleRate.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblSampleRate.Name = "lblSampleRate"; - this.lblSampleRate.Size = new System.Drawing.Size(97, 26); - this.lblSampleRate.TabIndex = 107; - this.lblSampleRate.Text = "Sample rate:"; - this.lblSampleRate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme5.IsBackgroundTransparent = true; - textGradient11.BorderColor = System.Drawing.Color.DarkGray; + textGradient10.Padding = 6; + buttonTheme2.TextGradientDisabled = textGradient10; + textGradient11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient11.BorderWidth = 1; - textGradient11.Color1 = System.Drawing.Color.LightGray; - textGradient11.Color2 = System.Drawing.Color.Gray; - customFont11.Color = System.Drawing.Color.Black; + textGradient11.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient11.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont11.Color = System.Drawing.Color.White; customFont11.EmbeddedFontName = "Junction"; customFont11.IsBold = false; customFont11.IsItalic = false; @@ -740,105 +739,68 @@ private void InitializeComponent() customFont11.UseEmbeddedFont = true; textGradient11.Font = customFont11; textGradient11.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient11.Padding = 2; - labelTheme5.TextGradient = textGradient11; - this.lblSampleRate.Theme = labelTheme5; - this.toolTip.SetToolTip(this.lblSampleRate, "Changes the output sample rate. The available sample rates depend on your audio h" + - "ardware."); - // - // lblPeakFileDefaultDirectory - // - this.lblPeakFileDefaultDirectory.BackColor = System.Drawing.Color.Transparent; - this.tablePeakFiles.SetColumnSpan(this.lblPeakFileDefaultDirectory, 3); - this.lblPeakFileDefaultDirectory.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblPeakFileDefaultDirectory.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPeakFileDefaultDirectory.IsAutoSized = false; - this.lblPeakFileDefaultDirectory.Location = new System.Drawing.Point(24, 3); - this.lblPeakFileDefaultDirectory.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); - this.lblPeakFileDefaultDirectory.Name = "lblPeakFileDefaultDirectory"; - this.lblPeakFileDefaultDirectory.Size = new System.Drawing.Size(600, 18); - this.lblPeakFileDefaultDirectory.TabIndex = 99; - this.lblPeakFileDefaultDirectory.Text = "Use default directory (DIR HERE)"; - this.lblPeakFileDefaultDirectory.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme10.IsBackgroundTransparent = true; - textGradient19.BorderColor = System.Drawing.Color.DarkGray; - textGradient19.BorderWidth = 1; - textGradient19.Color1 = System.Drawing.Color.LightGray; - textGradient19.Color2 = System.Drawing.Color.Gray; - customFont19.Color = System.Drawing.Color.Black; - customFont19.EmbeddedFontName = "Junction"; - customFont19.IsBold = false; - customFont19.IsItalic = false; - customFont19.IsUnderline = false; - customFont19.Size = 8F; - customFont19.StandardFontName = "Arial"; - customFont19.UseAntiAliasing = true; - customFont19.UseEmbeddedFont = true; - textGradient19.Font = customFont19; - textGradient19.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient19.Padding = 2; - labelTheme10.TextGradient = textGradient19; - this.lblPeakFileDefaultDirectory.Theme = labelTheme10; - this.toolTip.SetToolTip(this.lblPeakFileDefaultDirectory, "Uses the default directory for saving peak files (in your Windows user name home " + - "directory)."); - this.lblPeakFileDefaultDirectory.Click += new System.EventHandler(this.lblPeakFileDefaultDirectory_Click); + textGradient11.Padding = 6; + buttonTheme2.TextGradientMouseOver = textGradient11; + this.btnResetToDefault.Theme = buttonTheme2; + this.toolTip.SetToolTip(this.btnResetToDefault, "Click here to reset the audio settings to the recommended values for your system." + + ""); + this.btnResetToDefault.Click += new System.EventHandler(this.btnResetToDefault_Click); // - // lblPeakFileCustomDirectory + // lblASIOLatency // - this.lblPeakFileCustomDirectory.BackColor = System.Drawing.Color.Transparent; - this.tablePeakFiles.SetColumnSpan(this.lblPeakFileCustomDirectory, 3); - this.lblPeakFileCustomDirectory.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblPeakFileCustomDirectory.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPeakFileCustomDirectory.IsAutoSized = false; - this.lblPeakFileCustomDirectory.Location = new System.Drawing.Point(24, 27); - this.lblPeakFileCustomDirectory.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); - this.lblPeakFileCustomDirectory.Name = "lblPeakFileCustomDirectory"; - this.lblPeakFileCustomDirectory.Size = new System.Drawing.Size(600, 18); - this.lblPeakFileCustomDirectory.TabIndex = 102; - this.lblPeakFileCustomDirectory.Text = "Use a custom directory:"; - this.lblPeakFileCustomDirectory.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme8.IsBackgroundTransparent = true; - textGradient14.BorderColor = System.Drawing.Color.DarkGray; - textGradient14.BorderWidth = 1; - textGradient14.Color1 = System.Drawing.Color.LightGray; - textGradient14.Color2 = System.Drawing.Color.Gray; - customFont14.Color = System.Drawing.Color.Black; - customFont14.EmbeddedFontName = "Junction"; - customFont14.IsBold = false; - customFont14.IsItalic = false; - customFont14.IsUnderline = false; - customFont14.Size = 8F; - customFont14.StandardFontName = "Arial"; - customFont14.UseAntiAliasing = true; - customFont14.UseEmbeddedFont = true; - textGradient14.Font = customFont14; - textGradient14.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient14.Padding = 2; - labelTheme8.TextGradient = textGradient14; - this.lblPeakFileCustomDirectory.Theme = labelTheme8; - this.toolTip.SetToolTip(this.lblPeakFileCustomDirectory, "Uses a custom directory for saving peak files. Click on the Browse button to choo" + - "se a directory."); - this.lblPeakFileCustomDirectory.Click += new System.EventHandler(this.lblPeakFileCustomDirectory_Click); + this.lblASIOLatency.BackColor = System.Drawing.Color.Transparent; + this.tableLayoutPanel1.SetColumnSpan(this.lblASIOLatency, 2); + this.lblASIOLatency.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblASIOLatency.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblASIOLatency.IsAutoSized = false; + this.lblASIOLatency.Location = new System.Drawing.Point(3, 3); + this.lblASIOLatency.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblASIOLatency.Name = "lblASIOLatency"; + this.lblASIOLatency.Size = new System.Drawing.Size(624, 22); + this.lblASIOLatency.TabIndex = 103; + this.lblASIOLatency.Text = "The buffer size and update period is defined by the ASIO driver."; + this.lblASIOLatency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme7.IsBackgroundTransparent = true; + textGradient16.BorderColor = System.Drawing.Color.DarkGray; + textGradient16.BorderWidth = 1; + textGradient16.Color1 = System.Drawing.Color.LightGray; + textGradient16.Color2 = System.Drawing.Color.Gray; + customFont16.Color = System.Drawing.Color.Black; + customFont16.EmbeddedFontName = "Junction"; + customFont16.IsBold = false; + customFont16.IsItalic = false; + customFont16.IsUnderline = false; + customFont16.Size = 8F; + customFont16.StandardFontName = "Arial"; + customFont16.UseAntiAliasing = true; + customFont16.UseEmbeddedFont = true; + textGradient16.Font = customFont16; + textGradient16.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient16.Padding = 2; + labelTheme7.TextGradient = textGradient16; + this.lblASIOLatency.Theme = labelTheme7; + this.toolTip.SetToolTip(this.lblASIOLatency, "Changes the audio buffer size (100 ms to 10000 ms). If the audio playback is stut" + + "tering, try using higher values."); // - // lblPeakFileDisplayWarning + // btnOpenASIOControlPanel // - this.lblPeakFileDisplayWarning.BackColor = System.Drawing.Color.Transparent; - this.lblPeakFileDisplayWarning.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblPeakFileDisplayWarning.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPeakFileDisplayWarning.IsAutoSized = false; - this.lblPeakFileDisplayWarning.Location = new System.Drawing.Point(24, 99); - this.lblPeakFileDisplayWarning.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); - this.lblPeakFileDisplayWarning.Name = "lblPeakFileDisplayWarning"; - this.lblPeakFileDisplayWarning.Size = new System.Drawing.Size(479, 18); - this.lblPeakFileDisplayWarning.TabIndex = 112; - this.lblPeakFileDisplayWarning.Text = "Display warning when peak file directory exceeds"; - this.lblPeakFileDisplayWarning.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme6.IsBackgroundTransparent = true; - textGradient12.BorderColor = System.Drawing.Color.DarkGray; + this.btnOpenASIOControlPanel.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnOpenASIOControlPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnOpenASIOControlPanel.Image = global::MPfm.Windows.Properties.Resources.application_view_detail; + this.btnOpenASIOControlPanel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnOpenASIOControlPanel.IsAutoSized = true; + this.btnOpenASIOControlPanel.Location = new System.Drawing.Point(430, 28); + this.btnOpenASIOControlPanel.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); + this.btnOpenASIOControlPanel.Name = "btnOpenASIOControlPanel"; + this.btnOpenASIOControlPanel.Size = new System.Drawing.Size(167, 28); + this.btnOpenASIOControlPanel.TabIndex = 104; + this.btnOpenASIOControlPanel.Text = "Open ASIO Control Panel"; + this.btnOpenASIOControlPanel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient12.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient12.BorderWidth = 1; - textGradient12.Color1 = System.Drawing.Color.LightGray; - textGradient12.Color2 = System.Drawing.Color.Gray; - customFont12.Color = System.Drawing.Color.Black; + textGradient12.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient12.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont12.Color = System.Drawing.Color.White; customFont12.EmbeddedFontName = "Junction"; customFont12.IsBold = false; customFont12.IsItalic = false; @@ -849,28 +811,60 @@ private void InitializeComponent() customFont12.UseEmbeddedFont = true; textGradient12.Font = customFont12; textGradient12.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient12.Padding = 2; - labelTheme6.TextGradient = textGradient12; - this.lblPeakFileDisplayWarning.Theme = labelTheme6; - this.toolTip.SetToolTip(this.lblPeakFileDisplayWarning, "Displays a warning in the main window status bar when the peak file directory exc" + - "eeds a certain threshold."); - this.lblPeakFileDisplayWarning.Click += new System.EventHandler(this.lblPeakFileUseMaximum_Click); + textGradient12.Padding = 6; + buttonTheme3.TextGradientDefault = textGradient12; + textGradient13.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient13.BorderWidth = 1; + textGradient13.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); + textGradient13.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + customFont13.Color = System.Drawing.Color.LightGray; + customFont13.EmbeddedFontName = "Junction"; + customFont13.IsBold = false; + customFont13.IsItalic = false; + customFont13.IsUnderline = false; + customFont13.Size = 8F; + customFont13.StandardFontName = "Arial"; + customFont13.UseAntiAliasing = true; + customFont13.UseEmbeddedFont = true; + textGradient13.Font = customFont13; + textGradient13.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient13.Padding = 6; + buttonTheme3.TextGradientDisabled = textGradient13; + textGradient14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient14.BorderWidth = 1; + textGradient14.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient14.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont14.Color = System.Drawing.Color.White; + customFont14.EmbeddedFontName = "Junction"; + customFont14.IsBold = false; + customFont14.IsItalic = false; + customFont14.IsUnderline = false; + customFont14.Size = 8F; + customFont14.StandardFontName = "Arial"; + customFont14.UseAntiAliasing = true; + customFont14.UseEmbeddedFont = true; + textGradient14.Font = customFont14; + textGradient14.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient14.Padding = 6; + buttonTheme3.TextGradientMouseOver = textGradient14; + this.btnOpenASIOControlPanel.Theme = buttonTheme3; + this.toolTip.SetToolTip(this.btnOpenASIOControlPanel, "Click here to test the currently selected audio settings."); + this.btnOpenASIOControlPanel.Visible = false; + this.btnOpenASIOControlPanel.Click += new System.EventHandler(this.btnOpenASIOControlPanel_Click); // - // btnPeakFileCustomDirectoryBrowse + // lblASIOLatencyValue // - this.btnPeakFileCustomDirectoryBrowse.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnPeakFileCustomDirectoryBrowse.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnPeakFileCustomDirectoryBrowse.Enabled = false; - this.btnPeakFileCustomDirectoryBrowse.Image = global::MPfm.Windows.Properties.Resources.folder_explore; - this.btnPeakFileCustomDirectoryBrowse.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnPeakFileCustomDirectoryBrowse.IsAutoSized = false; - this.btnPeakFileCustomDirectoryBrowse.Location = new System.Drawing.Point(506, 48); - this.btnPeakFileCustomDirectoryBrowse.Margin = new System.Windows.Forms.Padding(0); - this.btnPeakFileCustomDirectoryBrowse.Name = "btnPeakFileCustomDirectoryBrowse"; - this.btnPeakFileCustomDirectoryBrowse.Size = new System.Drawing.Size(76, 24); - this.btnPeakFileCustomDirectoryBrowse.TabIndex = 103; - this.btnPeakFileCustomDirectoryBrowse.Text = "Browse..."; - this.btnPeakFileCustomDirectoryBrowse.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.lblASIOLatencyValue.BackColor = System.Drawing.Color.Transparent; + this.lblASIOLatencyValue.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblASIOLatencyValue.IsAutoSized = false; + this.lblASIOLatencyValue.Location = new System.Drawing.Point(3, 31); + this.lblASIOLatencyValue.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblASIOLatencyValue.Name = "lblASIOLatencyValue"; + this.lblASIOLatencyValue.Size = new System.Drawing.Size(170, 22); + this.lblASIOLatencyValue.TabIndex = 106; + this.lblASIOLatencyValue.Text = "Latency :"; + this.lblASIOLatencyValue.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme6.IsBackgroundTransparent = true; textGradient15.BorderColor = System.Drawing.Color.DarkGray; textGradient15.BorderWidth = 1; textGradient15.Color1 = System.Drawing.Color.LightGray; @@ -887,29 +881,31 @@ private void InitializeComponent() textGradient15.Font = customFont15; textGradient15.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient15.Padding = 2; - buttonTheme3.TextGradientDefault = textGradient15; - textGradient16.BorderColor = System.Drawing.Color.DarkGray; - textGradient16.BorderWidth = 1; - textGradient16.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient16.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont16.Color = System.Drawing.Color.LightGray; - customFont16.EmbeddedFontName = "Junction"; - customFont16.IsBold = false; - customFont16.IsItalic = false; - customFont16.IsUnderline = false; - customFont16.Size = 8F; - customFont16.StandardFontName = "Arial"; - customFont16.UseAntiAliasing = true; - customFont16.UseEmbeddedFont = true; - textGradient16.Font = customFont16; - textGradient16.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient16.Padding = 2; - buttonTheme3.TextGradientDisabled = textGradient16; - textGradient17.BorderColor = System.Drawing.Color.Gray; + labelTheme6.TextGradient = textGradient15; + this.lblASIOLatencyValue.Theme = labelTheme6; + this.toolTip.SetToolTip(this.lblASIOLatencyValue, "Changes the audio buffer size (100 ms to 10000 ms). If the audio playback is stut" + + "tering, try using higher values."); + this.lblASIOLatencyValue.Visible = false; + // + // btnResetLibrary + // + this.btnResetLibrary.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnResetLibrary.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnResetLibrary.Image = ((System.Drawing.Image)(resources.GetObject("btnResetLibrary.Image"))); + this.btnResetLibrary.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnResetLibrary.IsAutoSized = true; + this.btnResetLibrary.Location = new System.Drawing.Point(235, 6); + this.btnResetLibrary.Margin = new System.Windows.Forms.Padding(3, 6, 3, 3); + this.btnResetLibrary.Name = "btnResetLibrary"; + this.btnResetLibrary.Size = new System.Drawing.Size(104, 26); + this.btnResetLibrary.TabIndex = 64; + this.btnResetLibrary.Text = "Reset Library"; + this.btnResetLibrary.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient17.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient17.BorderWidth = 1; - textGradient17.Color1 = System.Drawing.Color.White; - textGradient17.Color2 = System.Drawing.Color.LightGray; - customFont17.Color = System.Drawing.Color.Black; + textGradient17.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient17.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont17.Color = System.Drawing.Color.White; customFont17.EmbeddedFontName = "Junction"; customFont17.IsBold = false; customFont17.IsItalic = false; @@ -920,104 +916,66 @@ private void InitializeComponent() customFont17.UseEmbeddedFont = true; textGradient17.Font = customFont17; textGradient17.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient17.Padding = 2; - buttonTheme3.TextGradientMouseOver = textGradient17; - this.btnPeakFileCustomDirectoryBrowse.Theme = buttonTheme3; - this.toolTip.SetToolTip(this.btnPeakFileCustomDirectoryBrowse, "Click here to select a custom directory for saving peak files."); - this.btnPeakFileCustomDirectoryBrowse.Click += new System.EventHandler(this.btnPeakFileCustomDirectoryBrowse_Click); - // - // lblShowTooltips - // - this.lblShowTooltips.BackColor = System.Drawing.Color.Transparent; - this.tableUserInterface.SetColumnSpan(this.lblShowTooltips, 2); - this.lblShowTooltips.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblShowTooltips.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblShowTooltips.IsAutoSized = false; - this.lblShowTooltips.Location = new System.Drawing.Point(24, 3); - this.lblShowTooltips.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); - this.lblShowTooltips.Name = "lblShowTooltips"; - this.lblShowTooltips.Size = new System.Drawing.Size(600, 18); - this.lblShowTooltips.TabIndex = 94; - this.lblShowTooltips.Text = "Show tooltips"; - this.lblShowTooltips.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme13.IsBackgroundTransparent = true; - textGradient22.BorderColor = System.Drawing.Color.DarkGray; - textGradient22.BorderWidth = 1; - textGradient22.Color1 = System.Drawing.Color.LightGray; - textGradient22.Color2 = System.Drawing.Color.Gray; - customFont22.Color = System.Drawing.Color.Black; - customFont22.EmbeddedFontName = "Junction"; - customFont22.IsBold = false; - customFont22.IsItalic = false; - customFont22.IsUnderline = false; - customFont22.Size = 8F; - customFont22.StandardFontName = "Arial"; - customFont22.UseAntiAliasing = true; - customFont22.UseEmbeddedFont = true; - textGradient22.Font = customFont22; - textGradient22.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient22.Padding = 2; - labelTheme13.TextGradient = textGradient22; - this.lblShowTooltips.Theme = labelTheme13; - this.toolTip.SetToolTip(this.lblShowTooltips, "Displays tooltips (like this one!) when leaving the mouse cursor on a control."); - this.lblShowTooltips.Click += new System.EventHandler(this.lblShowTooltips_Click); - // - // lblShowTray - // - this.lblShowTray.BackColor = System.Drawing.Color.Transparent; - this.tableUserInterface.SetColumnSpan(this.lblShowTray, 2); - this.lblShowTray.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblShowTray.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblShowTray.IsAutoSized = false; - this.lblShowTray.Location = new System.Drawing.Point(24, 27); - this.lblShowTray.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); - this.lblShowTray.Name = "lblShowTray"; - this.lblShowTray.Size = new System.Drawing.Size(600, 18); - this.lblShowTray.TabIndex = 91; - this.lblShowTray.Text = "Show MPfm in the system tray"; - this.lblShowTray.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme12.IsBackgroundTransparent = true; - textGradient21.BorderColor = System.Drawing.Color.DarkGray; - textGradient21.BorderWidth = 1; - textGradient21.Color1 = System.Drawing.Color.LightGray; - textGradient21.Color2 = System.Drawing.Color.Gray; - customFont21.Color = System.Drawing.Color.Black; - customFont21.EmbeddedFontName = "Junction"; - customFont21.IsBold = false; - customFont21.IsItalic = false; - customFont21.IsUnderline = false; - customFont21.Size = 8F; - customFont21.StandardFontName = "Arial"; - customFont21.UseAntiAliasing = true; - customFont21.UseEmbeddedFont = true; - textGradient21.Font = customFont21; - textGradient21.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient21.Padding = 2; - labelTheme12.TextGradient = textGradient21; - this.lblShowTray.Theme = labelTheme12; - this.toolTip.SetToolTip(this.lblShowTray, "Adds an icon to the system tray. Click on the icon to show MPfm or right-click on" + - " the icon to display a menu."); - this.lblShowTray.Click += new System.EventHandler(this.lblShowTray_Click); + textGradient17.Padding = 5; + buttonTheme4.TextGradientDefault = textGradient17; + textGradient18.BorderColor = System.Drawing.Color.DarkGray; + textGradient18.BorderWidth = 1; + textGradient18.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); + textGradient18.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + customFont18.Color = System.Drawing.Color.LightGray; + customFont18.EmbeddedFontName = "Junction"; + customFont18.IsBold = false; + customFont18.IsItalic = false; + customFont18.IsUnderline = false; + customFont18.Size = 8F; + customFont18.StandardFontName = "Arial"; + customFont18.UseAntiAliasing = true; + customFont18.UseEmbeddedFont = true; + textGradient18.Font = customFont18; + textGradient18.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient18.Padding = 5; + buttonTheme4.TextGradientDisabled = textGradient18; + textGradient19.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient19.BorderWidth = 1; + textGradient19.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient19.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont19.Color = System.Drawing.Color.White; + customFont19.EmbeddedFontName = "Junction"; + customFont19.IsBold = false; + customFont19.IsItalic = false; + customFont19.IsUnderline = false; + customFont19.Size = 8F; + customFont19.StandardFontName = "Arial"; + customFont19.UseAntiAliasing = true; + customFont19.UseEmbeddedFont = true; + textGradient19.Font = customFont19; + textGradient19.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient19.Padding = 5; + buttonTheme4.TextGradientMouseOver = textGradient19; + this.btnResetLibrary.Theme = buttonTheme4; + this.toolTip.SetToolTip(this.btnResetLibrary, "Resets the library by removing all folders. The audio files are NOT deleted from " + + "the hard disk."); + this.btnResetLibrary.Click += new System.EventHandler(this.btnResetLibrary_Click); // - // lblHideTray + // btnAddFolder // - this.lblHideTray.BackColor = System.Drawing.Color.Transparent; - this.lblHideTray.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblHideTray.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblHideTray.IsAutoSized = false; - this.lblHideTray.Location = new System.Drawing.Point(45, 51); - this.lblHideTray.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); - this.lblHideTray.Name = "lblHideTray"; - this.lblHideTray.Size = new System.Drawing.Size(579, 18); - this.lblHideTray.TabIndex = 92; - this.lblHideTray.Text = "Hide MPfm in the system tray when the main form is closed"; - this.lblHideTray.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme11.IsBackgroundTransparent = true; - textGradient20.BorderColor = System.Drawing.Color.DarkGray; + this.btnAddFolder.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAddFolder.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnAddFolder.Image = global::MPfm.Windows.Properties.Resources.add; + this.btnAddFolder.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnAddFolder.IsAutoSized = true; + this.btnAddFolder.Location = new System.Drawing.Point(6, 6); + this.btnAddFolder.Margin = new System.Windows.Forms.Padding(6, 6, 3, 3); + this.btnAddFolder.Name = "btnAddFolder"; + this.btnAddFolder.Size = new System.Drawing.Size(92, 26); + this.btnAddFolder.TabIndex = 66; + this.btnAddFolder.Text = "Add Folder"; + this.btnAddFolder.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient20.BorderWidth = 1; - textGradient20.Color1 = System.Drawing.Color.LightGray; - textGradient20.Color2 = System.Drawing.Color.Gray; - customFont20.Color = System.Drawing.Color.Black; + textGradient20.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient20.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont20.Color = System.Drawing.Color.White; customFont20.EmbeddedFontName = "Junction"; customFont20.IsBold = false; customFont20.IsItalic = false; @@ -1028,31 +986,65 @@ private void InitializeComponent() customFont20.UseEmbeddedFont = true; textGradient20.Font = customFont20; textGradient20.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient20.Padding = 2; - labelTheme11.TextGradient = textGradient20; - this.lblHideTray.Theme = labelTheme11; - this.toolTip.SetToolTip(this.lblHideTray, "Hides MPfm from the Windows Task Bar when minimizing the main window."); - this.lblHideTray.Click += new System.EventHandler(this.lblHideTray_Click); + textGradient20.Padding = 5; + buttonTheme5.TextGradientDefault = textGradient20; + textGradient21.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient21.BorderWidth = 1; + textGradient21.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); + textGradient21.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + customFont21.Color = System.Drawing.Color.LightGray; + customFont21.EmbeddedFontName = "Junction"; + customFont21.IsBold = false; + customFont21.IsItalic = false; + customFont21.IsUnderline = false; + customFont21.Size = 8F; + customFont21.StandardFontName = "Arial"; + customFont21.UseAntiAliasing = true; + customFont21.UseEmbeddedFont = true; + textGradient21.Font = customFont21; + textGradient21.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient21.Padding = 5; + buttonTheme5.TextGradientDisabled = textGradient21; + textGradient22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient22.BorderWidth = 1; + textGradient22.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient22.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont22.Color = System.Drawing.Color.White; + customFont22.EmbeddedFontName = "Junction"; + customFont22.IsBold = false; + customFont22.IsItalic = false; + customFont22.IsUnderline = false; + customFont22.Size = 8F; + customFont22.StandardFontName = "Arial"; + customFont22.UseAntiAliasing = true; + customFont22.UseEmbeddedFont = true; + textGradient22.Font = customFont22; + textGradient22.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient22.Padding = 5; + buttonTheme5.TextGradientMouseOver = textGradient22; + this.btnAddFolder.Theme = buttonTheme5; + this.toolTip.SetToolTip(this.btnAddFolder, "Adds a folder to the library."); + this.btnAddFolder.Click += new System.EventHandler(this.btnAddFolder_Click); // - // lblPositionUpdateFrequency + // btnRemoveFolder // - this.lblPositionUpdateFrequency.BackColor = System.Drawing.Color.Transparent; - this.lblPositionUpdateFrequency.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblPositionUpdateFrequency.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPositionUpdateFrequency.IsAutoSized = false; - this.lblPositionUpdateFrequency.Location = new System.Drawing.Point(3, 0); - this.lblPositionUpdateFrequency.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.lblPositionUpdateFrequency.Name = "lblPositionUpdateFrequency"; - this.lblPositionUpdateFrequency.Size = new System.Drawing.Size(85, 28); - this.lblPositionUpdateFrequency.TabIndex = 103; - this.lblPositionUpdateFrequency.Text = "Song position :"; - this.lblPositionUpdateFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme14.IsBackgroundTransparent = true; - textGradient23.BorderColor = System.Drawing.Color.DarkGray; + this.btnRemoveFolder.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnRemoveFolder.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnRemoveFolder.Image = global::MPfm.Windows.Properties.Resources.delete; + this.btnRemoveFolder.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnRemoveFolder.IsAutoSized = true; + this.btnRemoveFolder.Location = new System.Drawing.Point(104, 6); + this.btnRemoveFolder.Margin = new System.Windows.Forms.Padding(3, 6, 3, 3); + this.btnRemoveFolder.Name = "btnRemoveFolder"; + this.btnRemoveFolder.Size = new System.Drawing.Size(125, 26); + this.btnRemoveFolder.TabIndex = 67; + this.btnRemoveFolder.Text = "Remove Folder(s)"; + this.btnRemoveFolder.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient23.BorderWidth = 1; - textGradient23.Color1 = System.Drawing.Color.LightGray; - textGradient23.Color2 = System.Drawing.Color.Gray; - customFont23.Color = System.Drawing.Color.Black; + textGradient23.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient23.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont23.Color = System.Drawing.Color.White; customFont23.EmbeddedFontName = "Junction"; customFont23.IsBold = false; customFont23.IsItalic = false; @@ -1063,31 +1055,13 @@ private void InitializeComponent() customFont23.UseEmbeddedFont = true; textGradient23.Font = customFont23; textGradient23.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient23.Padding = 2; - labelTheme14.TextGradient = textGradient23; - this.lblPositionUpdateFrequency.Theme = labelTheme14; - this.toolTip.SetToolTip(this.lblPositionUpdateFrequency, "Changes the song position update frequency (10 to 100 ms). Higher values use less" + - " CPU."); - // - // lblOutputMeterUpdateFrequency - // - this.lblOutputMeterUpdateFrequency.BackColor = System.Drawing.Color.Transparent; - this.lblOutputMeterUpdateFrequency.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblOutputMeterUpdateFrequency.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblOutputMeterUpdateFrequency.IsAutoSized = false; - this.lblOutputMeterUpdateFrequency.Location = new System.Drawing.Point(3, 28); - this.lblOutputMeterUpdateFrequency.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.lblOutputMeterUpdateFrequency.Name = "lblOutputMeterUpdateFrequency"; - this.lblOutputMeterUpdateFrequency.Size = new System.Drawing.Size(85, 28); - this.lblOutputMeterUpdateFrequency.TabIndex = 107; - this.lblOutputMeterUpdateFrequency.Text = "Output meter :"; - this.lblOutputMeterUpdateFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme15.IsBackgroundTransparent = true; + textGradient23.Padding = 5; + buttonTheme6.TextGradientDefault = textGradient23; textGradient24.BorderColor = System.Drawing.Color.DarkGray; textGradient24.BorderWidth = 1; - textGradient24.Color1 = System.Drawing.Color.LightGray; - textGradient24.Color2 = System.Drawing.Color.Gray; - customFont24.Color = System.Drawing.Color.Black; + textGradient24.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); + textGradient24.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + customFont24.Color = System.Drawing.Color.LightGray; customFont24.EmbeddedFontName = "Junction"; customFont24.IsBold = false; customFont24.IsItalic = false; @@ -1098,31 +1072,13 @@ private void InitializeComponent() customFont24.UseEmbeddedFont = true; textGradient24.Font = customFont24; textGradient24.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient24.Padding = 2; - labelTheme15.TextGradient = textGradient24; - this.lblOutputMeterUpdateFrequency.Theme = labelTheme15; - this.toolTip.SetToolTip(this.lblOutputMeterUpdateFrequency, "Changes the output meter update frequency (10 to 100 ms). Higher values use less " + - "CPU."); - // - // btnAddFolder - // - this.btnAddFolder.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAddFolder.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnAddFolder.Image = global::MPfm.Windows.Properties.Resources.add; - this.btnAddFolder.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnAddFolder.IsAutoSized = true; - this.btnAddFolder.Location = new System.Drawing.Point(6, 6); - this.btnAddFolder.Margin = new System.Windows.Forms.Padding(6, 6, 3, 3); - this.btnAddFolder.Name = "btnAddFolder"; - this.btnAddFolder.Size = new System.Drawing.Size(92, 26); - this.btnAddFolder.TabIndex = 66; - this.btnAddFolder.Text = "Add Folder"; - this.btnAddFolder.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - textGradient25.BorderColor = System.Drawing.Color.DarkGray; + textGradient24.Padding = 5; + buttonTheme6.TextGradientDisabled = textGradient24; + textGradient25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient25.BorderWidth = 1; - textGradient25.Color1 = System.Drawing.Color.LightGray; - textGradient25.Color2 = System.Drawing.Color.Gray; - customFont25.Color = System.Drawing.Color.Black; + textGradient25.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient25.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont25.Color = System.Drawing.Color.White; customFont25.EmbeddedFontName = "Junction"; customFont25.IsBold = false; customFont25.IsItalic = false; @@ -1134,59 +1090,63 @@ private void InitializeComponent() textGradient25.Font = customFont25; textGradient25.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient25.Padding = 5; - buttonTheme4.TextGradientDefault = textGradient25; - textGradient26.BorderColor = System.Drawing.Color.DarkGray; - textGradient26.BorderWidth = 1; - textGradient26.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient26.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont26.Color = System.Drawing.Color.LightGray; - customFont26.EmbeddedFontName = "Junction"; - customFont26.IsBold = false; - customFont26.IsItalic = false; - customFont26.IsUnderline = false; - customFont26.Size = 8F; - customFont26.StandardFontName = "Arial"; - customFont26.UseAntiAliasing = true; - customFont26.UseEmbeddedFont = true; - textGradient26.Font = customFont26; - textGradient26.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient26.Padding = 5; - buttonTheme4.TextGradientDisabled = textGradient26; - textGradient27.BorderColor = System.Drawing.Color.Gray; - textGradient27.BorderWidth = 1; - textGradient27.Color1 = System.Drawing.Color.White; - textGradient27.Color2 = System.Drawing.Color.LightGray; - customFont27.Color = System.Drawing.Color.Black; - customFont27.EmbeddedFontName = "Junction"; - customFont27.IsBold = false; - customFont27.IsItalic = false; - customFont27.IsUnderline = false; - customFont27.Size = 8F; - customFont27.StandardFontName = "Arial"; - customFont27.UseAntiAliasing = true; - customFont27.UseEmbeddedFont = true; - textGradient27.Font = customFont27; - textGradient27.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient27.Padding = 5; - buttonTheme4.TextGradientMouseOver = textGradient27; - this.btnAddFolder.Theme = buttonTheme4; - this.toolTip.SetToolTip(this.btnAddFolder, "Adds a folder to the library."); - this.btnAddFolder.Click += new System.EventHandler(this.btnAddFolder_Click); + buttonTheme6.TextGradientMouseOver = textGradient25; + this.btnRemoveFolder.Theme = buttonTheme6; + this.toolTip.SetToolTip(this.btnRemoveFolder, "Removes the selected folder(s) from your library."); + this.btnRemoveFolder.Click += new System.EventHandler(this.btnRemoveFolder_Click); // - // btnResetLibrary + // lblPeakFileDefaultDirectory // - this.btnResetLibrary.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnResetLibrary.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnResetLibrary.Image = ((System.Drawing.Image)(resources.GetObject("btnResetLibrary.Image"))); - this.btnResetLibrary.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnResetLibrary.IsAutoSized = true; - this.btnResetLibrary.Location = new System.Drawing.Point(235, 6); - this.btnResetLibrary.Margin = new System.Windows.Forms.Padding(3, 6, 3, 3); - this.btnResetLibrary.Name = "btnResetLibrary"; - this.btnResetLibrary.Size = new System.Drawing.Size(104, 26); - this.btnResetLibrary.TabIndex = 64; - this.btnResetLibrary.Text = "Reset Library"; - this.btnResetLibrary.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.lblPeakFileDefaultDirectory.BackColor = System.Drawing.Color.Transparent; + this.tablePeakFiles.SetColumnSpan(this.lblPeakFileDefaultDirectory, 3); + this.lblPeakFileDefaultDirectory.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblPeakFileDefaultDirectory.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPeakFileDefaultDirectory.IsAutoSized = false; + this.lblPeakFileDefaultDirectory.Location = new System.Drawing.Point(24, 3); + this.lblPeakFileDefaultDirectory.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.lblPeakFileDefaultDirectory.Name = "lblPeakFileDefaultDirectory"; + this.lblPeakFileDefaultDirectory.Size = new System.Drawing.Size(600, 18); + this.lblPeakFileDefaultDirectory.TabIndex = 99; + this.lblPeakFileDefaultDirectory.Text = "Use default directory (DIR HERE)"; + this.lblPeakFileDefaultDirectory.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme12.IsBackgroundTransparent = true; + textGradient33.BorderColor = System.Drawing.Color.DarkGray; + textGradient33.BorderWidth = 1; + textGradient33.Color1 = System.Drawing.Color.LightGray; + textGradient33.Color2 = System.Drawing.Color.Gray; + customFont33.Color = System.Drawing.Color.Black; + customFont33.EmbeddedFontName = "Junction"; + customFont33.IsBold = false; + customFont33.IsItalic = false; + customFont33.IsUnderline = false; + customFont33.Size = 8F; + customFont33.StandardFontName = "Arial"; + customFont33.UseAntiAliasing = true; + customFont33.UseEmbeddedFont = true; + textGradient33.Font = customFont33; + textGradient33.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient33.Padding = 2; + labelTheme12.TextGradient = textGradient33; + this.lblPeakFileDefaultDirectory.Theme = labelTheme12; + this.toolTip.SetToolTip(this.lblPeakFileDefaultDirectory, "Uses the default directory for saving peak files (in your Windows user name home " + + "directory)."); + this.lblPeakFileDefaultDirectory.Click += new System.EventHandler(this.lblPeakFileDefaultDirectory_Click); + // + // lblPeakFileCustomDirectory + // + this.lblPeakFileCustomDirectory.BackColor = System.Drawing.Color.Transparent; + this.tablePeakFiles.SetColumnSpan(this.lblPeakFileCustomDirectory, 3); + this.lblPeakFileCustomDirectory.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblPeakFileCustomDirectory.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPeakFileCustomDirectory.IsAutoSized = false; + this.lblPeakFileCustomDirectory.Location = new System.Drawing.Point(24, 27); + this.lblPeakFileCustomDirectory.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.lblPeakFileCustomDirectory.Name = "lblPeakFileCustomDirectory"; + this.lblPeakFileCustomDirectory.Size = new System.Drawing.Size(600, 18); + this.lblPeakFileCustomDirectory.TabIndex = 102; + this.lblPeakFileCustomDirectory.Text = "Use a custom directory:"; + this.lblPeakFileCustomDirectory.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme10.IsBackgroundTransparent = true; textGradient28.BorderColor = System.Drawing.Color.DarkGray; textGradient28.BorderWidth = 1; textGradient28.Color1 = System.Drawing.Color.LightGray; @@ -1202,13 +1162,69 @@ private void InitializeComponent() customFont28.UseEmbeddedFont = true; textGradient28.Font = customFont28; textGradient28.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient28.Padding = 5; - buttonTheme5.TextGradientDefault = textGradient28; - textGradient29.BorderColor = System.Drawing.Color.DarkGray; + textGradient28.Padding = 2; + labelTheme10.TextGradient = textGradient28; + this.lblPeakFileCustomDirectory.Theme = labelTheme10; + this.toolTip.SetToolTip(this.lblPeakFileCustomDirectory, "Uses a custom directory for saving peak files. Click on the Browse button to choo" + + "se a directory."); + this.lblPeakFileCustomDirectory.Click += new System.EventHandler(this.lblPeakFileCustomDirectory_Click); + // + // lblPeakFileDisplayWarning + // + this.lblPeakFileDisplayWarning.BackColor = System.Drawing.Color.Transparent; + this.lblPeakFileDisplayWarning.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblPeakFileDisplayWarning.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPeakFileDisplayWarning.IsAutoSized = false; + this.lblPeakFileDisplayWarning.Location = new System.Drawing.Point(24, 99); + this.lblPeakFileDisplayWarning.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.lblPeakFileDisplayWarning.Name = "lblPeakFileDisplayWarning"; + this.lblPeakFileDisplayWarning.Size = new System.Drawing.Size(479, 18); + this.lblPeakFileDisplayWarning.TabIndex = 112; + this.lblPeakFileDisplayWarning.Text = "Display warning when peak file directory exceeds"; + this.lblPeakFileDisplayWarning.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme8.IsBackgroundTransparent = true; + textGradient26.BorderColor = System.Drawing.Color.DarkGray; + textGradient26.BorderWidth = 1; + textGradient26.Color1 = System.Drawing.Color.LightGray; + textGradient26.Color2 = System.Drawing.Color.Gray; + customFont26.Color = System.Drawing.Color.Black; + customFont26.EmbeddedFontName = "Junction"; + customFont26.IsBold = false; + customFont26.IsItalic = false; + customFont26.IsUnderline = false; + customFont26.Size = 8F; + customFont26.StandardFontName = "Arial"; + customFont26.UseAntiAliasing = true; + customFont26.UseEmbeddedFont = true; + textGradient26.Font = customFont26; + textGradient26.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient26.Padding = 2; + labelTheme8.TextGradient = textGradient26; + this.lblPeakFileDisplayWarning.Theme = labelTheme8; + this.toolTip.SetToolTip(this.lblPeakFileDisplayWarning, "Displays a warning in the main window status bar when the peak file directory exc" + + "eeds a certain threshold."); + this.lblPeakFileDisplayWarning.Click += new System.EventHandler(this.lblPeakFileUseMaximum_Click); + // + // btnPeakFileCustomDirectoryBrowse + // + this.btnPeakFileCustomDirectoryBrowse.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnPeakFileCustomDirectoryBrowse.Dock = System.Windows.Forms.DockStyle.Fill; + this.btnPeakFileCustomDirectoryBrowse.Enabled = false; + this.btnPeakFileCustomDirectoryBrowse.Image = global::MPfm.Windows.Properties.Resources.folder_explore; + this.btnPeakFileCustomDirectoryBrowse.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnPeakFileCustomDirectoryBrowse.IsAutoSized = false; + this.btnPeakFileCustomDirectoryBrowse.Location = new System.Drawing.Point(506, 48); + this.btnPeakFileCustomDirectoryBrowse.Margin = new System.Windows.Forms.Padding(0); + this.btnPeakFileCustomDirectoryBrowse.Name = "btnPeakFileCustomDirectoryBrowse"; + this.btnPeakFileCustomDirectoryBrowse.Size = new System.Drawing.Size(76, 24); + this.btnPeakFileCustomDirectoryBrowse.TabIndex = 103; + this.btnPeakFileCustomDirectoryBrowse.Text = "Browse..."; + this.btnPeakFileCustomDirectoryBrowse.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient29.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient29.BorderWidth = 1; - textGradient29.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient29.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont29.Color = System.Drawing.Color.LightGray; + textGradient29.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient29.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont29.Color = System.Drawing.Color.White; customFont29.EmbeddedFontName = "Junction"; customFont29.IsBold = false; customFont29.IsItalic = false; @@ -1219,13 +1235,13 @@ private void InitializeComponent() customFont29.UseEmbeddedFont = true; textGradient29.Font = customFont29; textGradient29.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient29.Padding = 5; - buttonTheme5.TextGradientDisabled = textGradient29; - textGradient30.BorderColor = System.Drawing.Color.Gray; + textGradient29.Padding = 2; + buttonTheme7.TextGradientDefault = textGradient29; + textGradient30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient30.BorderWidth = 1; - textGradient30.Color1 = System.Drawing.Color.White; - textGradient30.Color2 = System.Drawing.Color.LightGray; - customFont30.Color = System.Drawing.Color.Black; + textGradient30.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(24)))), ((int)(((byte)(14))))); + textGradient30.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(24)))), ((int)(((byte)(14))))); + customFont30.Color = System.Drawing.Color.LightGray; customFont30.EmbeddedFontName = "Junction"; customFont30.IsBold = false; customFont30.IsItalic = false; @@ -1236,32 +1252,13 @@ private void InitializeComponent() customFont30.UseEmbeddedFont = true; textGradient30.Font = customFont30; textGradient30.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient30.Padding = 5; - buttonTheme5.TextGradientMouseOver = textGradient30; - this.btnResetLibrary.Theme = buttonTheme5; - this.toolTip.SetToolTip(this.btnResetLibrary, "Resets the library by removing all folders. The audio files are NOT deleted from " + - "the hard disk."); - this.btnResetLibrary.Click += new System.EventHandler(this.btnResetLibrary_Click); - // - // btnRemoveFolder - // - this.btnRemoveFolder.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnRemoveFolder.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnRemoveFolder.Image = global::MPfm.Windows.Properties.Resources.delete; - this.btnRemoveFolder.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnRemoveFolder.IsAutoSized = true; - this.btnRemoveFolder.Location = new System.Drawing.Point(104, 6); - this.btnRemoveFolder.Margin = new System.Windows.Forms.Padding(3, 6, 3, 3); - this.btnRemoveFolder.Name = "btnRemoveFolder"; - this.btnRemoveFolder.Size = new System.Drawing.Size(125, 26); - this.btnRemoveFolder.TabIndex = 67; - this.btnRemoveFolder.Text = "Remove Folder(s)"; - this.btnRemoveFolder.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - textGradient31.BorderColor = System.Drawing.Color.DarkGray; + textGradient30.Padding = 2; + buttonTheme7.TextGradientDisabled = textGradient30; + textGradient31.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient31.BorderWidth = 1; - textGradient31.Color1 = System.Drawing.Color.LightGray; - textGradient31.Color2 = System.Drawing.Color.Gray; - customFont31.Color = System.Drawing.Color.Black; + textGradient31.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient31.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont31.Color = System.Drawing.Color.White; customFont31.EmbeddedFontName = "Junction"; customFont31.IsBold = false; customFont31.IsItalic = false; @@ -1272,62 +1269,101 @@ private void InitializeComponent() customFont31.UseEmbeddedFont = true; textGradient31.Font = customFont31; textGradient31.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient31.Padding = 5; - buttonTheme6.TextGradientDefault = textGradient31; - textGradient32.BorderColor = System.Drawing.Color.DarkGray; - textGradient32.BorderWidth = 1; - textGradient32.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient32.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont32.Color = System.Drawing.Color.LightGray; - customFont32.EmbeddedFontName = "Junction"; - customFont32.IsBold = false; - customFont32.IsItalic = false; - customFont32.IsUnderline = false; - customFont32.Size = 8F; - customFont32.StandardFontName = "Arial"; - customFont32.UseAntiAliasing = true; - customFont32.UseEmbeddedFont = true; - textGradient32.Font = customFont32; - textGradient32.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient32.Padding = 5; - buttonTheme6.TextGradientDisabled = textGradient32; - textGradient33.BorderColor = System.Drawing.Color.Gray; - textGradient33.BorderWidth = 1; - textGradient33.Color1 = System.Drawing.Color.White; - textGradient33.Color2 = System.Drawing.Color.LightGray; - customFont33.Color = System.Drawing.Color.Black; - customFont33.EmbeddedFontName = "Junction"; - customFont33.IsBold = false; - customFont33.IsItalic = false; - customFont33.IsUnderline = false; - customFont33.Size = 8F; - customFont33.StandardFontName = "Arial"; - customFont33.UseAntiAliasing = true; - customFont33.UseEmbeddedFont = true; - textGradient33.Font = customFont33; - textGradient33.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient33.Padding = 5; - buttonTheme6.TextGradientMouseOver = textGradient33; - this.btnRemoveFolder.Theme = buttonTheme6; - this.toolTip.SetToolTip(this.btnRemoveFolder, "Removes the selected folder(s) from your library."); - this.btnRemoveFolder.Click += new System.EventHandler(this.btnRemoveFolder_Click); + textGradient31.Padding = 2; + buttonTheme7.TextGradientMouseOver = textGradient31; + this.btnPeakFileCustomDirectoryBrowse.Theme = buttonTheme7; + this.toolTip.SetToolTip(this.btnPeakFileCustomDirectoryBrowse, "Click here to select a custom directory for saving peak files."); + this.btnPeakFileCustomDirectoryBrowse.Click += new System.EventHandler(this.btnPeakFileCustomDirectoryBrowse_Click); // - // btnGeneralSettings + // lblShowTooltips // - this.btnGeneralSettings.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnGeneralSettings.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnGeneralSettings.Image = global::MPfm.Windows.Properties.Resources.wrench; - this.btnGeneralSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnGeneralSettings.IsAutoSized = true; - this.btnGeneralSettings.Location = new System.Drawing.Point(0, 0); - this.btnGeneralSettings.Margin = new System.Windows.Forms.Padding(0); - this.btnGeneralSettings.Name = "btnGeneralSettings"; - this.btnGeneralSettings.Size = new System.Drawing.Size(81, 26); - this.btnGeneralSettings.TabIndex = 64; - this.btnGeneralSettings.Text = "General"; - this.btnGeneralSettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.lblShowTooltips.BackColor = System.Drawing.Color.Transparent; + this.tableUserInterface.SetColumnSpan(this.lblShowTooltips, 2); + this.lblShowTooltips.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblShowTooltips.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblShowTooltips.IsAutoSized = false; + this.lblShowTooltips.Location = new System.Drawing.Point(24, 3); + this.lblShowTooltips.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.lblShowTooltips.Name = "lblShowTooltips"; + this.lblShowTooltips.Size = new System.Drawing.Size(600, 18); + this.lblShowTooltips.TabIndex = 94; + this.lblShowTooltips.Text = "Show tooltips"; + this.lblShowTooltips.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme15.IsBackgroundTransparent = true; + textGradient36.BorderColor = System.Drawing.Color.DarkGray; + textGradient36.BorderWidth = 1; + textGradient36.Color1 = System.Drawing.Color.LightGray; + textGradient36.Color2 = System.Drawing.Color.Gray; + customFont36.Color = System.Drawing.Color.Black; + customFont36.EmbeddedFontName = "Junction"; + customFont36.IsBold = false; + customFont36.IsItalic = false; + customFont36.IsUnderline = false; + customFont36.Size = 8F; + customFont36.StandardFontName = "Arial"; + customFont36.UseAntiAliasing = true; + customFont36.UseEmbeddedFont = true; + textGradient36.Font = customFont36; + textGradient36.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient36.Padding = 2; + labelTheme15.TextGradient = textGradient36; + this.lblShowTooltips.Theme = labelTheme15; + this.toolTip.SetToolTip(this.lblShowTooltips, "Displays tooltips (like this one!) when leaving the mouse cursor on a control."); + this.lblShowTooltips.Click += new System.EventHandler(this.lblShowTooltips_Click); + // + // lblShowTray + // + this.lblShowTray.BackColor = System.Drawing.Color.Transparent; + this.tableUserInterface.SetColumnSpan(this.lblShowTray, 2); + this.lblShowTray.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblShowTray.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblShowTray.IsAutoSized = false; + this.lblShowTray.Location = new System.Drawing.Point(24, 27); + this.lblShowTray.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.lblShowTray.Name = "lblShowTray"; + this.lblShowTray.Size = new System.Drawing.Size(600, 18); + this.lblShowTray.TabIndex = 91; + this.lblShowTray.Text = "Show MPfm in the system tray"; + this.lblShowTray.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme14.IsBackgroundTransparent = true; + textGradient35.BorderColor = System.Drawing.Color.DarkGray; + textGradient35.BorderWidth = 1; + textGradient35.Color1 = System.Drawing.Color.LightGray; + textGradient35.Color2 = System.Drawing.Color.Gray; + customFont35.Color = System.Drawing.Color.Black; + customFont35.EmbeddedFontName = "Junction"; + customFont35.IsBold = false; + customFont35.IsItalic = false; + customFont35.IsUnderline = false; + customFont35.Size = 8F; + customFont35.StandardFontName = "Arial"; + customFont35.UseAntiAliasing = true; + customFont35.UseEmbeddedFont = true; + textGradient35.Font = customFont35; + textGradient35.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient35.Padding = 2; + labelTheme14.TextGradient = textGradient35; + this.lblShowTray.Theme = labelTheme14; + this.toolTip.SetToolTip(this.lblShowTray, "Adds an icon to the system tray. Click on the icon to show MPfm or right-click on" + + " the icon to display a menu."); + this.lblShowTray.Click += new System.EventHandler(this.lblShowTray_Click); + // + // lblHideTray + // + this.lblHideTray.BackColor = System.Drawing.Color.Transparent; + this.lblHideTray.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblHideTray.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblHideTray.IsAutoSized = false; + this.lblHideTray.Location = new System.Drawing.Point(45, 51); + this.lblHideTray.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); + this.lblHideTray.Name = "lblHideTray"; + this.lblHideTray.Size = new System.Drawing.Size(579, 18); + this.lblHideTray.TabIndex = 92; + this.lblHideTray.Text = "Hide MPfm in the system tray when the main form is closed"; + this.lblHideTray.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme13.IsBackgroundTransparent = true; textGradient34.BorderColor = System.Drawing.Color.DarkGray; - textGradient34.BorderWidth = 0; + textGradient34.BorderWidth = 1; textGradient34.Color1 = System.Drawing.Color.LightGray; textGradient34.Color2 = System.Drawing.Color.Gray; customFont34.Color = System.Drawing.Color.Black; @@ -1335,68 +1371,34 @@ private void InitializeComponent() customFont34.IsBold = false; customFont34.IsItalic = false; customFont34.IsUnderline = false; - customFont34.Size = 9F; + customFont34.Size = 8F; customFont34.StandardFontName = "Arial"; customFont34.UseAntiAliasing = true; customFont34.UseEmbeddedFont = true; textGradient34.Font = customFont34; textGradient34.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient34.Padding = 5; - buttonTheme7.TextGradientDefault = textGradient34; - textGradient35.BorderColor = System.Drawing.Color.DarkGray; - textGradient35.BorderWidth = 0; - textGradient35.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient35.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont35.Color = System.Drawing.Color.WhiteSmoke; - customFont35.EmbeddedFontName = "Junction"; - customFont35.IsBold = false; - customFont35.IsItalic = false; - customFont35.IsUnderline = false; - customFont35.Size = 9F; - customFont35.StandardFontName = "Arial"; - customFont35.UseAntiAliasing = true; - customFont35.UseEmbeddedFont = true; - textGradient35.Font = customFont35; - textGradient35.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient35.Padding = 5; - buttonTheme7.TextGradientDisabled = textGradient35; - textGradient36.BorderColor = System.Drawing.Color.Gray; - textGradient36.BorderWidth = 1; - textGradient36.Color1 = System.Drawing.Color.White; - textGradient36.Color2 = System.Drawing.Color.LightGray; - customFont36.Color = System.Drawing.Color.Black; - customFont36.EmbeddedFontName = "Junction"; - customFont36.IsBold = false; - customFont36.IsItalic = false; - customFont36.IsUnderline = false; - customFont36.Size = 9F; - customFont36.StandardFontName = "Arial"; - customFont36.UseAntiAliasing = true; - customFont36.UseEmbeddedFont = true; - textGradient36.Font = customFont36; - textGradient36.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient36.Padding = 5; - buttonTheme7.TextGradientMouseOver = textGradient36; - this.btnGeneralSettings.Theme = buttonTheme7; - this.toolTip.SetToolTip(this.btnGeneralSettings, "Displays the General Settings tab."); - this.btnGeneralSettings.Click += new System.EventHandler(this.btnGeneralSettings_Click); + textGradient34.Padding = 2; + labelTheme13.TextGradient = textGradient34; + this.lblHideTray.Theme = labelTheme13; + this.toolTip.SetToolTip(this.lblHideTray, "Hides MPfm from the Windows Task Bar when minimizing the main window."); + this.lblHideTray.Click += new System.EventHandler(this.lblHideTray_Click); // - // btnAudioSettings + // lblPositionUpdateFrequency // - this.btnAudioSettings.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAudioSettings.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnAudioSettings.Image = global::MPfm.Windows.Properties.Resources.control_equalizer; - this.btnAudioSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnAudioSettings.IsAutoSized = true; - this.btnAudioSettings.Location = new System.Drawing.Point(81, 0); - this.btnAudioSettings.Margin = new System.Windows.Forms.Padding(0); - this.btnAudioSettings.Name = "btnAudioSettings"; - this.btnAudioSettings.Size = new System.Drawing.Size(69, 26); - this.btnAudioSettings.TabIndex = 63; - this.btnAudioSettings.Text = "Audio"; - this.btnAudioSettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.lblPositionUpdateFrequency.BackColor = System.Drawing.Color.Transparent; + this.lblPositionUpdateFrequency.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblPositionUpdateFrequency.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPositionUpdateFrequency.IsAutoSized = false; + this.lblPositionUpdateFrequency.Location = new System.Drawing.Point(3, 0); + this.lblPositionUpdateFrequency.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.lblPositionUpdateFrequency.Name = "lblPositionUpdateFrequency"; + this.lblPositionUpdateFrequency.Size = new System.Drawing.Size(85, 28); + this.lblPositionUpdateFrequency.TabIndex = 103; + this.lblPositionUpdateFrequency.Text = "Song position :"; + this.lblPositionUpdateFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme16.IsBackgroundTransparent = true; textGradient37.BorderColor = System.Drawing.Color.DarkGray; - textGradient37.BorderWidth = 0; + textGradient37.BorderWidth = 1; textGradient37.Color1 = System.Drawing.Color.LightGray; textGradient37.Color2 = System.Drawing.Color.Gray; customFont37.Color = System.Drawing.Color.Black; @@ -1404,36 +1406,72 @@ private void InitializeComponent() customFont37.IsBold = false; customFont37.IsItalic = false; customFont37.IsUnderline = false; - customFont37.Size = 9F; + customFont37.Size = 8F; customFont37.StandardFontName = "Arial"; customFont37.UseAntiAliasing = true; customFont37.UseEmbeddedFont = true; textGradient37.Font = customFont37; textGradient37.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient37.Padding = 5; - buttonTheme8.TextGradientDefault = textGradient37; + textGradient37.Padding = 2; + labelTheme16.TextGradient = textGradient37; + this.lblPositionUpdateFrequency.Theme = labelTheme16; + this.toolTip.SetToolTip(this.lblPositionUpdateFrequency, "Changes the song position update frequency (10 to 100 ms). Higher values use less" + + " CPU."); + // + // lblOutputMeterUpdateFrequency + // + this.lblOutputMeterUpdateFrequency.BackColor = System.Drawing.Color.Transparent; + this.lblOutputMeterUpdateFrequency.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblOutputMeterUpdateFrequency.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblOutputMeterUpdateFrequency.IsAutoSized = false; + this.lblOutputMeterUpdateFrequency.Location = new System.Drawing.Point(3, 28); + this.lblOutputMeterUpdateFrequency.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.lblOutputMeterUpdateFrequency.Name = "lblOutputMeterUpdateFrequency"; + this.lblOutputMeterUpdateFrequency.Size = new System.Drawing.Size(85, 28); + this.lblOutputMeterUpdateFrequency.TabIndex = 107; + this.lblOutputMeterUpdateFrequency.Text = "Output meter :"; + this.lblOutputMeterUpdateFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme17.IsBackgroundTransparent = true; textGradient38.BorderColor = System.Drawing.Color.DarkGray; - textGradient38.BorderWidth = 0; - textGradient38.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient38.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont38.Color = System.Drawing.Color.WhiteSmoke; + textGradient38.BorderWidth = 1; + textGradient38.Color1 = System.Drawing.Color.LightGray; + textGradient38.Color2 = System.Drawing.Color.Gray; + customFont38.Color = System.Drawing.Color.Black; customFont38.EmbeddedFontName = "Junction"; customFont38.IsBold = false; customFont38.IsItalic = false; customFont38.IsUnderline = false; - customFont38.Size = 9F; + customFont38.Size = 8F; customFont38.StandardFontName = "Arial"; customFont38.UseAntiAliasing = true; customFont38.UseEmbeddedFont = true; textGradient38.Font = customFont38; textGradient38.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient38.Padding = 5; - buttonTheme8.TextGradientDisabled = textGradient38; - textGradient39.BorderColor = System.Drawing.Color.Gray; - textGradient39.BorderWidth = 1; - textGradient39.Color1 = System.Drawing.Color.White; - textGradient39.Color2 = System.Drawing.Color.LightGray; - customFont39.Color = System.Drawing.Color.Black; + textGradient38.Padding = 2; + labelTheme17.TextGradient = textGradient38; + this.lblOutputMeterUpdateFrequency.Theme = labelTheme17; + this.toolTip.SetToolTip(this.lblOutputMeterUpdateFrequency, "Changes the output meter update frequency (10 to 100 ms). Higher values use less " + + "CPU."); + // + // btnGeneralSettings + // + this.btnGeneralSettings.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnGeneralSettings.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnGeneralSettings.Image = global::MPfm.Windows.Properties.Resources.wrench; + this.btnGeneralSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnGeneralSettings.IsAutoSized = true; + this.btnGeneralSettings.Location = new System.Drawing.Point(0, 0); + this.btnGeneralSettings.Margin = new System.Windows.Forms.Padding(0); + this.btnGeneralSettings.Name = "btnGeneralSettings"; + this.btnGeneralSettings.Size = new System.Drawing.Size(81, 26); + this.btnGeneralSettings.TabIndex = 64; + this.btnGeneralSettings.Text = "General"; + this.btnGeneralSettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient39.BorderColor = System.Drawing.Color.DarkGray; + textGradient39.BorderWidth = 0; + textGradient39.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + textGradient39.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + customFont39.Color = System.Drawing.Color.White; customFont39.EmbeddedFontName = "Junction"; customFont39.IsBold = false; customFont39.IsItalic = false; @@ -1445,30 +1483,12 @@ private void InitializeComponent() textGradient39.Font = customFont39; textGradient39.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient39.Padding = 5; - buttonTheme8.TextGradientMouseOver = textGradient39; - this.btnAudioSettings.Theme = buttonTheme8; - this.toolTip.SetToolTip(this.btnAudioSettings, "Displays the Audio Settings tab."); - this.btnAudioSettings.Click += new System.EventHandler(this.btnAudioSettings_Click); - // - // btnLibrarySettings - // - this.btnLibrarySettings.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnLibrarySettings.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnLibrarySettings.Image = global::MPfm.Windows.Properties.Resources.database; - this.btnLibrarySettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnLibrarySettings.IsAutoSized = true; - this.btnLibrarySettings.Location = new System.Drawing.Point(150, 0); - this.btnLibrarySettings.Margin = new System.Windows.Forms.Padding(0); - this.btnLibrarySettings.Name = "btnLibrarySettings"; - this.btnLibrarySettings.Size = new System.Drawing.Size(76, 26); - this.btnLibrarySettings.TabIndex = 65; - this.btnLibrarySettings.Text = "Library"; - this.btnLibrarySettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + buttonTheme8.TextGradientDefault = textGradient39; textGradient40.BorderColor = System.Drawing.Color.DarkGray; textGradient40.BorderWidth = 0; - textGradient40.Color1 = System.Drawing.Color.LightGray; - textGradient40.Color2 = System.Drawing.Color.Gray; - customFont40.Color = System.Drawing.Color.Black; + textGradient40.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient40.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont40.Color = System.Drawing.Color.Gainsboro; customFont40.EmbeddedFontName = "Junction"; customFont40.IsBold = false; customFont40.IsItalic = false; @@ -1480,12 +1500,12 @@ private void InitializeComponent() textGradient40.Font = customFont40; textGradient40.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient40.Padding = 5; - buttonTheme9.TextGradientDefault = textGradient40; - textGradient41.BorderColor = System.Drawing.Color.DarkGray; - textGradient41.BorderWidth = 0; - textGradient41.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient41.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont41.Color = System.Drawing.Color.WhiteSmoke; + buttonTheme8.TextGradientDisabled = textGradient40; + textGradient41.BorderColor = System.Drawing.Color.Gray; + textGradient41.BorderWidth = 1; + textGradient41.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(130)))), ((int)(((byte)(146))))); + textGradient41.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(130)))), ((int)(((byte)(146))))); + customFont41.Color = System.Drawing.Color.White; customFont41.EmbeddedFontName = "Junction"; customFont41.IsBold = false; customFont41.IsItalic = false; @@ -1497,12 +1517,30 @@ private void InitializeComponent() textGradient41.Font = customFont41; textGradient41.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient41.Padding = 5; - buttonTheme9.TextGradientDisabled = textGradient41; - textGradient42.BorderColor = System.Drawing.Color.Gray; - textGradient42.BorderWidth = 1; - textGradient42.Color1 = System.Drawing.Color.White; - textGradient42.Color2 = System.Drawing.Color.LightGray; - customFont42.Color = System.Drawing.Color.Black; + buttonTheme8.TextGradientMouseOver = textGradient41; + this.btnGeneralSettings.Theme = buttonTheme8; + this.toolTip.SetToolTip(this.btnGeneralSettings, "Displays the General Settings tab."); + this.btnGeneralSettings.Click += new System.EventHandler(this.btnGeneralSettings_Click); + // + // btnAudioSettings + // + this.btnAudioSettings.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAudioSettings.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnAudioSettings.Image = global::MPfm.Windows.Properties.Resources.control_equalizer; + this.btnAudioSettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnAudioSettings.IsAutoSized = true; + this.btnAudioSettings.Location = new System.Drawing.Point(81, 0); + this.btnAudioSettings.Margin = new System.Windows.Forms.Padding(0); + this.btnAudioSettings.Name = "btnAudioSettings"; + this.btnAudioSettings.Size = new System.Drawing.Size(69, 26); + this.btnAudioSettings.TabIndex = 63; + this.btnAudioSettings.Text = "Audio"; + this.btnAudioSettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient42.BorderColor = System.Drawing.Color.DarkGray; + textGradient42.BorderWidth = 0; + textGradient42.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + textGradient42.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + customFont42.Color = System.Drawing.Color.White; customFont42.EmbeddedFontName = "Junction"; customFont42.IsBold = false; customFont42.IsItalic = false; @@ -1514,151 +1552,113 @@ private void InitializeComponent() textGradient42.Font = customFont42; textGradient42.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient42.Padding = 5; - buttonTheme9.TextGradientMouseOver = textGradient42; - this.btnLibrarySettings.Theme = buttonTheme9; - this.toolTip.SetToolTip(this.btnLibrarySettings, "Displays the Library Settings tab."); - this.btnLibrarySettings.Click += new System.EventHandler(this.btnLibrarySettings_Click); - // - // lblASIOLatency - // - this.lblASIOLatency.BackColor = System.Drawing.Color.Transparent; - this.tableLayoutPanel1.SetColumnSpan(this.lblASIOLatency, 2); - this.lblASIOLatency.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblASIOLatency.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblASIOLatency.IsAutoSized = false; - this.lblASIOLatency.Location = new System.Drawing.Point(3, 3); - this.lblASIOLatency.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblASIOLatency.Name = "lblASIOLatency"; - this.lblASIOLatency.Size = new System.Drawing.Size(624, 22); - this.lblASIOLatency.TabIndex = 103; - this.lblASIOLatency.Text = "The buffer size and update period is defined by the ASIO driver."; - this.lblASIOLatency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme17.IsBackgroundTransparent = true; - textGradient47.BorderColor = System.Drawing.Color.DarkGray; - textGradient47.BorderWidth = 1; - textGradient47.Color1 = System.Drawing.Color.LightGray; - textGradient47.Color2 = System.Drawing.Color.Gray; - customFont47.Color = System.Drawing.Color.Black; - customFont47.EmbeddedFontName = "Junction"; - customFont47.IsBold = false; - customFont47.IsItalic = false; - customFont47.IsUnderline = false; - customFont47.Size = 8F; - customFont47.StandardFontName = "Arial"; - customFont47.UseAntiAliasing = true; - customFont47.UseEmbeddedFont = true; - textGradient47.Font = customFont47; - textGradient47.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient47.Padding = 2; - labelTheme17.TextGradient = textGradient47; - this.lblASIOLatency.Theme = labelTheme17; - this.toolTip.SetToolTip(this.lblASIOLatency, "Changes the audio buffer size (100 ms to 10000 ms). If the audio playback is stut" + - "tering, try using higher values."); - // - // btnOpenASIOControlPanel - // - this.btnOpenASIOControlPanel.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnOpenASIOControlPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnOpenASIOControlPanel.Image = global::MPfm.Windows.Properties.Resources.application_view_detail; - this.btnOpenASIOControlPanel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnOpenASIOControlPanel.IsAutoSized = true; - this.btnOpenASIOControlPanel.Location = new System.Drawing.Point(430, 28); - this.btnOpenASIOControlPanel.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); - this.btnOpenASIOControlPanel.Name = "btnOpenASIOControlPanel"; - this.btnOpenASIOControlPanel.Size = new System.Drawing.Size(167, 28); - this.btnOpenASIOControlPanel.TabIndex = 104; - this.btnOpenASIOControlPanel.Text = "Open ASIO Control Panel"; - this.btnOpenASIOControlPanel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + buttonTheme9.TextGradientDefault = textGradient42; textGradient43.BorderColor = System.Drawing.Color.DarkGray; - textGradient43.BorderWidth = 1; - textGradient43.Color1 = System.Drawing.Color.LightGray; - textGradient43.Color2 = System.Drawing.Color.Gray; - customFont43.Color = System.Drawing.Color.Black; + textGradient43.BorderWidth = 0; + textGradient43.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient43.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont43.Color = System.Drawing.Color.Gainsboro; customFont43.EmbeddedFontName = "Junction"; customFont43.IsBold = false; customFont43.IsItalic = false; customFont43.IsUnderline = false; - customFont43.Size = 8F; + customFont43.Size = 9F; customFont43.StandardFontName = "Arial"; customFont43.UseAntiAliasing = true; customFont43.UseEmbeddedFont = true; textGradient43.Font = customFont43; textGradient43.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient43.Padding = 6; - buttonTheme10.TextGradientDefault = textGradient43; - textGradient44.BorderColor = System.Drawing.Color.DarkGray; + textGradient43.Padding = 5; + buttonTheme9.TextGradientDisabled = textGradient43; + textGradient44.BorderColor = System.Drawing.Color.Gray; textGradient44.BorderWidth = 1; - textGradient44.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); - textGradient44.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); - customFont44.Color = System.Drawing.Color.LightGray; + textGradient44.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(130)))), ((int)(((byte)(146))))); + textGradient44.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(130)))), ((int)(((byte)(146))))); + customFont44.Color = System.Drawing.Color.White; customFont44.EmbeddedFontName = "Junction"; customFont44.IsBold = false; customFont44.IsItalic = false; customFont44.IsUnderline = false; - customFont44.Size = 8F; + customFont44.Size = 9F; customFont44.StandardFontName = "Arial"; customFont44.UseAntiAliasing = true; customFont44.UseEmbeddedFont = true; textGradient44.Font = customFont44; textGradient44.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient44.Padding = 6; - buttonTheme10.TextGradientDisabled = textGradient44; - textGradient45.BorderColor = System.Drawing.Color.Gray; - textGradient45.BorderWidth = 1; - textGradient45.Color1 = System.Drawing.Color.White; - textGradient45.Color2 = System.Drawing.Color.LightGray; - customFont45.Color = System.Drawing.Color.Black; + textGradient44.Padding = 5; + buttonTheme9.TextGradientMouseOver = textGradient44; + this.btnAudioSettings.Theme = buttonTheme9; + this.toolTip.SetToolTip(this.btnAudioSettings, "Displays the Audio Settings tab."); + this.btnAudioSettings.Click += new System.EventHandler(this.btnAudioSettings_Click); + // + // btnLibrarySettings + // + this.btnLibrarySettings.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnLibrarySettings.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnLibrarySettings.Image = global::MPfm.Windows.Properties.Resources.database; + this.btnLibrarySettings.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnLibrarySettings.IsAutoSized = true; + this.btnLibrarySettings.Location = new System.Drawing.Point(150, 0); + this.btnLibrarySettings.Margin = new System.Windows.Forms.Padding(0); + this.btnLibrarySettings.Name = "btnLibrarySettings"; + this.btnLibrarySettings.Size = new System.Drawing.Size(76, 26); + this.btnLibrarySettings.TabIndex = 65; + this.btnLibrarySettings.Text = "Library"; + this.btnLibrarySettings.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient45.BorderColor = System.Drawing.Color.DarkGray; + textGradient45.BorderWidth = 0; + textGradient45.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + textGradient45.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + customFont45.Color = System.Drawing.Color.White; customFont45.EmbeddedFontName = "Junction"; customFont45.IsBold = false; customFont45.IsItalic = false; customFont45.IsUnderline = false; - customFont45.Size = 8F; + customFont45.Size = 9F; customFont45.StandardFontName = "Arial"; customFont45.UseAntiAliasing = true; customFont45.UseEmbeddedFont = true; textGradient45.Font = customFont45; textGradient45.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient45.Padding = 6; - buttonTheme10.TextGradientMouseOver = textGradient45; - this.btnOpenASIOControlPanel.Theme = buttonTheme10; - this.toolTip.SetToolTip(this.btnOpenASIOControlPanel, "Click here to test the currently selected audio settings."); - this.btnOpenASIOControlPanel.Visible = false; - this.btnOpenASIOControlPanel.Click += new System.EventHandler(this.btnOpenASIOControlPanel_Click); - // - // lblASIOLatencyValue - // - this.lblASIOLatencyValue.BackColor = System.Drawing.Color.Transparent; - this.lblASIOLatencyValue.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblASIOLatencyValue.IsAutoSized = false; - this.lblASIOLatencyValue.Location = new System.Drawing.Point(3, 31); - this.lblASIOLatencyValue.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.lblASIOLatencyValue.Name = "lblASIOLatencyValue"; - this.lblASIOLatencyValue.Size = new System.Drawing.Size(170, 22); - this.lblASIOLatencyValue.TabIndex = 106; - this.lblASIOLatencyValue.Text = "Latency :"; - this.lblASIOLatencyValue.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme16.IsBackgroundTransparent = true; + textGradient45.Padding = 5; + buttonTheme10.TextGradientDefault = textGradient45; textGradient46.BorderColor = System.Drawing.Color.DarkGray; - textGradient46.BorderWidth = 1; - textGradient46.Color1 = System.Drawing.Color.LightGray; - textGradient46.Color2 = System.Drawing.Color.Gray; - customFont46.Color = System.Drawing.Color.Black; + textGradient46.BorderWidth = 0; + textGradient46.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient46.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont46.Color = System.Drawing.Color.Gainsboro; customFont46.EmbeddedFontName = "Junction"; customFont46.IsBold = false; customFont46.IsItalic = false; customFont46.IsUnderline = false; - customFont46.Size = 8F; + customFont46.Size = 9F; customFont46.StandardFontName = "Arial"; customFont46.UseAntiAliasing = true; customFont46.UseEmbeddedFont = true; textGradient46.Font = customFont46; textGradient46.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient46.Padding = 2; - labelTheme16.TextGradient = textGradient46; - this.lblASIOLatencyValue.Theme = labelTheme16; - this.toolTip.SetToolTip(this.lblASIOLatencyValue, "Changes the audio buffer size (100 ms to 10000 ms). If the audio playback is stut" + - "tering, try using higher values."); - this.lblASIOLatencyValue.Visible = false; + textGradient46.Padding = 5; + buttonTheme10.TextGradientDisabled = textGradient46; + textGradient47.BorderColor = System.Drawing.Color.Gray; + textGradient47.BorderWidth = 1; + textGradient47.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(130)))), ((int)(((byte)(146))))); + textGradient47.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(108)))), ((int)(((byte)(130)))), ((int)(((byte)(146))))); + customFont47.Color = System.Drawing.Color.White; + customFont47.EmbeddedFontName = "Junction"; + customFont47.IsBold = false; + customFont47.IsItalic = false; + customFont47.IsUnderline = false; + customFont47.Size = 9F; + customFont47.StandardFontName = "Arial"; + customFont47.UseAntiAliasing = true; + customFont47.UseEmbeddedFont = true; + textGradient47.Font = customFont47; + textGradient47.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient47.Padding = 5; + buttonTheme10.TextGradientMouseOver = textGradient47; + this.btnLibrarySettings.Theme = buttonTheme10; + this.toolTip.SetToolTip(this.btnLibrarySettings, "Displays the Library Settings tab."); + this.btnLibrarySettings.Click += new System.EventHandler(this.btnLibrarySettings_Click); // // panelAudioSettings // @@ -1688,9 +1688,9 @@ private void InitializeComponent() panelTheme5.BackgroundGradient = backgroundGradient18; textGradient58.BorderColor = System.Drawing.Color.DarkGray; textGradient58.BorderWidth = 0; - textGradient58.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient58.Color2 = System.Drawing.Color.DarkGray; - customFont58.Color = System.Drawing.Color.Black; + textGradient58.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient58.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont58.Color = System.Drawing.Color.White; customFont58.EmbeddedFontName = "Junction"; customFont58.IsBold = false; customFont58.IsItalic = false; @@ -1730,8 +1730,8 @@ private void InitializeComponent() this.tableAudioSettings.TabIndex = 106; backgroundGradient17.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient17.BorderWidth = 0; - backgroundGradient17.Color1 = System.Drawing.Color.Gray; - backgroundGradient17.Color2 = System.Drawing.Color.DimGray; + backgroundGradient17.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + backgroundGradient17.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); backgroundGradient17.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tableLayoutPanelTheme7.BackgroundGradient = backgroundGradient17; tableLayoutPanelTheme7.IsBackgroundTransparent = false; @@ -1758,15 +1758,15 @@ private void InitializeComponent() this.panelAudioSettingsMixerDirectSound.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; backgroundGradient11.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient11.BorderWidth = 0; - backgroundGradient11.Color1 = System.Drawing.Color.Gainsboro; - backgroundGradient11.Color2 = System.Drawing.Color.DarkGray; + backgroundGradient11.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient11.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient11.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; panelTheme1.BackgroundGradient = backgroundGradient11; textGradient52.BorderColor = System.Drawing.Color.DarkGray; textGradient52.BorderWidth = 0; - textGradient52.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient52.Color2 = System.Drawing.Color.Silver; - customFont52.Color = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); + textGradient52.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient52.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont52.Color = System.Drawing.Color.White; customFont52.EmbeddedFontName = "Junction"; customFont52.IsBold = false; customFont52.IsItalic = false; @@ -1813,8 +1813,8 @@ private void InitializeComponent() this.tableAudioSettingsMixerDirectSound.TabIndex = 113; backgroundGradient10.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient10.BorderWidth = 0; - backgroundGradient10.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient10.Color2 = System.Drawing.Color.Silver; + backgroundGradient10.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient10.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient10.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tableLayoutPanelTheme4.BackgroundGradient = backgroundGradient10; tableLayoutPanelTheme4.IsBackgroundTransparent = false; @@ -2090,15 +2090,15 @@ private void InitializeComponent() this.panelAudioSettingsOutput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; backgroundGradient13.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient13.BorderWidth = 0; - backgroundGradient13.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient13.Color2 = System.Drawing.Color.Silver; + backgroundGradient13.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient13.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient13.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; panelTheme2.BackgroundGradient = backgroundGradient13; textGradient54.BorderColor = System.Drawing.Color.DarkGray; textGradient54.BorderWidth = 0; - textGradient54.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient54.Color2 = System.Drawing.Color.Silver; - customFont54.Color = System.Drawing.Color.Black; + textGradient54.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient54.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont54.Color = System.Drawing.Color.White; customFont54.EmbeddedFontName = "Junction"; customFont54.IsBold = false; customFont54.IsItalic = false; @@ -2142,8 +2142,8 @@ private void InitializeComponent() this.tableAudioSettingsOutput.TabIndex = 95; backgroundGradient12.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient12.BorderWidth = 0; - backgroundGradient12.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient12.Color2 = System.Drawing.Color.Silver; + backgroundGradient12.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient12.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient12.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tableLayoutPanelTheme5.BackgroundGradient = backgroundGradient12; tableLayoutPanelTheme5.IsBackgroundTransparent = false; @@ -2251,15 +2251,15 @@ private void InitializeComponent() this.panelAudioSettingsStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; backgroundGradient15.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient15.BorderWidth = 0; - backgroundGradient15.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient15.Color2 = System.Drawing.Color.Silver; + backgroundGradient15.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient15.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient15.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; panelTheme3.BackgroundGradient = backgroundGradient15; textGradient56.BorderColor = System.Drawing.Color.DarkGray; textGradient56.BorderWidth = 0; - textGradient56.Color1 = System.Drawing.Color.Gainsboro; - textGradient56.Color2 = System.Drawing.Color.DarkGray; - customFont56.Color = System.Drawing.Color.Black; + textGradient56.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient56.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont56.Color = System.Drawing.Color.White; customFont56.EmbeddedFontName = "Junction"; customFont56.IsBold = false; customFont56.IsItalic = false; @@ -2298,8 +2298,8 @@ private void InitializeComponent() this.tableAudioSettingsStatus.TabIndex = 113; backgroundGradient14.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient14.BorderWidth = 0; - backgroundGradient14.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient14.Color2 = System.Drawing.Color.Silver; + backgroundGradient14.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient14.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient14.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; tableLayoutPanelTheme6.BackgroundGradient = backgroundGradient14; tableLayoutPanelTheme6.IsBackgroundTransparent = false; @@ -2372,15 +2372,15 @@ private void InitializeComponent() this.panelAudioSettingsMixerASIO.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; backgroundGradient16.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient16.BorderWidth = 0; - backgroundGradient16.Color1 = System.Drawing.Color.Gainsboro; - backgroundGradient16.Color2 = System.Drawing.Color.DarkGray; + backgroundGradient16.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient16.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); backgroundGradient16.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; panelTheme4.BackgroundGradient = backgroundGradient16; textGradient57.BorderColor = System.Drawing.Color.DarkGray; textGradient57.BorderWidth = 0; - textGradient57.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient57.Color2 = System.Drawing.Color.Silver; - customFont57.Color = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); + textGradient57.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient57.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont57.Color = System.Drawing.Color.White; customFont57.EmbeddedFontName = "Junction"; customFont57.IsBold = false; customFont57.IsItalic = false; @@ -2418,14 +2418,194 @@ private void InitializeComponent() this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(627, 56); this.tableLayoutPanel1.TabIndex = 113; - backgroundGradient3.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient3.BorderWidth = 0; - backgroundGradient3.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient3.Color2 = System.Drawing.Color.Silver; - backgroundGradient3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme3.BackgroundGradient = backgroundGradient3; - tableLayoutPanelTheme3.IsBackgroundTransparent = false; - this.tableLayoutPanel1.Theme = tableLayoutPanelTheme3; + backgroundGradient1.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient1.BorderWidth = 0; + backgroundGradient1.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient1.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme1.BackgroundGradient = backgroundGradient1; + tableLayoutPanelTheme1.IsBackgroundTransparent = false; + this.tableLayoutPanel1.Theme = tableLayoutPanelTheme1; + // + // panelLibrarySettings + // + this.panelLibrarySettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panelLibrarySettings.Controls.Add(this.tableLibrarySettings); + this.panelLibrarySettings.ExpandedHeight = 200; + this.panelLibrarySettings.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.panelLibrarySettings.HeaderAutoSize = true; + this.panelLibrarySettings.HeaderExpandable = false; + this.panelLibrarySettings.HeaderExpanded = true; + this.panelLibrarySettings.HeaderHeight = 30; + this.panelLibrarySettings.HeaderTextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.panelLibrarySettings.HeaderTitle = "Library Settings"; + this.panelLibrarySettings.Location = new System.Drawing.Point(0, 26); + this.panelLibrarySettings.Margin = new System.Windows.Forms.Padding(0); + this.panelLibrarySettings.Name = "panelLibrarySettings"; + this.panelLibrarySettings.Size = new System.Drawing.Size(639, 494); + this.panelLibrarySettings.TabIndex = 17; + this.panelLibrarySettings.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + backgroundGradient22.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient22.BorderWidth = 0; + backgroundGradient22.Color1 = System.Drawing.Color.LightGray; + backgroundGradient22.Color2 = System.Drawing.Color.Gray; + backgroundGradient22.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme7.BackgroundGradient = backgroundGradient22; + textGradient60.BorderColor = System.Drawing.Color.DarkGray; + textGradient60.BorderWidth = 0; + textGradient60.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient60.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont60.Color = System.Drawing.Color.White; + customFont60.EmbeddedFontName = "Junction"; + customFont60.IsBold = false; + customFont60.IsItalic = false; + customFont60.IsUnderline = false; + customFont60.Size = 11F; + customFont60.StandardFontName = "Arial"; + customFont60.UseAntiAliasing = true; + customFont60.UseEmbeddedFont = true; + textGradient60.Font = customFont60; + textGradient60.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient60.Padding = 2; + panelTheme7.HeaderTextGradient = textGradient60; + this.panelLibrarySettings.Theme = panelTheme7; + // + // tableLibrarySettings + // + this.tableLibrarySettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tableLibrarySettings.BackColor = System.Drawing.Color.DimGray; + this.tableLibrarySettings.ColumnCount = 1; + this.tableLibrarySettings.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLibrarySettings.Controls.Add(this.panelLibrarySettingsFolders, 0, 0); + this.tableLibrarySettings.Location = new System.Drawing.Point(0, 30); + this.tableLibrarySettings.Name = "tableLibrarySettings"; + this.tableLibrarySettings.RowCount = 1; + this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLibrarySettings.Size = new System.Drawing.Size(639, 464); + this.tableLibrarySettings.TabIndex = 107; + backgroundGradient21.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient21.BorderWidth = 0; + backgroundGradient21.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + backgroundGradient21.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + backgroundGradient21.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme9.BackgroundGradient = backgroundGradient21; + tableLayoutPanelTheme9.IsBackgroundTransparent = false; + this.tableLibrarySettings.Theme = tableLayoutPanelTheme9; + // + // panelLibrarySettingsFolders + // + this.panelLibrarySettingsFolders.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.panelLibrarySettingsFolders.Controls.Add(this.tableLibrarySettingsFolders); + this.panelLibrarySettingsFolders.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelLibrarySettingsFolders.ExpandedHeight = 200; + this.panelLibrarySettingsFolders.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.panelLibrarySettingsFolders.HeaderAutoSize = true; + this.panelLibrarySettingsFolders.HeaderExpandable = false; + this.panelLibrarySettingsFolders.HeaderExpanded = true; + this.panelLibrarySettingsFolders.HeaderHeight = 20; + this.panelLibrarySettingsFolders.HeaderTextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.panelLibrarySettingsFolders.HeaderTitle = "Folders"; + this.panelLibrarySettingsFolders.Location = new System.Drawing.Point(6, 6); + this.panelLibrarySettingsFolders.Margin = new System.Windows.Forms.Padding(6); + this.panelLibrarySettingsFolders.Name = "panelLibrarySettingsFolders"; + this.panelLibrarySettingsFolders.Size = new System.Drawing.Size(627, 452); + this.panelLibrarySettingsFolders.TabIndex = 103; + this.panelLibrarySettingsFolders.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + backgroundGradient20.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient20.BorderWidth = 0; + backgroundGradient20.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient20.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient20.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme6.BackgroundGradient = backgroundGradient20; + textGradient59.BorderColor = System.Drawing.Color.DarkGray; + textGradient59.BorderWidth = 0; + textGradient59.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient59.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont59.Color = System.Drawing.Color.White; + customFont59.EmbeddedFontName = "Junction"; + customFont59.IsBold = false; + customFont59.IsItalic = false; + customFont59.IsUnderline = false; + customFont59.Size = 9F; + customFont59.StandardFontName = "Arial"; + customFont59.UseAntiAliasing = true; + customFont59.UseEmbeddedFont = true; + textGradient59.Font = customFont59; + textGradient59.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient59.Padding = 2; + panelTheme6.HeaderTextGradient = textGradient59; + this.panelLibrarySettingsFolders.Theme = panelTheme6; + // + // tableLibrarySettingsFolders + // + this.tableLibrarySettingsFolders.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tableLibrarySettingsFolders.AutoSize = true; + this.tableLibrarySettingsFolders.BackColor = System.Drawing.Color.Transparent; + this.tableLibrarySettingsFolders.ColumnCount = 4; + this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLibrarySettingsFolders.Controls.Add(this.listViewFolders, 0, 1); + this.tableLibrarySettingsFolders.Controls.Add(this.btnResetLibrary, 2, 0); + this.tableLibrarySettingsFolders.Controls.Add(this.btnAddFolder, 0, 0); + this.tableLibrarySettingsFolders.Controls.Add(this.btnRemoveFolder, 1, 0); + this.tableLibrarySettingsFolders.Location = new System.Drawing.Point(0, 20); + this.tableLibrarySettingsFolders.Name = "tableLibrarySettingsFolders"; + this.tableLibrarySettingsFolders.RowCount = 2; + this.tableLibrarySettingsFolders.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLibrarySettingsFolders.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLibrarySettingsFolders.Size = new System.Drawing.Size(627, 432); + this.tableLibrarySettingsFolders.TabIndex = 95; + backgroundGradient19.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient19.BorderWidth = 0; + backgroundGradient19.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient19.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient19.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme8.BackgroundGradient = backgroundGradient19; + tableLayoutPanelTheme8.IsBackgroundTransparent = false; + this.tableLibrarySettingsFolders.Theme = tableLayoutPanelTheme8; + // + // listViewFolders + // + this.listViewFolders.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.listViewFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnPath, + this.columnRecursive}); + this.tableLibrarySettingsFolders.SetColumnSpan(this.listViewFolders, 4); + this.listViewFolders.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.listViewFolders.FullRowSelect = true; + this.listViewFolders.GridLines = true; + this.listViewFolders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; + this.listViewFolders.Location = new System.Drawing.Point(6, 38); + this.listViewFolders.Margin = new System.Windows.Forms.Padding(6, 3, 6, 6); + this.listViewFolders.Name = "listViewFolders"; + this.listViewFolders.ShowGroups = false; + this.listViewFolders.Size = new System.Drawing.Size(615, 388); + this.listViewFolders.TabIndex = 68; + this.listViewFolders.UseCompatibleStateImageBehavior = false; + this.listViewFolders.View = System.Windows.Forms.View.Details; + // + // columnPath + // + this.columnPath.Text = "Path"; + this.columnPath.Width = 270; + // + // columnRecursive + // + this.columnRecursive.Text = "Recursive"; + this.columnRecursive.Width = 173; // // panelGeneralSettings // @@ -2447,30 +2627,30 @@ private void InitializeComponent() this.panelGeneralSettings.Size = new System.Drawing.Size(639, 494); this.panelGeneralSettings.TabIndex = 67; this.panelGeneralSettings.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - backgroundGradient30.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient30.BorderWidth = 0; - backgroundGradient30.Color1 = System.Drawing.Color.LightGray; - backgroundGradient30.Color2 = System.Drawing.Color.Gray; - backgroundGradient30.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - panelTheme9.BackgroundGradient = backgroundGradient30; - textGradient66.BorderColor = System.Drawing.Color.DarkGray; - textGradient66.BorderWidth = 0; - textGradient66.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient66.Color2 = System.Drawing.Color.DarkGray; - customFont66.Color = System.Drawing.Color.Black; - customFont66.EmbeddedFontName = "Junction"; - customFont66.IsBold = false; - customFont66.IsItalic = false; - customFont66.IsUnderline = false; - customFont66.Size = 11F; - customFont66.StandardFontName = "Arial"; - customFont66.UseAntiAliasing = true; - customFont66.UseEmbeddedFont = true; - textGradient66.Font = customFont66; - textGradient66.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient66.Padding = 2; - panelTheme9.HeaderTextGradient = textGradient66; - this.panelGeneralSettings.Theme = panelTheme9; + backgroundGradient34.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient34.BorderWidth = 0; + backgroundGradient34.Color1 = System.Drawing.Color.LightGray; + backgroundGradient34.Color2 = System.Drawing.Color.Gray; + backgroundGradient34.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme11.BackgroundGradient = backgroundGradient34; + textGradient68.BorderColor = System.Drawing.Color.DarkGray; + textGradient68.BorderWidth = 0; + textGradient68.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient68.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont68.Color = System.Drawing.Color.White; + customFont68.EmbeddedFontName = "Junction"; + customFont68.IsBold = false; + customFont68.IsItalic = false; + customFont68.IsUnderline = false; + customFont68.Size = 11F; + customFont68.StandardFontName = "Arial"; + customFont68.UseAntiAliasing = true; + customFont68.UseEmbeddedFont = true; + textGradient68.Font = customFont68; + textGradient68.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient68.Padding = 2; + panelTheme11.HeaderTextGradient = textGradient68; + this.panelGeneralSettings.Theme = panelTheme11; // // tableGeneralSettings // @@ -2492,14 +2672,14 @@ private void InitializeComponent() this.tableGeneralSettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableGeneralSettings.Size = new System.Drawing.Size(639, 464); this.tableGeneralSettings.TabIndex = 105; - backgroundGradient29.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient29.BorderWidth = 0; - backgroundGradient29.Color1 = System.Drawing.Color.Gray; - backgroundGradient29.Color2 = System.Drawing.Color.DimGray; - backgroundGradient29.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme9.BackgroundGradient = backgroundGradient29; - tableLayoutPanelTheme9.IsBackgroundTransparent = false; - this.tableGeneralSettings.Theme = tableLayoutPanelTheme9; + backgroundGradient33.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient33.BorderWidth = 0; + backgroundGradient33.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + backgroundGradient33.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + backgroundGradient33.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme11.BackgroundGradient = backgroundGradient33; + tableLayoutPanelTheme11.IsBackgroundTransparent = false; + this.tableGeneralSettings.Theme = tableLayoutPanelTheme11; // // panelPeakFiles // @@ -2520,30 +2700,30 @@ private void InitializeComponent() this.panelPeakFiles.Size = new System.Drawing.Size(627, 144); this.panelPeakFiles.TabIndex = 104; this.panelPeakFiles.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - backgroundGradient19.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient19.BorderWidth = 0; - backgroundGradient19.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient19.Color2 = System.Drawing.Color.Silver; - backgroundGradient19.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - panelTheme6.BackgroundGradient = backgroundGradient19; - textGradient59.BorderColor = System.Drawing.Color.DarkGray; - textGradient59.BorderWidth = 0; - textGradient59.Color1 = System.Drawing.Color.Gainsboro; - textGradient59.Color2 = System.Drawing.Color.DarkGray; - customFont59.Color = System.Drawing.Color.Black; - customFont59.EmbeddedFontName = "Junction"; - customFont59.IsBold = false; - customFont59.IsItalic = false; - customFont59.IsUnderline = false; - customFont59.Size = 9F; - customFont59.StandardFontName = "Arial"; - customFont59.UseAntiAliasing = true; - customFont59.UseEmbeddedFont = true; - textGradient59.Font = customFont59; - textGradient59.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient59.Padding = 2; - panelTheme6.HeaderTextGradient = textGradient59; - this.panelPeakFiles.Theme = panelTheme6; + backgroundGradient23.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient23.BorderWidth = 0; + backgroundGradient23.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient23.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient23.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme8.BackgroundGradient = backgroundGradient23; + textGradient61.BorderColor = System.Drawing.Color.DarkGray; + textGradient61.BorderWidth = 0; + textGradient61.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient61.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont61.Color = System.Drawing.Color.White; + customFont61.EmbeddedFontName = "Junction"; + customFont61.IsBold = false; + customFont61.IsItalic = false; + customFont61.IsUnderline = false; + customFont61.Size = 9F; + customFont61.StandardFontName = "Arial"; + customFont61.UseAntiAliasing = true; + customFont61.UseEmbeddedFont = true; + textGradient61.Font = customFont61; + textGradient61.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient61.Padding = 2; + panelTheme8.HeaderTextGradient = textGradient61; + this.panelPeakFiles.Theme = panelTheme8; // // tablePeakFiles // @@ -2576,14 +2756,14 @@ private void InitializeComponent() this.tablePeakFiles.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tablePeakFiles.Size = new System.Drawing.Size(627, 120); this.tablePeakFiles.TabIndex = 113; - backgroundGradient1.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient1.BorderWidth = 0; - backgroundGradient1.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient1.Color2 = System.Drawing.Color.Silver; - backgroundGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme1.BackgroundGradient = backgroundGradient1; - tableLayoutPanelTheme1.IsBackgroundTransparent = false; - this.tablePeakFiles.Theme = tableLayoutPanelTheme1; + backgroundGradient2.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient2.BorderWidth = 0; + backgroundGradient2.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient2.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme2.BackgroundGradient = backgroundGradient2; + tableLayoutPanelTheme2.IsBackgroundTransparent = false; + this.tablePeakFiles.Theme = tableLayoutPanelTheme2; // // radioPeakFileDefaultDirectory // @@ -2612,25 +2792,25 @@ private void InitializeComponent() this.lblPeakFileDisplayWarningUnit.TabIndex = 108; this.lblPeakFileDisplayWarningUnit.Text = "MB"; this.lblPeakFileDisplayWarningUnit.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme7.IsBackgroundTransparent = true; - textGradient13.BorderColor = System.Drawing.Color.DarkGray; - textGradient13.BorderWidth = 1; - textGradient13.Color1 = System.Drawing.Color.LightGray; - textGradient13.Color2 = System.Drawing.Color.Gray; - customFont13.Color = System.Drawing.Color.Black; - customFont13.EmbeddedFontName = "Junction"; - customFont13.IsBold = false; - customFont13.IsItalic = false; - customFont13.IsUnderline = false; - customFont13.Size = 8F; - customFont13.StandardFontName = "Arial"; - customFont13.UseAntiAliasing = true; - customFont13.UseEmbeddedFont = true; - textGradient13.Font = customFont13; - textGradient13.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient13.Padding = 2; - labelTheme7.TextGradient = textGradient13; - this.lblPeakFileDisplayWarningUnit.Theme = labelTheme7; + labelTheme9.IsBackgroundTransparent = true; + textGradient27.BorderColor = System.Drawing.Color.DarkGray; + textGradient27.BorderWidth = 1; + textGradient27.Color1 = System.Drawing.Color.LightGray; + textGradient27.Color2 = System.Drawing.Color.Gray; + customFont27.Color = System.Drawing.Color.Black; + customFont27.EmbeddedFontName = "Junction"; + customFont27.IsBold = false; + customFont27.IsItalic = false; + customFont27.IsUnderline = false; + customFont27.Size = 8F; + customFont27.StandardFontName = "Arial"; + customFont27.UseAntiAliasing = true; + customFont27.UseEmbeddedFont = true; + textGradient27.Font = customFont27; + textGradient27.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient27.Padding = 2; + labelTheme9.TextGradient = textGradient27; + this.lblPeakFileDisplayWarningUnit.Theme = labelTheme9; // // txtPeakFileDisplayWarningThreshold // @@ -2709,25 +2889,25 @@ private void InitializeComponent() this.label1.TabIndex = 110; this.label1.Text = "Note: You will need administrator rights to use a custom directory."; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - labelTheme9.IsBackgroundTransparent = true; - textGradient18.BorderColor = System.Drawing.Color.DarkGray; - textGradient18.BorderWidth = 1; - textGradient18.Color1 = System.Drawing.Color.LightGray; - textGradient18.Color2 = System.Drawing.Color.Gray; - customFont18.Color = System.Drawing.Color.Black; - customFont18.EmbeddedFontName = "Junction"; - customFont18.IsBold = false; - customFont18.IsItalic = false; - customFont18.IsUnderline = false; - customFont18.Size = 8F; - customFont18.StandardFontName = "Arial"; - customFont18.UseAntiAliasing = true; - customFont18.UseEmbeddedFont = true; - textGradient18.Font = customFont18; - textGradient18.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient18.Padding = 2; - labelTheme9.TextGradient = textGradient18; - this.label1.Theme = labelTheme9; + labelTheme11.IsBackgroundTransparent = true; + textGradient32.BorderColor = System.Drawing.Color.DarkGray; + textGradient32.BorderWidth = 1; + textGradient32.Color1 = System.Drawing.Color.LightGray; + textGradient32.Color2 = System.Drawing.Color.Gray; + customFont32.Color = System.Drawing.Color.Black; + customFont32.EmbeddedFontName = "Junction"; + customFont32.IsBold = false; + customFont32.IsItalic = false; + customFont32.IsUnderline = false; + customFont32.Size = 8F; + customFont32.StandardFontName = "Arial"; + customFont32.UseAntiAliasing = true; + customFont32.UseEmbeddedFont = true; + textGradient32.Font = customFont32; + textGradient32.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient32.Padding = 2; + labelTheme11.TextGradient = textGradient32; + this.label1.Theme = labelTheme11; // // panelUserInterface // @@ -2748,30 +2928,30 @@ private void InitializeComponent() this.panelUserInterface.Size = new System.Drawing.Size(627, 92); this.panelUserInterface.TabIndex = 103; this.panelUserInterface.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - backgroundGradient20.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient20.BorderWidth = 0; - backgroundGradient20.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient20.Color2 = System.Drawing.Color.Silver; - backgroundGradient20.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - panelTheme7.BackgroundGradient = backgroundGradient20; - textGradient60.BorderColor = System.Drawing.Color.DarkGray; - textGradient60.BorderWidth = 0; - textGradient60.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient60.Color2 = System.Drawing.Color.Silver; - customFont60.Color = System.Drawing.Color.Black; - customFont60.EmbeddedFontName = "Junction"; - customFont60.IsBold = false; - customFont60.IsItalic = false; - customFont60.IsUnderline = false; - customFont60.Size = 9F; - customFont60.StandardFontName = "Arial"; - customFont60.UseAntiAliasing = true; - customFont60.UseEmbeddedFont = true; - textGradient60.Font = customFont60; - textGradient60.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient60.Padding = 2; - panelTheme7.HeaderTextGradient = textGradient60; - this.panelUserInterface.Theme = panelTheme7; + backgroundGradient24.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient24.BorderWidth = 0; + backgroundGradient24.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient24.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient24.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme9.BackgroundGradient = backgroundGradient24; + textGradient62.BorderColor = System.Drawing.Color.DarkGray; + textGradient62.BorderWidth = 0; + textGradient62.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient62.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont62.Color = System.Drawing.Color.White; + customFont62.EmbeddedFontName = "Junction"; + customFont62.IsBold = false; + customFont62.IsItalic = false; + customFont62.IsUnderline = false; + customFont62.Size = 9F; + customFont62.StandardFontName = "Arial"; + customFont62.UseAntiAliasing = true; + customFont62.UseEmbeddedFont = true; + textGradient62.Font = customFont62; + textGradient62.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient62.Padding = 2; + panelTheme9.HeaderTextGradient = textGradient62; + this.panelUserInterface.Theme = panelTheme9; // // tableUserInterface // @@ -2798,14 +2978,14 @@ private void InitializeComponent() this.tableUserInterface.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableUserInterface.Size = new System.Drawing.Size(627, 72); this.tableUserInterface.TabIndex = 95; - backgroundGradient2.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient2.BorderWidth = 0; - backgroundGradient2.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient2.Color2 = System.Drawing.Color.Silver; - backgroundGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme2.BackgroundGradient = backgroundGradient2; - tableLayoutPanelTheme2.IsBackgroundTransparent = false; - this.tableUserInterface.Theme = tableLayoutPanelTheme2; + backgroundGradient3.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient3.BorderWidth = 0; + backgroundGradient3.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient3.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme3.BackgroundGradient = backgroundGradient3; + tableLayoutPanelTheme3.IsBackgroundTransparent = false; + this.tableUserInterface.Theme = tableLayoutPanelTheme3; // // chkShowTooltips // @@ -2874,30 +3054,30 @@ private void InitializeComponent() this.panelUpdateFrequency.Size = new System.Drawing.Size(627, 76); this.panelUpdateFrequency.TabIndex = 104; this.panelUpdateFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - backgroundGradient28.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient28.BorderWidth = 0; - backgroundGradient28.Color1 = System.Drawing.Color.Gainsboro; - backgroundGradient28.Color2 = System.Drawing.Color.DarkGray; - backgroundGradient28.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - panelTheme8.BackgroundGradient = backgroundGradient28; - textGradient65.BorderColor = System.Drawing.Color.DarkGray; - textGradient65.BorderWidth = 0; - textGradient65.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient65.Color2 = System.Drawing.Color.Silver; - customFont65.Color = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); - customFont65.EmbeddedFontName = "Junction"; - customFont65.IsBold = false; - customFont65.IsItalic = false; - customFont65.IsUnderline = false; - customFont65.Size = 9F; - customFont65.StandardFontName = "Arial"; - customFont65.UseAntiAliasing = true; - customFont65.UseEmbeddedFont = true; - textGradient65.Font = customFont65; - textGradient65.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient65.Padding = 2; - panelTheme8.HeaderTextGradient = textGradient65; - this.panelUpdateFrequency.Theme = panelTheme8; + backgroundGradient32.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient32.BorderWidth = 0; + backgroundGradient32.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient32.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient32.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme10.BackgroundGradient = backgroundGradient32; + textGradient67.BorderColor = System.Drawing.Color.DarkGray; + textGradient67.BorderWidth = 0; + textGradient67.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + textGradient67.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(88)))), ((int)(((byte)(101))))); + customFont67.Color = System.Drawing.Color.White; + customFont67.EmbeddedFontName = "Junction"; + customFont67.IsBold = false; + customFont67.IsItalic = false; + customFont67.IsUnderline = false; + customFont67.Size = 9F; + customFont67.StandardFontName = "Arial"; + customFont67.UseAntiAliasing = true; + customFont67.UseEmbeddedFont = true; + textGradient67.Font = customFont67; + textGradient67.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient67.Padding = 2; + panelTheme10.HeaderTextGradient = textGradient67; + this.panelUpdateFrequency.Theme = panelTheme10; // // tableUpdateFrequency // @@ -2929,14 +3109,14 @@ private void InitializeComponent() this.tableUpdateFrequency.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); this.tableUpdateFrequency.Size = new System.Drawing.Size(630, 56); this.tableUpdateFrequency.TabIndex = 113; - backgroundGradient27.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient27.BorderWidth = 0; - backgroundGradient27.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient27.Color2 = System.Drawing.Color.Silver; - backgroundGradient27.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme8.BackgroundGradient = backgroundGradient27; - tableLayoutPanelTheme8.IsBackgroundTransparent = false; - this.tableUpdateFrequency.Theme = tableLayoutPanelTheme8; + backgroundGradient31.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient31.BorderWidth = 0; + backgroundGradient31.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient31.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(234)))), ((int)(((byte)(240))))); + backgroundGradient31.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tableLayoutPanelTheme10.BackgroundGradient = backgroundGradient31; + tableLayoutPanelTheme10.IsBackgroundTransparent = false; + this.tableUpdateFrequency.Theme = tableLayoutPanelTheme10; // // lblPositionUpdateFrequencyMS // @@ -2952,23 +3132,23 @@ private void InitializeComponent() this.lblPositionUpdateFrequencyMS.Text = "ms"; this.lblPositionUpdateFrequencyMS.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme24.IsBackgroundTransparent = true; - textGradient61.BorderColor = System.Drawing.Color.DarkGray; - textGradient61.BorderWidth = 1; - textGradient61.Color1 = System.Drawing.Color.LightGray; - textGradient61.Color2 = System.Drawing.Color.Gray; - customFont61.Color = System.Drawing.Color.Black; - customFont61.EmbeddedFontName = "Junction"; - customFont61.IsBold = false; - customFont61.IsItalic = false; - customFont61.IsUnderline = false; - customFont61.Size = 8F; - customFont61.StandardFontName = "Arial"; - customFont61.UseAntiAliasing = true; - customFont61.UseEmbeddedFont = true; - textGradient61.Font = customFont61; - textGradient61.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient61.Padding = 2; - labelTheme24.TextGradient = textGradient61; + textGradient63.BorderColor = System.Drawing.Color.DarkGray; + textGradient63.BorderWidth = 1; + textGradient63.Color1 = System.Drawing.Color.LightGray; + textGradient63.Color2 = System.Drawing.Color.Gray; + customFont63.Color = System.Drawing.Color.Black; + customFont63.EmbeddedFontName = "Junction"; + customFont63.IsBold = false; + customFont63.IsItalic = false; + customFont63.IsUnderline = false; + customFont63.Size = 8F; + customFont63.StandardFontName = "Arial"; + customFont63.UseAntiAliasing = true; + customFont63.UseEmbeddedFont = true; + textGradient63.Font = customFont63; + textGradient63.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient63.Padding = 2; + labelTheme24.TextGradient = textGradient63; this.lblPositionUpdateFrequencyMS.Theme = labelTheme24; // // lblOutputMeterUpdateFrequencyMS @@ -2985,23 +3165,23 @@ private void InitializeComponent() this.lblOutputMeterUpdateFrequencyMS.Text = "ms"; this.lblOutputMeterUpdateFrequencyMS.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme25.IsBackgroundTransparent = true; - textGradient62.BorderColor = System.Drawing.Color.DarkGray; - textGradient62.BorderWidth = 1; - textGradient62.Color1 = System.Drawing.Color.LightGray; - textGradient62.Color2 = System.Drawing.Color.Gray; - customFont62.Color = System.Drawing.Color.Black; - customFont62.EmbeddedFontName = "Junction"; - customFont62.IsBold = false; - customFont62.IsItalic = false; - customFont62.IsUnderline = false; - customFont62.Size = 8F; - customFont62.StandardFontName = "Arial"; - customFont62.UseAntiAliasing = true; - customFont62.UseEmbeddedFont = true; - textGradient62.Font = customFont62; - textGradient62.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient62.Padding = 2; - labelTheme25.TextGradient = textGradient62; + textGradient64.BorderColor = System.Drawing.Color.DarkGray; + textGradient64.BorderWidth = 1; + textGradient64.Color1 = System.Drawing.Color.LightGray; + textGradient64.Color2 = System.Drawing.Color.Gray; + customFont64.Color = System.Drawing.Color.Black; + customFont64.EmbeddedFontName = "Junction"; + customFont64.IsBold = false; + customFont64.IsItalic = false; + customFont64.IsUnderline = false; + customFont64.Size = 8F; + customFont64.StandardFontName = "Arial"; + customFont64.UseAntiAliasing = true; + customFont64.UseEmbeddedFont = true; + textGradient64.Font = customFont64; + textGradient64.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient64.Padding = 2; + labelTheme25.TextGradient = textGradient64; this.lblOutputMeterUpdateFrequencyMS.Theme = labelTheme25; // // lblOutputMeterUpdateFrequencyEvery @@ -3018,23 +3198,23 @@ private void InitializeComponent() this.lblOutputMeterUpdateFrequencyEvery.Text = "every"; this.lblOutputMeterUpdateFrequencyEvery.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme26.IsBackgroundTransparent = true; - textGradient63.BorderColor = System.Drawing.Color.DarkGray; - textGradient63.BorderWidth = 1; - textGradient63.Color1 = System.Drawing.Color.LightGray; - textGradient63.Color2 = System.Drawing.Color.Gray; - customFont63.Color = System.Drawing.Color.Black; - customFont63.EmbeddedFontName = "Junction"; - customFont63.IsBold = false; - customFont63.IsItalic = false; - customFont63.IsUnderline = false; - customFont63.Size = 8F; - customFont63.StandardFontName = "Arial"; - customFont63.UseAntiAliasing = true; - customFont63.UseEmbeddedFont = true; - textGradient63.Font = customFont63; - textGradient63.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient63.Padding = 2; - labelTheme26.TextGradient = textGradient63; + textGradient65.BorderColor = System.Drawing.Color.DarkGray; + textGradient65.BorderWidth = 1; + textGradient65.Color1 = System.Drawing.Color.LightGray; + textGradient65.Color2 = System.Drawing.Color.Gray; + customFont65.Color = System.Drawing.Color.Black; + customFont65.EmbeddedFontName = "Junction"; + customFont65.IsBold = false; + customFont65.IsItalic = false; + customFont65.IsUnderline = false; + customFont65.Size = 8F; + customFont65.StandardFontName = "Arial"; + customFont65.UseAntiAliasing = true; + customFont65.UseEmbeddedFont = true; + textGradient65.Font = customFont65; + textGradient65.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient65.Padding = 2; + labelTheme26.TextGradient = textGradient65; this.lblOutputMeterUpdateFrequencyEvery.Theme = labelTheme26; // // numericOutputMeterUpdateFrequency @@ -3091,23 +3271,23 @@ private void InitializeComponent() this.lblPositionUpdateFrequencyEvery.Text = "every"; this.lblPositionUpdateFrequencyEvery.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme27.IsBackgroundTransparent = true; - textGradient64.BorderColor = System.Drawing.Color.DarkGray; - textGradient64.BorderWidth = 1; - textGradient64.Color1 = System.Drawing.Color.LightGray; - textGradient64.Color2 = System.Drawing.Color.Gray; - customFont64.Color = System.Drawing.Color.Black; - customFont64.EmbeddedFontName = "Junction"; - customFont64.IsBold = false; - customFont64.IsItalic = false; - customFont64.IsUnderline = false; - customFont64.Size = 8F; - customFont64.StandardFontName = "Arial"; - customFont64.UseAntiAliasing = true; - customFont64.UseEmbeddedFont = true; - textGradient64.Font = customFont64; - textGradient64.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient64.Padding = 2; - labelTheme27.TextGradient = textGradient64; + textGradient66.BorderColor = System.Drawing.Color.DarkGray; + textGradient66.BorderWidth = 1; + textGradient66.Color1 = System.Drawing.Color.LightGray; + textGradient66.Color2 = System.Drawing.Color.Gray; + customFont66.Color = System.Drawing.Color.Black; + customFont66.EmbeddedFontName = "Junction"; + customFont66.IsBold = false; + customFont66.IsItalic = false; + customFont66.IsUnderline = false; + customFont66.Size = 8F; + customFont66.StandardFontName = "Arial"; + customFont66.UseAntiAliasing = true; + customFont66.UseEmbeddedFont = true; + textGradient66.Font = customFont66; + textGradient66.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient66.Padding = 2; + labelTheme27.TextGradient = textGradient66; this.lblPositionUpdateFrequencyEvery.Theme = labelTheme27; // // trackOutputMeterUpdateFrequency @@ -3122,26 +3302,26 @@ private void InitializeComponent() this.trackOutputMeterUpdateFrequency.Size = new System.Drawing.Size(194, 22); this.trackOutputMeterUpdateFrequency.StepSize = 5; this.trackOutputMeterUpdateFrequency.TabIndex = 110; - backgroundGradient21.BorderColor = System.Drawing.Color.Gray; - backgroundGradient21.BorderWidth = 1; - backgroundGradient21.Color1 = System.Drawing.Color.LightGray; - backgroundGradient21.Color2 = System.Drawing.Color.Gray; - backgroundGradient21.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - trackBarTheme3.BackgroundGradient = backgroundGradient21; + backgroundGradient25.BorderColor = System.Drawing.Color.Gray; + backgroundGradient25.BorderWidth = 1; + backgroundGradient25.Color1 = System.Drawing.Color.LightGray; + backgroundGradient25.Color2 = System.Drawing.Color.Gray; + backgroundGradient25.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + trackBarTheme3.BackgroundGradient = backgroundGradient25; trackBarTheme3.CenterLineColor = System.Drawing.Color.DimGray; trackBarTheme3.CenterLineShadowColor = System.Drawing.Color.Silver; - backgroundGradient22.BorderColor = System.Drawing.Color.Gray; - backgroundGradient22.BorderWidth = 0; - backgroundGradient22.Color1 = System.Drawing.Color.White; - backgroundGradient22.Color2 = System.Drawing.Color.WhiteSmoke; - backgroundGradient22.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; - trackBarTheme3.FaderGradient = backgroundGradient22; - backgroundGradient23.BorderColor = System.Drawing.Color.Gray; - backgroundGradient23.BorderWidth = 0; - backgroundGradient23.Color1 = System.Drawing.Color.Gainsboro; - backgroundGradient23.Color2 = System.Drawing.Color.DarkGray; - backgroundGradient23.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; - trackBarTheme3.FaderShadowGradient = backgroundGradient23; + backgroundGradient26.BorderColor = System.Drawing.Color.Gray; + backgroundGradient26.BorderWidth = 0; + backgroundGradient26.Color1 = System.Drawing.Color.White; + backgroundGradient26.Color2 = System.Drawing.Color.WhiteSmoke; + backgroundGradient26.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; + trackBarTheme3.FaderGradient = backgroundGradient26; + backgroundGradient27.BorderColor = System.Drawing.Color.Gray; + backgroundGradient27.BorderWidth = 0; + backgroundGradient27.Color1 = System.Drawing.Color.Gainsboro; + backgroundGradient27.Color2 = System.Drawing.Color.DarkGray; + backgroundGradient27.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; + trackBarTheme3.FaderShadowGradient = backgroundGradient27; trackBarTheme3.IsBackgroundTransparent = true; this.trackOutputMeterUpdateFrequency.Theme = trackBarTheme3; this.trackOutputMeterUpdateFrequency.Value = 20; @@ -3159,211 +3339,31 @@ private void InitializeComponent() this.trackPositionUpdateFrequency.Size = new System.Drawing.Size(194, 22); this.trackPositionUpdateFrequency.StepSize = 5; this.trackPositionUpdateFrequency.TabIndex = 106; - backgroundGradient24.BorderColor = System.Drawing.Color.Gray; - backgroundGradient24.BorderWidth = 1; - backgroundGradient24.Color1 = System.Drawing.Color.LightGray; - backgroundGradient24.Color2 = System.Drawing.Color.Gray; - backgroundGradient24.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - trackBarTheme4.BackgroundGradient = backgroundGradient24; + backgroundGradient28.BorderColor = System.Drawing.Color.Gray; + backgroundGradient28.BorderWidth = 1; + backgroundGradient28.Color1 = System.Drawing.Color.LightGray; + backgroundGradient28.Color2 = System.Drawing.Color.Gray; + backgroundGradient28.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + trackBarTheme4.BackgroundGradient = backgroundGradient28; trackBarTheme4.CenterLineColor = System.Drawing.Color.DimGray; trackBarTheme4.CenterLineShadowColor = System.Drawing.Color.Silver; - backgroundGradient25.BorderColor = System.Drawing.Color.Gray; - backgroundGradient25.BorderWidth = 0; - backgroundGradient25.Color1 = System.Drawing.Color.White; - backgroundGradient25.Color2 = System.Drawing.Color.WhiteSmoke; - backgroundGradient25.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; - trackBarTheme4.FaderGradient = backgroundGradient25; - backgroundGradient26.BorderColor = System.Drawing.Color.Gray; - backgroundGradient26.BorderWidth = 0; - backgroundGradient26.Color1 = System.Drawing.Color.Gainsboro; - backgroundGradient26.Color2 = System.Drawing.Color.DarkGray; - backgroundGradient26.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; - trackBarTheme4.FaderShadowGradient = backgroundGradient26; + backgroundGradient29.BorderColor = System.Drawing.Color.Gray; + backgroundGradient29.BorderWidth = 0; + backgroundGradient29.Color1 = System.Drawing.Color.White; + backgroundGradient29.Color2 = System.Drawing.Color.WhiteSmoke; + backgroundGradient29.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; + trackBarTheme4.FaderGradient = backgroundGradient29; + backgroundGradient30.BorderColor = System.Drawing.Color.Gray; + backgroundGradient30.BorderWidth = 0; + backgroundGradient30.Color1 = System.Drawing.Color.Gainsboro; + backgroundGradient30.Color2 = System.Drawing.Color.DarkGray; + backgroundGradient30.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; + trackBarTheme4.FaderShadowGradient = backgroundGradient30; trackBarTheme4.IsBackgroundTransparent = true; this.trackPositionUpdateFrequency.Theme = trackBarTheme4; this.trackPositionUpdateFrequency.Value = 10; this.trackPositionUpdateFrequency.OnTrackBarValueChanged += new MPfm.WindowsControls.TrackBar.TrackBarValueChanged(this.trackPositionUpdateFrequency_OnTrackBarValueChanged); // - // panelLibrarySettings - // - this.panelLibrarySettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.panelLibrarySettings.Controls.Add(this.tableLibrarySettings); - this.panelLibrarySettings.ExpandedHeight = 200; - this.panelLibrarySettings.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.panelLibrarySettings.HeaderAutoSize = true; - this.panelLibrarySettings.HeaderExpandable = false; - this.panelLibrarySettings.HeaderExpanded = true; - this.panelLibrarySettings.HeaderHeight = 30; - this.panelLibrarySettings.HeaderTextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.panelLibrarySettings.HeaderTitle = "Library Settings"; - this.panelLibrarySettings.Location = new System.Drawing.Point(0, 26); - this.panelLibrarySettings.Margin = new System.Windows.Forms.Padding(0); - this.panelLibrarySettings.Name = "panelLibrarySettings"; - this.panelLibrarySettings.Size = new System.Drawing.Size(639, 494); - this.panelLibrarySettings.TabIndex = 17; - this.panelLibrarySettings.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - backgroundGradient34.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient34.BorderWidth = 0; - backgroundGradient34.Color1 = System.Drawing.Color.LightGray; - backgroundGradient34.Color2 = System.Drawing.Color.Gray; - backgroundGradient34.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - panelTheme11.BackgroundGradient = backgroundGradient34; - textGradient68.BorderColor = System.Drawing.Color.DarkGray; - textGradient68.BorderWidth = 0; - textGradient68.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient68.Color2 = System.Drawing.Color.DarkGray; - customFont68.Color = System.Drawing.Color.Black; - customFont68.EmbeddedFontName = "Junction"; - customFont68.IsBold = false; - customFont68.IsItalic = false; - customFont68.IsUnderline = false; - customFont68.Size = 11F; - customFont68.StandardFontName = "Arial"; - customFont68.UseAntiAliasing = true; - customFont68.UseEmbeddedFont = true; - textGradient68.Font = customFont68; - textGradient68.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient68.Padding = 2; - panelTheme11.HeaderTextGradient = textGradient68; - this.panelLibrarySettings.Theme = panelTheme11; - // - // tableLibrarySettings - // - this.tableLibrarySettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tableLibrarySettings.BackColor = System.Drawing.Color.DimGray; - this.tableLibrarySettings.ColumnCount = 1; - this.tableLibrarySettings.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLibrarySettings.Controls.Add(this.panelLibrarySettingsFolders, 0, 0); - this.tableLibrarySettings.Location = new System.Drawing.Point(0, 30); - this.tableLibrarySettings.Name = "tableLibrarySettings"; - this.tableLibrarySettings.RowCount = 1; - this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLibrarySettings.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLibrarySettings.Size = new System.Drawing.Size(639, 464); - this.tableLibrarySettings.TabIndex = 107; - backgroundGradient33.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient33.BorderWidth = 0; - backgroundGradient33.Color1 = System.Drawing.Color.Gray; - backgroundGradient33.Color2 = System.Drawing.Color.DimGray; - backgroundGradient33.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme11.BackgroundGradient = backgroundGradient33; - tableLayoutPanelTheme11.IsBackgroundTransparent = false; - this.tableLibrarySettings.Theme = tableLayoutPanelTheme11; - // - // panelLibrarySettingsFolders - // - this.panelLibrarySettingsFolders.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.panelLibrarySettingsFolders.Controls.Add(this.tableLibrarySettingsFolders); - this.panelLibrarySettingsFolders.Dock = System.Windows.Forms.DockStyle.Fill; - this.panelLibrarySettingsFolders.ExpandedHeight = 200; - this.panelLibrarySettingsFolders.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.panelLibrarySettingsFolders.HeaderAutoSize = true; - this.panelLibrarySettingsFolders.HeaderExpandable = false; - this.panelLibrarySettingsFolders.HeaderExpanded = true; - this.panelLibrarySettingsFolders.HeaderHeight = 20; - this.panelLibrarySettingsFolders.HeaderTextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.panelLibrarySettingsFolders.HeaderTitle = "Folders"; - this.panelLibrarySettingsFolders.Location = new System.Drawing.Point(6, 6); - this.panelLibrarySettingsFolders.Margin = new System.Windows.Forms.Padding(6); - this.panelLibrarySettingsFolders.Name = "panelLibrarySettingsFolders"; - this.panelLibrarySettingsFolders.Size = new System.Drawing.Size(627, 452); - this.panelLibrarySettingsFolders.TabIndex = 103; - this.panelLibrarySettingsFolders.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - backgroundGradient32.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient32.BorderWidth = 0; - backgroundGradient32.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient32.Color2 = System.Drawing.Color.Silver; - backgroundGradient32.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - panelTheme10.BackgroundGradient = backgroundGradient32; - textGradient67.BorderColor = System.Drawing.Color.DarkGray; - textGradient67.BorderWidth = 0; - textGradient67.Color1 = System.Drawing.Color.WhiteSmoke; - textGradient67.Color2 = System.Drawing.Color.Silver; - customFont67.Color = System.Drawing.Color.Black; - customFont67.EmbeddedFontName = "Junction"; - customFont67.IsBold = false; - customFont67.IsItalic = false; - customFont67.IsUnderline = false; - customFont67.Size = 9F; - customFont67.StandardFontName = "Arial"; - customFont67.UseAntiAliasing = true; - customFont67.UseEmbeddedFont = true; - textGradient67.Font = customFont67; - textGradient67.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient67.Padding = 2; - panelTheme10.HeaderTextGradient = textGradient67; - this.panelLibrarySettingsFolders.Theme = panelTheme10; - // - // tableLibrarySettingsFolders - // - this.tableLibrarySettingsFolders.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tableLibrarySettingsFolders.AutoSize = true; - this.tableLibrarySettingsFolders.BackColor = System.Drawing.Color.Transparent; - this.tableLibrarySettingsFolders.ColumnCount = 4; - this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLibrarySettingsFolders.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLibrarySettingsFolders.Controls.Add(this.listViewFolders, 0, 1); - this.tableLibrarySettingsFolders.Controls.Add(this.btnResetLibrary, 2, 0); - this.tableLibrarySettingsFolders.Controls.Add(this.btnAddFolder, 0, 0); - this.tableLibrarySettingsFolders.Controls.Add(this.btnRemoveFolder, 1, 0); - this.tableLibrarySettingsFolders.Location = new System.Drawing.Point(0, 20); - this.tableLibrarySettingsFolders.Name = "tableLibrarySettingsFolders"; - this.tableLibrarySettingsFolders.RowCount = 2; - this.tableLibrarySettingsFolders.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLibrarySettingsFolders.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLibrarySettingsFolders.Size = new System.Drawing.Size(627, 432); - this.tableLibrarySettingsFolders.TabIndex = 95; - backgroundGradient31.BorderColor = System.Drawing.Color.DarkGray; - backgroundGradient31.BorderWidth = 0; - backgroundGradient31.Color1 = System.Drawing.Color.WhiteSmoke; - backgroundGradient31.Color2 = System.Drawing.Color.Silver; - backgroundGradient31.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - tableLayoutPanelTheme10.BackgroundGradient = backgroundGradient31; - tableLayoutPanelTheme10.IsBackgroundTransparent = false; - this.tableLibrarySettingsFolders.Theme = tableLayoutPanelTheme10; - // - // listViewFolders - // - this.listViewFolders.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.listViewFolders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnPath, - this.columnRecursive}); - this.tableLibrarySettingsFolders.SetColumnSpan(this.listViewFolders, 4); - this.listViewFolders.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.listViewFolders.FullRowSelect = true; - this.listViewFolders.GridLines = true; - this.listViewFolders.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; - this.listViewFolders.Location = new System.Drawing.Point(6, 38); - this.listViewFolders.Margin = new System.Windows.Forms.Padding(6, 3, 6, 6); - this.listViewFolders.Name = "listViewFolders"; - this.listViewFolders.ShowGroups = false; - this.listViewFolders.Size = new System.Drawing.Size(615, 388); - this.listViewFolders.TabIndex = 68; - this.listViewFolders.UseCompatibleStateImageBehavior = false; - this.listViewFolders.View = System.Windows.Forms.View.Details; - // - // columnPath - // - this.columnPath.Text = "Path"; - this.columnPath.Width = 270; - // - // columnRecursive - // - this.columnRecursive.Text = "Recursive"; - this.columnRecursive.Width = 173; - // // flowToolbar // this.flowToolbar.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -3380,8 +3380,8 @@ private void InitializeComponent() this.flowToolbar.TabIndex = 66; backgroundGradient35.BorderColor = System.Drawing.Color.DarkGray; backgroundGradient35.BorderWidth = 0; - backgroundGradient35.Color1 = System.Drawing.Color.LightGray; - backgroundGradient35.Color2 = System.Drawing.Color.Gray; + backgroundGradient35.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + backgroundGradient35.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); backgroundGradient35.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; flowLayoutPanelTheme1.BackgroundGradient = backgroundGradient35; flowLayoutPanelTheme1.IsBackgroundTransparent = false; @@ -3424,6 +3424,11 @@ private void InitializeComponent() this.panelAudioSettingsMixerASIO.ResumeLayout(false); this.panelAudioSettingsMixerASIO.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); + this.panelLibrarySettings.ResumeLayout(false); + this.tableLibrarySettings.ResumeLayout(false); + this.panelLibrarySettingsFolders.ResumeLayout(false); + this.panelLibrarySettingsFolders.PerformLayout(); + this.tableLibrarySettingsFolders.ResumeLayout(false); this.panelGeneralSettings.ResumeLayout(false); this.tableGeneralSettings.ResumeLayout(false); this.panelPeakFiles.ResumeLayout(false); @@ -3439,11 +3444,6 @@ private void InitializeComponent() this.tableUpdateFrequency.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericOutputMeterUpdateFrequency)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericPositionUpdateFrequency)).EndInit(); - this.panelLibrarySettings.ResumeLayout(false); - this.tableLibrarySettings.ResumeLayout(false); - this.panelLibrarySettingsFolders.ResumeLayout(false); - this.panelLibrarySettingsFolders.PerformLayout(); - this.tableLibrarySettingsFolders.ResumeLayout(false); this.flowToolbar.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSplash.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSplash.cs index 25a50bb6..ed32b3a2 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSplash.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSplash.cs @@ -154,23 +154,23 @@ public static void HideSplash() windowSplash.fadingOut = true; } - /// - /// Sets the status message of the splash screen. - /// - /// Status Message - public static void SetStatus(string status) - { - windowSplash.status = status; - } - - /// - /// Sets an error message on the splash screen. - /// - /// Error Message - public static void SetError(string error) - { - windowSplash.error = error; - } + ///// + ///// Sets the status message of the splash screen. + ///// + ///// Status Message + //public static void SetStatus(string status) + //{ + // windowSplash.status = status; + //} + + ///// + ///// Sets an error message on the splash screen. + ///// + ///// Error Message + //public static void SetError(string error) + //{ + // windowSplash.error = error; + //} #endregion diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSync.Designer.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSync.Designer.cs index 026ce293..68386354 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSync.Designer.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSync.Designer.cs @@ -168,7 +168,7 @@ private void InitializeComponent() this.lblTitle.Location = new System.Drawing.Point(10, 6); this.lblTitle.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); this.lblTitle.Name = "lblTitle"; - this.lblTitle.Size = new System.Drawing.Size(402, 22); + this.lblTitle.Size = new System.Drawing.Size(233, 22); this.lblTitle.TabIndex = 108; this.lblTitle.Text = "Sync Library With Other Devices"; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -200,7 +200,7 @@ private void InitializeComponent() this.lblSubtitle.Location = new System.Drawing.Point(10, 25); this.lblSubtitle.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); this.lblSubtitle.Name = "lblSubtitle"; - this.lblSubtitle.Size = new System.Drawing.Size(402, 22); + this.lblSubtitle.Size = new System.Drawing.Size(233, 22); this.lblSubtitle.TabIndex = 107; this.lblSubtitle.Text = "My IP address is:"; this.lblSubtitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -226,19 +226,19 @@ private void InitializeComponent() // // btnConnectManual // - this.btnConnectManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnConnectManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnConnectManual.Cursor = System.Windows.Forms.Cursors.Hand; this.btnConnectManual.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnConnectManual.Image = null; + this.btnConnectManual.Image = global::MPfm.Windows.Properties.Resources.icon_button_connect_16; this.btnConnectManual.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnConnectManual.IsAutoSized = true; - this.btnConnectManual.Location = new System.Drawing.Point(446, 21); + this.btnConnectManual.Location = new System.Drawing.Point(291, 213); this.btnConnectManual.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.btnConnectManual.Name = "btnConnectManual"; - this.btnConnectManual.Size = new System.Drawing.Size(168, 26); + this.btnConnectManual.Size = new System.Drawing.Size(190, 28); this.btnConnectManual.TabIndex = 96; this.btnConnectManual.Text = "Connect manually to a device"; - this.btnConnectManual.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.btnConnectManual.TextAlign = System.Drawing.ContentAlignment.MiddleRight; textGradient3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient3.BorderWidth = 1; textGradient3.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); @@ -301,7 +301,7 @@ private void InitializeComponent() this.btnRefreshDevices.Image = global::MPfm.Windows.Properties.Resources.icon_button_cancel_16; this.btnRefreshDevices.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnRefreshDevices.IsAutoSized = true; - this.btnRefreshDevices.Location = new System.Drawing.Point(13, 210); + this.btnRefreshDevices.Location = new System.Drawing.Point(13, 213); this.btnRefreshDevices.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); this.btnRefreshDevices.Name = "btnRefreshDevices"; this.btnRefreshDevices.Size = new System.Drawing.Size(113, 28); @@ -364,11 +364,10 @@ private void InitializeComponent() // // progressBar // - this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.progressBar.Location = new System.Drawing.Point(139, 214); + this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.progressBar.Location = new System.Drawing.Point(474, 25); this.progressBar.Name = "progressBar"; - this.progressBar.Size = new System.Drawing.Size(331, 21); + this.progressBar.Size = new System.Drawing.Size(141, 18); this.progressBar.TabIndex = 95; // // btnConnect @@ -379,7 +378,7 @@ private void InitializeComponent() this.btnConnect.Image = global::MPfm.Windows.Properties.Resources.icon_button_connect_16; this.btnConnect.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnConnect.IsAutoSized = true; - this.btnConnect.Location = new System.Drawing.Point(484, 210); + this.btnConnect.Location = new System.Drawing.Point(484, 213); this.btnConnect.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.btnConnect.Name = "btnConnect"; this.btnConnect.Size = new System.Drawing.Size(131, 28); diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSync.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSync.cs index 61943f87..c5904b77 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSync.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSync.cs @@ -21,6 +21,7 @@ using System.Data; using System.Drawing; using System.Linq; +using System.Reflection; using System.Text; using System.Windows.Forms; using System.Windows.Threading; @@ -31,6 +32,8 @@ namespace MPfm.Windows.Classes.Forms { public partial class frmSync : BaseForm, ISyncView { + bool _isDiscovering; + public frmSync(Action onViewReady) : base(onViewReady) { @@ -38,6 +41,21 @@ public frmSync(Action onViewReady) ViewIsReady(); } + private void RefreshDeviceListButton() + { + //string[] all = System.Reflection.Assembly.GetEntryAssembly().GetManifestResourceNames(); + if (_isDiscovering) + { + btnRefreshDevices.Image = new Bitmap(MPfm.Windows.Properties.Resources.icon_button_cancel_16); //Assembly.GetEntryAssembly().GetManifestResourceStream("MPfm.Windows.Resources.icon_button_cancel_16.png")); + btnRefreshDevices.Text = "Cancel refresh"; + } + else + { + btnRefreshDevices.Image = new Bitmap(MPfm.Windows.Properties.Resources.icon_button_refresh_16);//(Assembly.GetEntryAssembly().GetManifestResourceStream("MPfm.Windows.Resources.icon_button_refresh_16.png")); + btnRefreshDevices.Text = "Refresh devices"; + } + } + private void btnConnect_Click(object sender, EventArgs e) { if (listView.SelectedItems.Count == 0) @@ -54,7 +72,10 @@ private void btnConnectManual_Click(object sender, EventArgs e) private void btnRefreshDevices_Click(object sender, EventArgs e) { - + if (_isDiscovering) + OnCancelDiscovery(); + else + OnStartDiscovery(); } #region ISyncView implementation @@ -90,7 +111,13 @@ public void RefreshIPAddress(string address) public void RefreshDiscoveryProgress(float percentageDone, string status) { - MethodInvoker methodUIUpdate = delegate { + MethodInvoker methodUIUpdate = delegate { + if (!_isDiscovering) + { + _isDiscovering = true; + progressBar.Visible = true; + RefreshDeviceListButton(); + } progressBar.Value = (int)percentageDone; }; @@ -103,11 +130,13 @@ public void RefreshDiscoveryProgress(float percentageDone, string status) public void RefreshDevices(IEnumerable devices) { MethodInvoker methodUIUpdate = delegate { + listView.BeginUpdate(); listView.Items.Clear(); foreach (var device in devices) listView.Items.Add(new ListViewItem(device.Name, (int)device.DeviceType) { Tag = device }); + listView.EndUpdate(); }; if (InvokeRequired) @@ -118,6 +147,16 @@ public void RefreshDevices(IEnumerable devices) public void RefreshDevicesEnded() { + MethodInvoker methodUIUpdate = delegate { + _isDiscovering = false; + progressBar.Visible = false; + RefreshDeviceListButton(); + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); } public void SyncDevice(SyncDevice device) diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSync.resx b/MPfm/MPfm.Windows/Classes/Forms/frmSync.resx index a70c9fdf..d0695f25 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSync.resx +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSync.resx @@ -125,7 +125,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACA - DQAAAk1TRnQBSQFMAgEBBgEAAUgBAAFIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + DQAAAk1TRnQBSQFMAgEBBgEAAWABAAFgAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.Designer.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.Designer.cs index 2796c675..954067b1 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.Designer.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.Designer.cs @@ -28,13 +28,423 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSyncDownload)); + MPfm.WindowsControls.PanelTheme panelTheme1 = new MPfm.WindowsControls.PanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient1 = new MPfm.WindowsControls.BackgroundGradient(); + MPfm.WindowsControls.TextGradient textGradient11 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont11 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme1 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient1 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont1 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme2 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient2 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont2 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme3 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient3 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont3 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme4 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient4 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont4 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme5 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient5 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont5 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme6 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient6 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont6 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme7 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient7 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont7 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.ButtonTheme buttonTheme1 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.TextGradient textGradient8 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont8 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient9 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont9 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient10 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont10 = new MPfm.WindowsControls.CustomFont(); + this.imageListIcons = new System.Windows.Forms.ImageList(this.components); + this.panelBackground = new MPfm.WindowsControls.Panel(); + this.label4 = new MPfm.WindowsControls.Label(); + this.label5 = new MPfm.WindowsControls.Label(); + this.lblDownloadSpeedValue = new MPfm.WindowsControls.Label(); + this.label2 = new MPfm.WindowsControls.Label(); + this.lblStatus = new MPfm.WindowsControls.Label(); + this.lblTitle = new MPfm.WindowsControls.Label(); + this.lblSubtitle = new MPfm.WindowsControls.Label(); + this.btnCancel = new MPfm.WindowsControls.Button(); + this.progressBar = new System.Windows.Forms.ProgressBar(); + this.panelBackground.SuspendLayout(); this.SuspendLayout(); // + // imageListIcons + // + this.imageListIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListIcons.ImageStream"))); + this.imageListIcons.TransparentColor = System.Drawing.Color.Transparent; + this.imageListIcons.Images.SetKeyName(0, "icon_tablet_16.png"); + this.imageListIcons.Images.SetKeyName(1, "icon_linux_16.png"); + this.imageListIcons.Images.SetKeyName(2, "icon_osx_16.png"); + this.imageListIcons.Images.SetKeyName(3, "icon_windows_16.png"); + this.imageListIcons.Images.SetKeyName(4, "icon_phone_16.png"); + this.imageListIcons.Images.SetKeyName(5, "icon_android_16.png"); + // + // panelBackground + // + this.panelBackground.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.panelBackground.Controls.Add(this.label4); + this.panelBackground.Controls.Add(this.label5); + this.panelBackground.Controls.Add(this.lblDownloadSpeedValue); + this.panelBackground.Controls.Add(this.label2); + this.panelBackground.Controls.Add(this.lblStatus); + this.panelBackground.Controls.Add(this.lblTitle); + this.panelBackground.Controls.Add(this.lblSubtitle); + this.panelBackground.Controls.Add(this.btnCancel); + this.panelBackground.Controls.Add(this.progressBar); + this.panelBackground.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelBackground.ExpandedHeight = 200; + this.panelBackground.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.panelBackground.HeaderAutoSize = true; + this.panelBackground.HeaderExpandable = false; + this.panelBackground.HeaderHeight = 0; + this.panelBackground.HeaderTextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.panelBackground.HeaderTitle = "Devices"; + this.panelBackground.Location = new System.Drawing.Point(0, 0); + this.panelBackground.Margin = new System.Windows.Forms.Padding(6, 6, 6, 0); + this.panelBackground.Name = "panelBackground"; + this.panelBackground.Size = new System.Drawing.Size(398, 288); + this.panelBackground.TabIndex = 104; + this.panelBackground.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + backgroundGradient1.BorderColor = System.Drawing.Color.DarkGray; + backgroundGradient1.BorderWidth = 0; + backgroundGradient1.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + backgroundGradient1.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); + backgroundGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + panelTheme1.BackgroundGradient = backgroundGradient1; + textGradient11.BorderColor = System.Drawing.Color.DarkGray; + textGradient11.BorderWidth = 0; + textGradient11.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + textGradient11.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + customFont11.Color = System.Drawing.Color.Black; + customFont11.EmbeddedFontName = "Junction"; + customFont11.IsBold = false; + customFont11.IsItalic = false; + customFont11.IsUnderline = false; + customFont11.Size = 9F; + customFont11.StandardFontName = "Arial"; + customFont11.UseAntiAliasing = true; + customFont11.UseEmbeddedFont = true; + textGradient11.Font = customFont11; + textGradient11.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient11.Padding = 2; + panelTheme1.HeaderTextGradient = textGradient11; + this.panelBackground.Theme = panelTheme1; + // + // label4 + // + this.label4.BackColor = System.Drawing.Color.Transparent; + this.label4.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.IsAutoSized = false; + this.label4.Location = new System.Drawing.Point(137, 146); + this.label4.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(124, 22); + this.label4.TabIndex = 113; + this.label4.Text = "547"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme1.IsBackgroundTransparent = true; + textGradient1.BorderColor = System.Drawing.Color.DarkGray; + textGradient1.BorderWidth = 1; + textGradient1.Color1 = System.Drawing.Color.LightGray; + textGradient1.Color2 = System.Drawing.Color.Gray; + customFont1.Color = System.Drawing.Color.White; + customFont1.EmbeddedFontName = "Junction"; + customFont1.IsBold = false; + customFont1.IsItalic = false; + customFont1.IsUnderline = false; + customFont1.Size = 13F; + customFont1.StandardFontName = "Arial"; + customFont1.UseAntiAliasing = true; + customFont1.UseEmbeddedFont = true; + textGradient1.Font = customFont1; + textGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient1.Padding = 2; + labelTheme1.TextGradient = textGradient1; + this.label4.Theme = labelTheme1; + // + // label5 + // + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.IsAutoSized = false; + this.label5.Location = new System.Drawing.Point(137, 166); + this.label5.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(124, 22); + this.label5.TabIndex = 112; + this.label5.Text = "files to download"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme2.IsBackgroundTransparent = true; + textGradient2.BorderColor = System.Drawing.Color.DarkGray; + textGradient2.BorderWidth = 1; + textGradient2.Color1 = System.Drawing.Color.LightGray; + textGradient2.Color2 = System.Drawing.Color.Gray; + customFont2.Color = System.Drawing.Color.LightGray; + customFont2.EmbeddedFontName = "Junction"; + customFont2.IsBold = false; + customFont2.IsItalic = false; + customFont2.IsUnderline = false; + customFont2.Size = 9F; + customFont2.StandardFontName = "Arial"; + customFont2.UseAntiAliasing = true; + customFont2.UseEmbeddedFont = true; + textGradient2.Font = customFont2; + textGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient2.Padding = 2; + labelTheme2.TextGradient = textGradient2; + this.label5.Theme = labelTheme2; + // + // lblDownloadSpeedValue + // + this.lblDownloadSpeedValue.BackColor = System.Drawing.Color.Transparent; + this.lblDownloadSpeedValue.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblDownloadSpeedValue.IsAutoSized = false; + this.lblDownloadSpeedValue.Location = new System.Drawing.Point(10, 146); + this.lblDownloadSpeedValue.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblDownloadSpeedValue.Name = "lblDownloadSpeedValue"; + this.lblDownloadSpeedValue.Size = new System.Drawing.Size(124, 22); + this.lblDownloadSpeedValue.TabIndex = 111; + this.lblDownloadSpeedValue.Text = "4302 kb/s"; + this.lblDownloadSpeedValue.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme3.IsBackgroundTransparent = true; + textGradient3.BorderColor = System.Drawing.Color.DarkGray; + textGradient3.BorderWidth = 1; + textGradient3.Color1 = System.Drawing.Color.LightGray; + textGradient3.Color2 = System.Drawing.Color.Gray; + customFont3.Color = System.Drawing.Color.White; + customFont3.EmbeddedFontName = "Junction"; + customFont3.IsBold = false; + customFont3.IsItalic = false; + customFont3.IsUnderline = false; + customFont3.Size = 13F; + customFont3.StandardFontName = "Arial"; + customFont3.UseAntiAliasing = true; + customFont3.UseEmbeddedFont = true; + textGradient3.Font = customFont3; + textGradient3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient3.Padding = 2; + labelTheme3.TextGradient = textGradient3; + this.lblDownloadSpeedValue.Theme = labelTheme3; + // + // label2 + // + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.IsAutoSized = false; + this.label2.Location = new System.Drawing.Point(10, 166); + this.label2.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(124, 22); + this.label2.TabIndex = 110; + this.label2.Text = "download speed"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme4.IsBackgroundTransparent = true; + textGradient4.BorderColor = System.Drawing.Color.DarkGray; + textGradient4.BorderWidth = 1; + textGradient4.Color1 = System.Drawing.Color.LightGray; + textGradient4.Color2 = System.Drawing.Color.Gray; + customFont4.Color = System.Drawing.Color.LightGray; + customFont4.EmbeddedFontName = "Junction"; + customFont4.IsBold = false; + customFont4.IsItalic = false; + customFont4.IsUnderline = false; + customFont4.Size = 9F; + customFont4.StandardFontName = "Arial"; + customFont4.UseAntiAliasing = true; + customFont4.UseEmbeddedFont = true; + textGradient4.Font = customFont4; + textGradient4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient4.Padding = 2; + labelTheme4.TextGradient = textGradient4; + this.label2.Theme = labelTheme4; + // + // lblStatus + // + this.lblStatus.BackColor = System.Drawing.Color.Transparent; + this.lblStatus.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblStatus.IsAutoSized = false; + this.lblStatus.Location = new System.Drawing.Point(10, 79); + this.lblStatus.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblStatus.Name = "lblStatus"; + this.lblStatus.Size = new System.Drawing.Size(233, 22); + this.lblStatus.TabIndex = 109; + this.lblStatus.Text = "Downloading files..."; + this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme5.IsBackgroundTransparent = true; + textGradient5.BorderColor = System.Drawing.Color.DarkGray; + textGradient5.BorderWidth = 1; + textGradient5.Color1 = System.Drawing.Color.LightGray; + textGradient5.Color2 = System.Drawing.Color.Gray; + customFont5.Color = System.Drawing.Color.White; + customFont5.EmbeddedFontName = "Junction"; + customFont5.IsBold = false; + customFont5.IsItalic = false; + customFont5.IsUnderline = false; + customFont5.Size = 9F; + customFont5.StandardFontName = "Arial"; + customFont5.UseAntiAliasing = true; + customFont5.UseEmbeddedFont = true; + textGradient5.Font = customFont5; + textGradient5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient5.Padding = 2; + labelTheme5.TextGradient = textGradient5; + this.lblStatus.Theme = labelTheme5; + // + // lblTitle + // + this.lblTitle.BackColor = System.Drawing.Color.Transparent; + this.lblTitle.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblTitle.ForeColor = System.Drawing.Color.White; + this.lblTitle.IsAutoSized = false; + this.lblTitle.Location = new System.Drawing.Point(10, 6); + this.lblTitle.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblTitle.Name = "lblTitle"; + this.lblTitle.Size = new System.Drawing.Size(675, 22); + this.lblTitle.TabIndex = 108; + this.lblTitle.Text = "Syncing Library With"; + this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme6.IsBackgroundTransparent = true; + textGradient6.BorderColor = System.Drawing.Color.DarkGray; + textGradient6.BorderWidth = 1; + textGradient6.Color1 = System.Drawing.Color.LightGray; + textGradient6.Color2 = System.Drawing.Color.Gray; + customFont6.Color = System.Drawing.Color.White; + customFont6.EmbeddedFontName = "TitilliumText22L Lt"; + customFont6.IsBold = true; + customFont6.IsItalic = false; + customFont6.IsUnderline = false; + customFont6.Size = 11F; + customFont6.StandardFontName = "Arial"; + customFont6.UseAntiAliasing = true; + customFont6.UseEmbeddedFont = true; + textGradient6.Font = customFont6; + textGradient6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient6.Padding = 2; + labelTheme6.TextGradient = textGradient6; + this.lblTitle.Theme = labelTheme6; + // + // lblSubtitle + // + this.lblSubtitle.BackColor = System.Drawing.Color.Transparent; + this.lblSubtitle.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblSubtitle.IsAutoSized = false; + this.lblSubtitle.Location = new System.Drawing.Point(10, 25); + this.lblSubtitle.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.lblSubtitle.Name = "lblSubtitle"; + this.lblSubtitle.Size = new System.Drawing.Size(233, 22); + this.lblSubtitle.TabIndex = 107; + this.lblSubtitle.Text = "My IP address is:"; + this.lblSubtitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + labelTheme7.IsBackgroundTransparent = true; + textGradient7.BorderColor = System.Drawing.Color.DarkGray; + textGradient7.BorderWidth = 1; + textGradient7.Color1 = System.Drawing.Color.LightGray; + textGradient7.Color2 = System.Drawing.Color.Gray; + customFont7.Color = System.Drawing.Color.LightGray; + customFont7.EmbeddedFontName = "Junction"; + customFont7.IsBold = false; + customFont7.IsItalic = false; + customFont7.IsUnderline = false; + customFont7.Size = 8F; + customFont7.StandardFontName = "Arial"; + customFont7.UseAntiAliasing = true; + customFont7.UseEmbeddedFont = true; + textGradient7.Font = customFont7; + textGradient7.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient7.Padding = 2; + labelTheme7.TextGradient = textGradient7; + this.lblSubtitle.Theme = labelTheme7; + // + // btnCancel + // + this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnCancel.Image = global::MPfm.Windows.Properties.Resources.icon_button_cancel_16; + this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnCancel.IsAutoSized = true; + this.btnCancel.Location = new System.Drawing.Point(130, 235); + this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(126, 28); + this.btnCancel.TabIndex = 81; + this.btnCancel.Text = "Cancel download"; + this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + textGradient8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient8.BorderWidth = 1; + textGradient8.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient8.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont8.Color = System.Drawing.Color.White; + customFont8.EmbeddedFontName = "Junction"; + customFont8.IsBold = false; + customFont8.IsItalic = false; + customFont8.IsUnderline = false; + customFont8.Size = 8F; + customFont8.StandardFontName = "Arial"; + customFont8.UseAntiAliasing = true; + customFont8.UseEmbeddedFont = true; + textGradient8.Font = customFont8; + textGradient8.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient8.Padding = 6; + buttonTheme1.TextGradientDefault = textGradient8; + textGradient9.BorderColor = System.Drawing.Color.DarkGray; + textGradient9.BorderWidth = 1; + textGradient9.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient9.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + customFont9.Color = System.Drawing.Color.LightGray; + customFont9.EmbeddedFontName = "Junction"; + customFont9.IsBold = false; + customFont9.IsItalic = false; + customFont9.IsUnderline = false; + customFont9.Size = 8F; + customFont9.StandardFontName = "Arial"; + customFont9.UseAntiAliasing = true; + customFont9.UseEmbeddedFont = true; + textGradient9.Font = customFont9; + textGradient9.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient9.Padding = 6; + buttonTheme1.TextGradientDisabled = textGradient9; + textGradient10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient10.BorderWidth = 1; + textGradient10.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient10.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont10.Color = System.Drawing.Color.White; + customFont10.EmbeddedFontName = "Junction"; + customFont10.IsBold = false; + customFont10.IsItalic = false; + customFont10.IsUnderline = false; + customFont10.Size = 8F; + customFont10.StandardFontName = "Arial"; + customFont10.UseAntiAliasing = true; + customFont10.UseEmbeddedFont = true; + textGradient10.Font = customFont10; + textGradient10.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient10.Padding = 6; + buttonTheme1.TextGradientMouseOver = textGradient10; + this.btnCancel.Theme = buttonTheme1; + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + // + // progressBar + // + this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.progressBar.Location = new System.Drawing.Point(13, 107); + this.progressBar.Name = "progressBar"; + this.progressBar.Size = new System.Drawing.Size(373, 18); + this.progressBar.TabIndex = 95; + // // frmSyncDownload // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(284, 262); + this.ClientSize = new System.Drawing.Size(398, 288); + this.Controls.Add(this.panelBackground); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; @@ -42,10 +452,23 @@ private void InitializeComponent() this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Syncing Library With"; + this.panelBackground.ResumeLayout(false); this.ResumeLayout(false); } #endregion + + private System.Windows.Forms.ImageList imageListIcons; + private WindowsControls.Panel panelBackground; + private WindowsControls.Label label4; + private WindowsControls.Label label5; + private WindowsControls.Label lblDownloadSpeedValue; + private WindowsControls.Label label2; + private WindowsControls.Label lblStatus; + private WindowsControls.Label lblTitle; + private WindowsControls.Label lblSubtitle; + private WindowsControls.Button btnCancel; + private System.Windows.Forms.ProgressBar progressBar; } } \ No newline at end of file diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.cs index c0e86381..d0e3c888 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.cs @@ -37,24 +37,66 @@ public frmSyncDownload(Action onViewReady) ViewIsReady(); } + private void btnCancel_Click(object sender, EventArgs e) + { + + } + #region ISyncDownloadView implementation public Action OnCancelDownload { get; set; } public void SyncDownloadError(Exception ex) { + MethodInvoker methodUIUpdate = delegate + { + MessageBox.Show(string.Format("An error occured in Syncdownload: {0}", ex), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); } public void RefreshDevice(SyncDevice device) { + MethodInvoker methodUIUpdate = delegate + { + lblTitle.Text = "Syncing Library With " + device.Name; + this.Text = "Syncing Library With " + device.Name; + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); } public void RefreshStatus(SyncClientDownloadAudioFileProgressEntity entity) { + MethodInvoker methodUIUpdate = delegate { + progressBar.Value = (int)entity.PercentageDone; + lblStatus.Text = entity.Status; + lblDownloadSpeedValue.Text = entity.DownloadSpeed; + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); } public void SyncCompleted() { + MethodInvoker methodUIUpdate = delegate { + MessageBox.Show(string.Format("The sync has completed successfully."), "Sync completed", MessageBoxButtons.OK, MessageBoxIcon.Information); + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); } #endregion diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.resx b/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.resx index cc3870d3..76738fc0 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.resx +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSyncDownload.resx @@ -117,6 +117,74 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACA + DQAAAk1TRnQBSQFMAgEBBgEAAXgBAAF4AQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA + AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 + AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA + AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm + AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM + AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA + ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz + AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ + AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM + AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA + AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA + AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ + AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/ + AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA + AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm + ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ + Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz + AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA + AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM + AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM + ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM + Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA + AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM + AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ + AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz + AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm + AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw + AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wMAAQcBDgcAAQ4B7wgA + AZIBDgHyAfMBDwHtJwABDgMAAewB/wHtAwABDggAARMBAAIHAQABFScAAQ4DAAHsAf8BkgwAARMBAAIH + AQABFScAAQ4QAAGSAQ4GAAEOAe0B/yQAAQ4B9Af/AfQGAAH/CgAB9CQAAQ4B9AcAAf8EAAHrAQ8B8goA + AfIBEAFtIgABDgH0BwAB/wQAAQ4BAAEHCgABBwEAAQ4iAAEOAfQHAAH/BAABDgEAAQcKAAEHAQABDiIA + AQ4B9AcAAf8EAAEOAQABBwoAAQcBAAEOIgABDgH0BwAB/wQAAQ4BAAEHCgABBwEAAQ4iAAEOAfQHAAH/ + BAAB6wEQAfQK/wH0ARAB6yIAAQ4B9AcAAf8GAAH/AQ4BAAEUAQ4CAAEOARMBAAEOAf8kAAEOAfQHAAH/ + BwAB9wEOAf8B7wIAAfcB/wEOAZIlAAEOAfQH/wH0BwAB/wHrAUMBDgIAAQ4BQwFtAf8lAAEOAgABEwNt + ARICAAEOBwAB/wEHARICDgESAe8B/yYAAQcBDgEAARQDbQETAQABDgHvCAAB8QQAAfEmAAHyARUEAAET + ARIEAAFDAfIBAAETAQAB9AEAAfEB9wHvAfQDAAHvAwAB7AQAAe8BDgETAQcB8AGSARABFAHzDAAB/wHz + AfAB7wHsAeoBEAEAAQ8FAAISBQABDwEAAe8BAAG8AZIBbQHwAQcBFQHvAf8BAAEUAgABDgH/AwABBwgA + ARAB/wMAAf8B9AHyAbwB7wHyAQcBDwgAAQ4BAAHvCP8B7wEAAQ4BAAHzAQABDgGSAf8CAAH/Ae8BQwHv + AwAB7wMAAfQBDgkAAewCAAEUAQ4EAAEHAe8JAAEOAQAB7wgAAe8BAAEOAQAB/wEOAgcB6gIQARQB7QHz + ARUDAAH0AwABkgsAAbwHAAEHAe8JAAEOAQAB7wgAAe8BAAEOAgABEwGSAe8B9AH/AQAB/wHwAfIB6gIA + AQ8DAAH/AQ4KAAEUAfAHAAEHAe8JAAEOAQAB7wgAAe8BAAEOAgAB6gFDAW0B/wIAAfQBkgERAQ8CAAER + AwAB9woAAREB/wgAAQcB7wkAAQ4BAAHvCAAB7wEAAQ4CAAEUAfIBAAFDAfcB7AEOAQAB8gEHAgABEAMA + AREKAAHvCQABBwHvCQABDgEAAe8IAAHvAQABDgIAARUB9AEAAfEBAAHtAe8BAAHyAfACAAERDgAB8AMA + BgcC8wgHAQABDgEAAe8IAAHvAQABDgIAAQ8C9AHyAQAB7AH/AQcB/wHvAgABFQMAAeoKAAHvAwAGBwHz + AfIIBwEAAQ4BAAHvCAAB7wEAAQ4CAAEQAW0B8QEUAgAB8QEAAfMBDgIAAeoDAAHzAQ4JAAEQAf8IAAEH + Ae8JAAEOAQAB7wgAAe8BAAEOAgABFAYAAREEAAHsBAAB7woAARIB/wcAAQcB7wkAAQ4BAAHvCAAB7wEA + AQ4CAAHsCwABBwQAAf8BBwERAQABQwHvAQcBEwIAAeoB8wgAAQcB7wkAAQ4BAAHvCAAB7wEAAQ4CAAHw + CgABDgH/BwAB/wEAAf8B7AHxAv8KAAEHAe8JAAEOAQAB7wj/Ae8BAAEOAgAB/wETCQAB9wsAAUMBAAG8 + BQABbQFDBAABBwHvCQABEAwAAQ8DAAH0ARQHAAFtAf8LAAHwAQABDwH/BgAB/wH0AfEBBwHzAbwBFQgA + AfIBFAoAARUB8gQAAf8BBwFtARABAAEPAW0BvAH/DQAB8AEUAfQNAAH/AfQB8QEHAe0B6gEQAUIBTQE+ + BwABPgMAASgDAAFAAwABIAMAAQEBAAEBBgABARYAA/8BAAHAAQcB+AEfBAABwAEHAfgBHwQAAcABBwH4 + AR8EAAHAAQcB4AEDBAABwAEHAcABAwQAAc8B5wYAAc8B5wYAAc8B5wYAAc8B5wYAAc8B5wYAAc8B5wYA + Ac8B5wHAAQMEAAHPAecB4AEHBAABwAEHAeABBwQAAcABBwHwAQ8EAAHAAQcB+wHfBAABgAEBARAB4AHw + AQcB/wKAAQEBAAEgAeABAwGAAQABgAEBAQYBAQHAAQMCAAGPAfEBAAEBAcABAQIAAY8B8QGCAQMBgAEB + AgABjwHxAYYBAwGAAQMCAAGPAfEBgAEDAYABBwIAAY8B8QGAAQMBgAEHAgABjwHxAYABAwGAAQcCAAGP + AfEBgAGDAYABAwIAAY8B8QGAAQMBwAEBAgABjwHxAYABAwHAAQMCAAGPAfEBgAEDAfoBDwIAAYABAQGA + AQcB/wEfAgABgAEBAcABBwH/AQ8BwAEAAYABAQHgAQ8B/wGPAf8BgAs= + + diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.Designer.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.Designer.cs index 6e627d98..1bb17246 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.Designer.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.Designer.cs @@ -31,26 +31,26 @@ private void InitializeComponent() this.components = new System.ComponentModel.Container(); MPfm.WindowsControls.PanelTheme panelTheme2 = new MPfm.WindowsControls.PanelTheme(); MPfm.WindowsControls.BackgroundGradient backgroundGradient2 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.TextGradient textGradient26 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont26 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme1 = new MPfm.WindowsControls.ButtonTheme(); - MPfm.WindowsControls.TextGradient textGradient1 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont1 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.TextGradient textGradient23 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont23 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.PanelTheme panelTheme1 = new MPfm.WindowsControls.PanelTheme(); + MPfm.WindowsControls.BackgroundGradient backgroundGradient1 = new MPfm.WindowsControls.BackgroundGradient(); MPfm.WindowsControls.TextGradient textGradient2 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont2 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme1 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient1 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont1 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme2 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient3 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont3 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.PanelTheme panelTheme1 = new MPfm.WindowsControls.PanelTheme(); - MPfm.WindowsControls.BackgroundGradient backgroundGradient1 = new MPfm.WindowsControls.BackgroundGradient(); - MPfm.WindowsControls.TextGradient textGradient5 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont5 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme1 = new MPfm.WindowsControls.LabelTheme(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSyncMenu)); + MPfm.WindowsControls.ButtonTheme buttonTheme1 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient4 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont4 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme2 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.TextGradient textGradient5 = new MPfm.WindowsControls.TextGradient(); + MPfm.WindowsControls.CustomFont customFont5 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TextGradient textGradient6 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont6 = new MPfm.WindowsControls.CustomFont(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSyncMenu)); MPfm.WindowsControls.ButtonTheme buttonTheme2 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient7 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont7 = new MPfm.WindowsControls.CustomFont(); @@ -72,34 +72,26 @@ private void InitializeComponent() MPfm.WindowsControls.CustomFont customFont14 = new MPfm.WindowsControls.CustomFont(); MPfm.WindowsControls.TextGradient textGradient15 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont15 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme5 = new MPfm.WindowsControls.ButtonTheme(); + MPfm.WindowsControls.LabelTheme labelTheme3 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient16 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont16 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme4 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient17 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont17 = new MPfm.WindowsControls.CustomFont(); + MPfm.WindowsControls.LabelTheme labelTheme5 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient18 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont18 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme3 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.LabelTheme labelTheme6 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient19 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont19 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme4 = new MPfm.WindowsControls.LabelTheme(); + MPfm.WindowsControls.ButtonTheme buttonTheme5 = new MPfm.WindowsControls.ButtonTheme(); MPfm.WindowsControls.TextGradient textGradient20 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont20 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme5 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient21 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont21 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.LabelTheme labelTheme6 = new MPfm.WindowsControls.LabelTheme(); MPfm.WindowsControls.TextGradient textGradient22 = new MPfm.WindowsControls.TextGradient(); MPfm.WindowsControls.CustomFont customFont22 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.ButtonTheme buttonTheme6 = new MPfm.WindowsControls.ButtonTheme(); - MPfm.WindowsControls.TextGradient textGradient23 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont23 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient24 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont24 = new MPfm.WindowsControls.CustomFont(); - MPfm.WindowsControls.TextGradient textGradient25 = new MPfm.WindowsControls.TextGradient(); - MPfm.WindowsControls.CustomFont customFont25 = new MPfm.WindowsControls.CustomFont(); this.panelBackground = new MPfm.WindowsControls.Panel(); - this.btnSelectAll = new MPfm.WindowsControls.Button(); this.panelLoading = new MPfm.WindowsControls.Panel(); this.tableLayoutPanelLoading = new System.Windows.Forms.TableLayoutPanel(); this.lblLoading = new MPfm.WindowsControls.Label(); @@ -109,12 +101,13 @@ private void InitializeComponent() this.treeView = new System.Windows.Forms.TreeView(); this.imageListIcons = new System.Windows.Forms.ImageList(this.components); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.button4 = new MPfm.WindowsControls.Button(); - this.button2 = new MPfm.WindowsControls.Button(); - this.button3 = new MPfm.WindowsControls.Button(); - this.button1 = new MPfm.WindowsControls.Button(); + this.btnAddAll = new MPfm.WindowsControls.Button(); + this.btnRemoveAll = new MPfm.WindowsControls.Button(); + this.btnRemove = new MPfm.WindowsControls.Button(); + this.btnAdd = new MPfm.WindowsControls.Button(); this.label2 = new MPfm.WindowsControls.Label(); - this.listView1 = new System.Windows.Forms.ListView(); + this.listViewSelection = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.lblTotal = new MPfm.WindowsControls.Label(); this.lblFreeSpace = new MPfm.WindowsControls.Label(); this.lblTitle = new MPfm.WindowsControls.Label(); @@ -132,7 +125,6 @@ private void InitializeComponent() // panelBackground // this.panelBackground.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.panelBackground.Controls.Add(this.btnSelectAll); this.panelBackground.Controls.Add(this.panelLoading); this.panelBackground.Controls.Add(this.splitContainer1); this.panelBackground.Controls.Add(this.lblTotal); @@ -159,95 +151,25 @@ private void InitializeComponent() backgroundGradient2.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); backgroundGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; panelTheme2.BackgroundGradient = backgroundGradient2; - textGradient26.BorderColor = System.Drawing.Color.DarkGray; - textGradient26.BorderWidth = 0; - textGradient26.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); - textGradient26.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); - customFont26.Color = System.Drawing.Color.Black; - customFont26.EmbeddedFontName = "Junction"; - customFont26.IsBold = false; - customFont26.IsItalic = false; - customFont26.IsUnderline = false; - customFont26.Size = 9F; - customFont26.StandardFontName = "Arial"; - customFont26.UseAntiAliasing = true; - customFont26.UseEmbeddedFont = true; - textGradient26.Font = customFont26; - textGradient26.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient26.Padding = 2; - panelTheme2.HeaderTextGradient = textGradient26; + textGradient23.BorderColor = System.Drawing.Color.DarkGray; + textGradient23.BorderWidth = 0; + textGradient23.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + textGradient23.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(40)))), ((int)(((byte)(46))))); + customFont23.Color = System.Drawing.Color.Black; + customFont23.EmbeddedFontName = "Junction"; + customFont23.IsBold = false; + customFont23.IsItalic = false; + customFont23.IsUnderline = false; + customFont23.Size = 9F; + customFont23.StandardFontName = "Arial"; + customFont23.UseAntiAliasing = true; + customFont23.UseEmbeddedFont = true; + textGradient23.Font = customFont23; + textGradient23.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient23.Padding = 2; + panelTheme2.HeaderTextGradient = textGradient23; this.panelBackground.Theme = panelTheme2; // - // btnSelectAll - // - this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnSelectAll.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnSelectAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnSelectAll.Image = null; - this.btnSelectAll.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnSelectAll.IsAutoSized = true; - this.btnSelectAll.Location = new System.Drawing.Point(259, 289); - this.btnSelectAll.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.btnSelectAll.Name = "btnSelectAll"; - this.btnSelectAll.Size = new System.Drawing.Size(63, 26); - this.btnSelectAll.TabIndex = 94; - this.btnSelectAll.Text = "Select all"; - this.btnSelectAll.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - textGradient1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient1.BorderWidth = 1; - textGradient1.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); - textGradient1.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); - customFont1.Color = System.Drawing.Color.White; - customFont1.EmbeddedFontName = "Junction"; - customFont1.IsBold = false; - customFont1.IsItalic = false; - customFont1.IsUnderline = false; - customFont1.Size = 8F; - customFont1.StandardFontName = "Arial"; - customFont1.UseAntiAliasing = true; - customFont1.UseEmbeddedFont = true; - textGradient1.Font = customFont1; - textGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient1.Padding = 6; - buttonTheme1.TextGradientDefault = textGradient1; - textGradient2.BorderColor = System.Drawing.Color.DarkGray; - textGradient2.BorderWidth = 1; - textGradient2.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient2.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - customFont2.Color = System.Drawing.Color.LightGray; - customFont2.EmbeddedFontName = "Junction"; - customFont2.IsBold = false; - customFont2.IsItalic = false; - customFont2.IsUnderline = false; - customFont2.Size = 8F; - customFont2.StandardFontName = "Arial"; - customFont2.UseAntiAliasing = true; - customFont2.UseEmbeddedFont = true; - textGradient2.Font = customFont2; - textGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient2.Padding = 6; - buttonTheme1.TextGradientDisabled = textGradient2; - textGradient3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient3.BorderWidth = 1; - textGradient3.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); - textGradient3.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); - customFont3.Color = System.Drawing.Color.White; - customFont3.EmbeddedFontName = "Junction"; - customFont3.IsBold = false; - customFont3.IsItalic = false; - customFont3.IsUnderline = false; - customFont3.Size = 8F; - customFont3.StandardFontName = "Arial"; - customFont3.UseAntiAliasing = true; - customFont3.UseEmbeddedFont = true; - textGradient3.Font = customFont3; - textGradient3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient3.Padding = 6; - buttonTheme1.TextGradientMouseOver = textGradient3; - this.btnSelectAll.Theme = buttonTheme1; - this.btnSelectAll.Visible = false; - this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); - // // panelLoading // this.panelLoading.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -269,23 +191,23 @@ private void InitializeComponent() backgroundGradient1.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); backgroundGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; panelTheme1.BackgroundGradient = backgroundGradient1; - textGradient5.BorderColor = System.Drawing.Color.DarkGray; - textGradient5.BorderWidth = 1; - textGradient5.Color1 = System.Drawing.Color.LightGray; - textGradient5.Color2 = System.Drawing.Color.Gray; - customFont5.Color = System.Drawing.Color.Black; - customFont5.EmbeddedFontName = "Junction"; - customFont5.IsBold = false; - customFont5.IsItalic = false; - customFont5.IsUnderline = false; - customFont5.Size = 8F; - customFont5.StandardFontName = "Arial"; - customFont5.UseAntiAliasing = true; - customFont5.UseEmbeddedFont = true; - textGradient5.Font = customFont5; - textGradient5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient5.Padding = 2; - panelTheme1.HeaderTextGradient = textGradient5; + textGradient2.BorderColor = System.Drawing.Color.DarkGray; + textGradient2.BorderWidth = 1; + textGradient2.Color1 = System.Drawing.Color.LightGray; + textGradient2.Color2 = System.Drawing.Color.Gray; + customFont2.Color = System.Drawing.Color.Black; + customFont2.EmbeddedFontName = "Junction"; + customFont2.IsBold = false; + customFont2.IsItalic = false; + customFont2.IsUnderline = false; + customFont2.Size = 8F; + customFont2.StandardFontName = "Arial"; + customFont2.UseAntiAliasing = true; + customFont2.UseEmbeddedFont = true; + textGradient2.Font = customFont2; + textGradient2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient2.Padding = 2; + panelTheme1.HeaderTextGradient = textGradient2; this.panelLoading.Theme = panelTheme1; // // tableLayoutPanelLoading @@ -324,23 +246,23 @@ private void InitializeComponent() this.lblLoading.Text = "Loading..."; this.lblLoading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; labelTheme1.IsBackgroundTransparent = true; - textGradient4.BorderColor = System.Drawing.Color.DarkGray; - textGradient4.BorderWidth = 1; - textGradient4.Color1 = System.Drawing.Color.LightGray; - textGradient4.Color2 = System.Drawing.Color.Gray; - customFont4.Color = System.Drawing.Color.White; - customFont4.EmbeddedFontName = "Junction"; - customFont4.IsBold = false; - customFont4.IsItalic = false; - customFont4.IsUnderline = false; - customFont4.Size = 10F; - customFont4.StandardFontName = "Arial"; - customFont4.UseAntiAliasing = true; - customFont4.UseEmbeddedFont = true; - textGradient4.Font = customFont4; - textGradient4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient4.Padding = 2; - labelTheme1.TextGradient = textGradient4; + textGradient1.BorderColor = System.Drawing.Color.DarkGray; + textGradient1.BorderWidth = 1; + textGradient1.Color1 = System.Drawing.Color.LightGray; + textGradient1.Color2 = System.Drawing.Color.Gray; + customFont1.Color = System.Drawing.Color.White; + customFont1.EmbeddedFontName = "Junction"; + customFont1.IsBold = false; + customFont1.IsItalic = false; + customFont1.IsUnderline = false; + customFont1.Size = 10F; + customFont1.StandardFontName = "Arial"; + customFont1.UseAntiAliasing = true; + customFont1.UseEmbeddedFont = true; + textGradient1.Font = customFont1; + textGradient1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient1.Padding = 2; + labelTheme1.TextGradient = textGradient1; this.lblLoading.Theme = labelTheme1; // // progressBar @@ -374,7 +296,7 @@ private void InitializeComponent() this.splitContainer1.Panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(69)))), ((int)(((byte)(79))))); this.splitContainer1.Panel2.Controls.Add(this.tableLayoutPanel1); this.splitContainer1.Panel2.Controls.Add(this.label2); - this.splitContainer1.Panel2.Controls.Add(this.listView1); + this.splitContainer1.Panel2.Controls.Add(this.listViewSelection); this.splitContainer1.Panel2MinSize = 200; this.splitContainer1.Size = new System.Drawing.Size(717, 255); this.splitContainer1.SplitterDistance = 360; @@ -393,23 +315,23 @@ private void InitializeComponent() this.label1.Text = "Choose audio files to sync"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme2.IsBackgroundTransparent = true; - textGradient6.BorderColor = System.Drawing.Color.DarkGray; - textGradient6.BorderWidth = 1; - textGradient6.Color1 = System.Drawing.Color.LightGray; - textGradient6.Color2 = System.Drawing.Color.Gray; - customFont6.Color = System.Drawing.Color.LightGray; - customFont6.EmbeddedFontName = "Junction"; - customFont6.IsBold = false; - customFont6.IsItalic = false; - customFont6.IsUnderline = false; - customFont6.Size = 8F; - customFont6.StandardFontName = "Arial"; - customFont6.UseAntiAliasing = true; - customFont6.UseEmbeddedFont = true; - textGradient6.Font = customFont6; - textGradient6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient6.Padding = 2; - labelTheme2.TextGradient = textGradient6; + textGradient3.BorderColor = System.Drawing.Color.DarkGray; + textGradient3.BorderWidth = 1; + textGradient3.Color1 = System.Drawing.Color.LightGray; + textGradient3.Color2 = System.Drawing.Color.Gray; + customFont3.Color = System.Drawing.Color.LightGray; + customFont3.EmbeddedFontName = "Junction"; + customFont3.IsBold = false; + customFont3.IsItalic = false; + customFont3.IsUnderline = false; + customFont3.Size = 8F; + customFont3.StandardFontName = "Arial"; + customFont3.UseAntiAliasing = true; + customFont3.UseEmbeddedFont = true; + textGradient3.Font = customFont3; + textGradient3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient3.Padding = 2; + labelTheme2.TextGradient = textGradient3; this.label1.Theme = labelTheme2; // // treeView @@ -443,10 +365,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Left))); this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Controls.Add(this.button4, 0, 4); - this.tableLayoutPanel1.Controls.Add(this.button2, 0, 3); - this.tableLayoutPanel1.Controls.Add(this.button3, 0, 2); - this.tableLayoutPanel1.Controls.Add(this.button1, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.btnAddAll, 0, 4); + this.tableLayoutPanel1.Controls.Add(this.btnRemoveAll, 0, 3); + this.tableLayoutPanel1.Controls.Add(this.btnRemove, 0, 2); + this.tableLayoutPanel1.Controls.Add(this.btnAdd, 0, 1); this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 6; @@ -459,20 +381,88 @@ private void InitializeComponent() this.tableLayoutPanel1.Size = new System.Drawing.Size(36, 255); this.tableLayoutPanel1.TabIndex = 116; // - // button4 - // - this.button4.Cursor = System.Windows.Forms.Cursors.Hand; - this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button4.Image = null; - this.button4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button4.IsAutoSized = false; - this.button4.Location = new System.Drawing.Point(3, 153); - this.button4.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(30, 26); - this.button4.TabIndex = 100; - this.button4.Text = ">>"; - this.button4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // btnAddAll + // + this.btnAddAll.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAddAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnAddAll.Image = null; + this.btnAddAll.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnAddAll.IsAutoSized = false; + this.btnAddAll.Location = new System.Drawing.Point(3, 153); + this.btnAddAll.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.btnAddAll.Name = "btnAddAll"; + this.btnAddAll.Size = new System.Drawing.Size(30, 26); + this.btnAddAll.TabIndex = 100; + this.btnAddAll.Text = ">>"; + this.btnAddAll.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + textGradient4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient4.BorderWidth = 1; + textGradient4.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient4.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont4.Color = System.Drawing.Color.White; + customFont4.EmbeddedFontName = "Junction"; + customFont4.IsBold = false; + customFont4.IsItalic = false; + customFont4.IsUnderline = false; + customFont4.Size = 8F; + customFont4.StandardFontName = "Arial"; + customFont4.UseAntiAliasing = true; + customFont4.UseEmbeddedFont = true; + textGradient4.Font = customFont4; + textGradient4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient4.Padding = 6; + buttonTheme1.TextGradientDefault = textGradient4; + textGradient5.BorderColor = System.Drawing.Color.DarkGray; + textGradient5.BorderWidth = 1; + textGradient5.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient5.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + customFont5.Color = System.Drawing.Color.LightGray; + customFont5.EmbeddedFontName = "Junction"; + customFont5.IsBold = false; + customFont5.IsItalic = false; + customFont5.IsUnderline = false; + customFont5.Size = 8F; + customFont5.StandardFontName = "Arial"; + customFont5.UseAntiAliasing = true; + customFont5.UseEmbeddedFont = true; + textGradient5.Font = customFont5; + textGradient5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient5.Padding = 6; + buttonTheme1.TextGradientDisabled = textGradient5; + textGradient6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient6.BorderWidth = 1; + textGradient6.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient6.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont6.Color = System.Drawing.Color.White; + customFont6.EmbeddedFontName = "Junction"; + customFont6.IsBold = false; + customFont6.IsItalic = false; + customFont6.IsUnderline = false; + customFont6.Size = 8F; + customFont6.StandardFontName = "Arial"; + customFont6.UseAntiAliasing = true; + customFont6.UseEmbeddedFont = true; + textGradient6.Font = customFont6; + textGradient6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient6.Padding = 6; + buttonTheme1.TextGradientMouseOver = textGradient6; + this.btnAddAll.Theme = buttonTheme1; + this.btnAddAll.Click += new System.EventHandler(this.btnAddAll_Click); + // + // btnRemoveAll + // + this.btnRemoveAll.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnRemoveAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnRemoveAll.Image = null; + this.btnRemoveAll.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnRemoveAll.IsAutoSized = false; + this.btnRemoveAll.Location = new System.Drawing.Point(3, 127); + this.btnRemoveAll.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.btnRemoveAll.Name = "btnRemoveAll"; + this.btnRemoveAll.Size = new System.Drawing.Size(30, 26); + this.btnRemoveAll.TabIndex = 98; + this.btnRemoveAll.Text = "<<"; + this.btnRemoveAll.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; textGradient7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient7.BorderWidth = 1; textGradient7.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); @@ -524,22 +514,23 @@ private void InitializeComponent() textGradient9.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient9.Padding = 6; buttonTheme2.TextGradientMouseOver = textGradient9; - this.button4.Theme = buttonTheme2; - // - // button2 - // - this.button2.Cursor = System.Windows.Forms.Cursors.Hand; - this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button2.Image = null; - this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button2.IsAutoSized = false; - this.button2.Location = new System.Drawing.Point(3, 127); - this.button2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(30, 26); - this.button2.TabIndex = 98; - this.button2.Text = "<<"; - this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.btnRemoveAll.Theme = buttonTheme2; + this.btnRemoveAll.Click += new System.EventHandler(this.btnRemoveAll_Click); + // + // btnRemove + // + this.btnRemove.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnRemove.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnRemove.Image = null; + this.btnRemove.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnRemove.IsAutoSized = false; + this.btnRemove.Location = new System.Drawing.Point(3, 101); + this.btnRemove.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.btnRemove.Name = "btnRemove"; + this.btnRemove.Size = new System.Drawing.Size(30, 26); + this.btnRemove.TabIndex = 99; + this.btnRemove.Text = "<"; + this.btnRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; textGradient10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient10.BorderWidth = 1; textGradient10.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); @@ -591,22 +582,23 @@ private void InitializeComponent() textGradient12.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient12.Padding = 6; buttonTheme3.TextGradientMouseOver = textGradient12; - this.button2.Theme = buttonTheme3; - // - // button3 - // - this.button3.Cursor = System.Windows.Forms.Cursors.Hand; - this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button3.Image = null; - this.button3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button3.IsAutoSized = false; - this.button3.Location = new System.Drawing.Point(3, 101); - this.button3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(30, 26); - this.button3.TabIndex = 99; - this.button3.Text = "<"; - this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.btnRemove.Theme = buttonTheme3; + this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click); + // + // btnAdd + // + this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAdd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnAdd.Image = null; + this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnAdd.IsAutoSized = false; + this.btnAdd.Location = new System.Drawing.Point(3, 75); + this.btnAdd.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); + this.btnAdd.Name = "btnAdd"; + this.btnAdd.Size = new System.Drawing.Size(30, 26); + this.btnAdd.TabIndex = 97; + this.btnAdd.Text = ">"; + this.btnAdd.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; textGradient13.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); textGradient13.BorderWidth = 1; textGradient13.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); @@ -658,74 +650,8 @@ private void InitializeComponent() textGradient15.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; textGradient15.Padding = 6; buttonTheme4.TextGradientMouseOver = textGradient15; - this.button3.Theme = buttonTheme4; - // - // button1 - // - this.button1.Cursor = System.Windows.Forms.Cursors.Hand; - this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button1.Image = null; - this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button1.IsAutoSized = false; - this.button1.Location = new System.Drawing.Point(3, 75); - this.button1.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(30, 26); - this.button1.TabIndex = 97; - this.button1.Text = ">"; - this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - textGradient16.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient16.BorderWidth = 1; - textGradient16.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); - textGradient16.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); - customFont16.Color = System.Drawing.Color.White; - customFont16.EmbeddedFontName = "Junction"; - customFont16.IsBold = false; - customFont16.IsItalic = false; - customFont16.IsUnderline = false; - customFont16.Size = 8F; - customFont16.StandardFontName = "Arial"; - customFont16.UseAntiAliasing = true; - customFont16.UseEmbeddedFont = true; - textGradient16.Font = customFont16; - textGradient16.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient16.Padding = 6; - buttonTheme5.TextGradientDefault = textGradient16; - textGradient17.BorderColor = System.Drawing.Color.DarkGray; - textGradient17.BorderWidth = 1; - textGradient17.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient17.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - customFont17.Color = System.Drawing.Color.LightGray; - customFont17.EmbeddedFontName = "Junction"; - customFont17.IsBold = false; - customFont17.IsItalic = false; - customFont17.IsUnderline = false; - customFont17.Size = 8F; - customFont17.StandardFontName = "Arial"; - customFont17.UseAntiAliasing = true; - customFont17.UseEmbeddedFont = true; - textGradient17.Font = customFont17; - textGradient17.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient17.Padding = 6; - buttonTheme5.TextGradientDisabled = textGradient17; - textGradient18.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient18.BorderWidth = 1; - textGradient18.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); - textGradient18.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); - customFont18.Color = System.Drawing.Color.White; - customFont18.EmbeddedFontName = "Junction"; - customFont18.IsBold = false; - customFont18.IsItalic = false; - customFont18.IsUnderline = false; - customFont18.Size = 8F; - customFont18.StandardFontName = "Arial"; - customFont18.UseAntiAliasing = true; - customFont18.UseEmbeddedFont = true; - textGradient18.Font = customFont18; - textGradient18.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient18.Padding = 6; - buttonTheme5.TextGradientMouseOver = textGradient18; - this.button1.Theme = buttonTheme5; + this.btnAdd.Theme = buttonTheme4; + this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // label2 // @@ -737,38 +663,48 @@ private void InitializeComponent() this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(162, 22); this.label2.TabIndex = 115; - this.label2.Text = "List of files to sync"; + this.label2.Text = "List of audio files to sync"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme3.IsBackgroundTransparent = true; - textGradient19.BorderColor = System.Drawing.Color.DarkGray; - textGradient19.BorderWidth = 1; - textGradient19.Color1 = System.Drawing.Color.LightGray; - textGradient19.Color2 = System.Drawing.Color.Gray; - customFont19.Color = System.Drawing.Color.LightGray; - customFont19.EmbeddedFontName = "Junction"; - customFont19.IsBold = false; - customFont19.IsItalic = false; - customFont19.IsUnderline = false; - customFont19.Size = 8F; - customFont19.StandardFontName = "Arial"; - customFont19.UseAntiAliasing = true; - customFont19.UseEmbeddedFont = true; - textGradient19.Font = customFont19; - textGradient19.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient19.Padding = 2; - labelTheme3.TextGradient = textGradient19; + textGradient16.BorderColor = System.Drawing.Color.DarkGray; + textGradient16.BorderWidth = 1; + textGradient16.Color1 = System.Drawing.Color.LightGray; + textGradient16.Color2 = System.Drawing.Color.Gray; + customFont16.Color = System.Drawing.Color.LightGray; + customFont16.EmbeddedFontName = "Junction"; + customFont16.IsBold = false; + customFont16.IsItalic = false; + customFont16.IsUnderline = false; + customFont16.Size = 8F; + customFont16.StandardFontName = "Arial"; + customFont16.UseAntiAliasing = true; + customFont16.UseEmbeddedFont = true; + textGradient16.Font = customFont16; + textGradient16.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient16.Padding = 2; + labelTheme3.TextGradient = textGradient16; this.label2.Theme = labelTheme3; // - // listView1 + // listViewSelection // - this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.listViewSelection.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.listView1.Location = new System.Drawing.Point(34, 23); - this.listView1.Name = "listView1"; - this.listView1.Size = new System.Drawing.Size(318, 232); - this.listView1.TabIndex = 101; - this.listView1.UseCompatibleStateImageBehavior = false; + this.listViewSelection.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.listViewSelection.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1}); + this.listViewSelection.Font = new System.Drawing.Font("Arial", 8F); + this.listViewSelection.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; + this.listViewSelection.Location = new System.Drawing.Point(34, 23); + this.listViewSelection.Name = "listViewSelection"; + this.listViewSelection.Size = new System.Drawing.Size(318, 232); + this.listViewSelection.TabIndex = 101; + this.listViewSelection.UseCompatibleStateImageBehavior = false; + this.listViewSelection.View = System.Windows.Forms.View.Details; + // + // columnHeader1 + // + this.columnHeader1.Width = 600; // // lblTotal // @@ -785,23 +721,23 @@ private void InitializeComponent() this.lblTotal.Text = "Total: 0 files (0.0 MB)"; this.lblTotal.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme4.IsBackgroundTransparent = true; - textGradient20.BorderColor = System.Drawing.Color.DarkGray; - textGradient20.BorderWidth = 1; - textGradient20.Color1 = System.Drawing.Color.LightGray; - textGradient20.Color2 = System.Drawing.Color.Gray; - customFont20.Color = System.Drawing.Color.White; - customFont20.EmbeddedFontName = "Junction"; - customFont20.IsBold = false; - customFont20.IsItalic = false; - customFont20.IsUnderline = false; - customFont20.Size = 9F; - customFont20.StandardFontName = "Arial"; - customFont20.UseAntiAliasing = true; - customFont20.UseEmbeddedFont = true; - textGradient20.Font = customFont20; - textGradient20.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient20.Padding = 2; - labelTheme4.TextGradient = textGradient20; + textGradient17.BorderColor = System.Drawing.Color.DarkGray; + textGradient17.BorderWidth = 1; + textGradient17.Color1 = System.Drawing.Color.LightGray; + textGradient17.Color2 = System.Drawing.Color.Gray; + customFont17.Color = System.Drawing.Color.White; + customFont17.EmbeddedFontName = "Junction"; + customFont17.IsBold = false; + customFont17.IsItalic = false; + customFont17.IsUnderline = false; + customFont17.Size = 9F; + customFont17.StandardFontName = "Arial"; + customFont17.UseAntiAliasing = true; + customFont17.UseEmbeddedFont = true; + textGradient17.Font = customFont17; + textGradient17.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient17.Padding = 2; + labelTheme4.TextGradient = textGradient17; this.lblTotal.Theme = labelTheme4; // // lblFreeSpace @@ -818,23 +754,23 @@ private void InitializeComponent() this.lblFreeSpace.Text = "Free space: 3004.2 MB"; this.lblFreeSpace.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme5.IsBackgroundTransparent = true; - textGradient21.BorderColor = System.Drawing.Color.DarkGray; - textGradient21.BorderWidth = 1; - textGradient21.Color1 = System.Drawing.Color.LightGray; - textGradient21.Color2 = System.Drawing.Color.Gray; - customFont21.Color = System.Drawing.Color.LightGray; - customFont21.EmbeddedFontName = "Junction"; - customFont21.IsBold = false; - customFont21.IsItalic = false; - customFont21.IsUnderline = false; - customFont21.Size = 8F; - customFont21.StandardFontName = "Arial"; - customFont21.UseAntiAliasing = true; - customFont21.UseEmbeddedFont = true; - textGradient21.Font = customFont21; - textGradient21.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient21.Padding = 2; - labelTheme5.TextGradient = textGradient21; + textGradient18.BorderColor = System.Drawing.Color.DarkGray; + textGradient18.BorderWidth = 1; + textGradient18.Color1 = System.Drawing.Color.LightGray; + textGradient18.Color2 = System.Drawing.Color.Gray; + customFont18.Color = System.Drawing.Color.LightGray; + customFont18.EmbeddedFontName = "Junction"; + customFont18.IsBold = false; + customFont18.IsItalic = false; + customFont18.IsUnderline = false; + customFont18.Size = 8F; + customFont18.StandardFontName = "Arial"; + customFont18.UseAntiAliasing = true; + customFont18.UseEmbeddedFont = true; + textGradient18.Font = customFont18; + textGradient18.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient18.Padding = 2; + labelTheme5.TextGradient = textGradient18; this.lblFreeSpace.Theme = labelTheme5; // // lblTitle @@ -851,23 +787,23 @@ private void InitializeComponent() this.lblTitle.Text = "Sync Library With"; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; labelTheme6.IsBackgroundTransparent = true; - textGradient22.BorderColor = System.Drawing.Color.DarkGray; - textGradient22.BorderWidth = 1; - textGradient22.Color1 = System.Drawing.Color.LightGray; - textGradient22.Color2 = System.Drawing.Color.Gray; - customFont22.Color = System.Drawing.Color.White; - customFont22.EmbeddedFontName = "TitilliumText22L Lt"; - customFont22.IsBold = true; - customFont22.IsItalic = false; - customFont22.IsUnderline = false; - customFont22.Size = 11F; - customFont22.StandardFontName = "Arial"; - customFont22.UseAntiAliasing = true; - customFont22.UseEmbeddedFont = true; - textGradient22.Font = customFont22; - textGradient22.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient22.Padding = 2; - labelTheme6.TextGradient = textGradient22; + textGradient19.BorderColor = System.Drawing.Color.DarkGray; + textGradient19.BorderWidth = 1; + textGradient19.Color1 = System.Drawing.Color.LightGray; + textGradient19.Color2 = System.Drawing.Color.Gray; + customFont19.Color = System.Drawing.Color.White; + customFont19.EmbeddedFontName = "TitilliumText22L Lt"; + customFont19.IsBold = true; + customFont19.IsItalic = false; + customFont19.IsUnderline = false; + customFont19.Size = 11F; + customFont19.StandardFontName = "Arial"; + customFont19.UseAntiAliasing = true; + customFont19.UseEmbeddedFont = true; + textGradient19.Font = customFont19; + textGradient19.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient19.Padding = 2; + labelTheme6.TextGradient = textGradient19; this.lblTitle.Theme = labelTheme6; // // btnSync @@ -885,58 +821,58 @@ private void InitializeComponent() this.btnSync.TabIndex = 96; this.btnSync.Text = "Sync"; this.btnSync.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - textGradient23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient23.BorderWidth = 1; - textGradient23.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); - textGradient23.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); - customFont23.Color = System.Drawing.Color.White; - customFont23.EmbeddedFontName = "Junction"; - customFont23.IsBold = false; - customFont23.IsItalic = false; - customFont23.IsUnderline = false; - customFont23.Size = 8F; - customFont23.StandardFontName = "Arial"; - customFont23.UseAntiAliasing = true; - customFont23.UseEmbeddedFont = true; - textGradient23.Font = customFont23; - textGradient23.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient23.Padding = 6; - buttonTheme6.TextGradientDefault = textGradient23; - textGradient24.BorderColor = System.Drawing.Color.DarkGray; - textGradient24.BorderWidth = 1; - textGradient24.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient24.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - customFont24.Color = System.Drawing.Color.LightGray; - customFont24.EmbeddedFontName = "Junction"; - customFont24.IsBold = false; - customFont24.IsItalic = false; - customFont24.IsUnderline = false; - customFont24.Size = 8F; - customFont24.StandardFontName = "Arial"; - customFont24.UseAntiAliasing = true; - customFont24.UseEmbeddedFont = true; - textGradient24.Font = customFont24; - textGradient24.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient24.Padding = 6; - buttonTheme6.TextGradientDisabled = textGradient24; - textGradient25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); - textGradient25.BorderWidth = 1; - textGradient25.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); - textGradient25.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); - customFont25.Color = System.Drawing.Color.White; - customFont25.EmbeddedFontName = "Junction"; - customFont25.IsBold = false; - customFont25.IsItalic = false; - customFont25.IsUnderline = false; - customFont25.Size = 8F; - customFont25.StandardFontName = "Arial"; - customFont25.UseAntiAliasing = true; - customFont25.UseEmbeddedFont = true; - textGradient25.Font = customFont25; - textGradient25.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; - textGradient25.Padding = 6; - buttonTheme6.TextGradientMouseOver = textGradient25; - this.btnSync.Theme = buttonTheme6; + textGradient20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient20.BorderWidth = 1; + textGradient20.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + textGradient20.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(76)))), ((int)(((byte)(60))))); + customFont20.Color = System.Drawing.Color.White; + customFont20.EmbeddedFontName = "Junction"; + customFont20.IsBold = false; + customFont20.IsItalic = false; + customFont20.IsUnderline = false; + customFont20.Size = 8F; + customFont20.StandardFontName = "Arial"; + customFont20.UseAntiAliasing = true; + customFont20.UseEmbeddedFont = true; + textGradient20.Font = customFont20; + textGradient20.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient20.Padding = 6; + buttonTheme5.TextGradientDefault = textGradient20; + textGradient21.BorderColor = System.Drawing.Color.DarkGray; + textGradient21.BorderWidth = 1; + textGradient21.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient21.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + customFont21.Color = System.Drawing.Color.LightGray; + customFont21.EmbeddedFontName = "Junction"; + customFont21.IsBold = false; + customFont21.IsItalic = false; + customFont21.IsUnderline = false; + customFont21.Size = 8F; + customFont21.StandardFontName = "Arial"; + customFont21.UseAntiAliasing = true; + customFont21.UseEmbeddedFont = true; + textGradient21.Font = customFont21; + textGradient21.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient21.Padding = 6; + buttonTheme5.TextGradientDisabled = textGradient21; + textGradient22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(43)))), ((int)(((byte)(30))))); + textGradient22.BorderWidth = 1; + textGradient22.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + textGradient22.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(119)))), ((int)(((byte)(106))))); + customFont22.Color = System.Drawing.Color.White; + customFont22.EmbeddedFontName = "Junction"; + customFont22.IsBold = false; + customFont22.IsItalic = false; + customFont22.IsUnderline = false; + customFont22.Size = 8F; + customFont22.StandardFontName = "Arial"; + customFont22.UseAntiAliasing = true; + customFont22.UseEmbeddedFont = true; + textGradient22.Font = customFont22; + textGradient22.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + textGradient22.Padding = 6; + buttonTheme5.TextGradientMouseOver = textGradient22; + this.btnSync.Theme = buttonTheme5; this.btnSync.Click += new System.EventHandler(this.btnSync_Click); // // frmSyncMenu @@ -970,21 +906,21 @@ private void InitializeComponent() private WindowsControls.Label lblFreeSpace; private WindowsControls.Label lblTitle; private WindowsControls.Button btnSync; - private WindowsControls.Button btnSelectAll; private WindowsControls.Panel panelLoading; private WindowsControls.Label lblLoading; private System.Windows.Forms.ProgressBar progressBar; private System.Windows.Forms.TreeView treeView; private System.Windows.Forms.ImageList imageListIcons; private System.Windows.Forms.SplitContainer splitContainer1; - private System.Windows.Forms.ListView listView1; - private WindowsControls.Button button4; - private WindowsControls.Button button3; - private WindowsControls.Button button2; - private WindowsControls.Button button1; + private System.Windows.Forms.ListView listViewSelection; + private WindowsControls.Button btnAddAll; + private WindowsControls.Button btnRemove; + private WindowsControls.Button btnRemoveAll; + private WindowsControls.Button btnAdd; private WindowsControls.Label label1; private WindowsControls.Label label2; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelLoading; + private System.Windows.Forms.ColumnHeader columnHeader1; } } \ No newline at end of file diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.cs b/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.cs index 71b669b0..571abc02 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.cs +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.cs @@ -20,12 +20,14 @@ using System.ComponentModel; using System.Data; using System.Drawing; +using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; using MPfm.Library.Objects; using MPfm.MVP.Models; using MPfm.MVP.Views; +using MPfm.Sound.AudioFiles; namespace MPfm.Windows.Classes.Forms { @@ -62,12 +64,41 @@ private void treeView_BeforeExpand(object sender, TreeViewCancelEventArgs e) OnExpandItem(item, e.Node); } + private void btnAdd_Click(object sender, EventArgs e) + { + if (treeView.SelectedNode == null) + return; + + OnSelectItem((SyncMenuItemEntity) treeView.SelectedNode.Tag); + } + + private void btnRemove_Click(object sender, EventArgs e) + { + if (listViewSelection.SelectedItems.Count == 0) + return; + + OnRemoveItem((AudioFile)listViewSelection.SelectedItems[0].Tag); + } + + private void btnAddAll_Click(object sender, EventArgs e) + { + OnSelectAll(); + } + + private void btnRemoveAll_Click(object sender, EventArgs e) + { + OnRemoveAll(); + } + #region ISyncMenuView implementation public Action OnExpandItem { get; set; } public Action OnSelectItem { get; set; } + public Action OnRemoveItem { get; set; } public Action OnSync { get; set; } public Action OnSelectButtonClick { get; set; } + public Action OnSelectAll { get; set; } + public Action OnRemoveAll { get; set; } public void SyncMenuError(Exception ex) { @@ -134,6 +165,7 @@ public void RefreshItems(List items) { MethodInvoker methodUIUpdate = delegate { + treeView.BeginUpdate(); treeView.Nodes.Clear(); foreach (var item in items) { @@ -157,6 +189,7 @@ public void RefreshItems(List items) treeView.Nodes.Add(treeNode); treeNode.Nodes.Add(new TreeNode("dummy", 0, 0)); } + treeView.EndUpdate(); }; if (InvokeRequired) @@ -167,6 +200,39 @@ public void RefreshItems(List items) public void RefreshSyncTotal(string title, string subtitle, bool enoughFreeSpace) { + MethodInvoker methodUIUpdate = delegate { + lblTotal.Text = title; + lblFreeSpace.Text = subtitle; + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); + } + + public void RefreshSelection(List audioFiles) + { + MethodInvoker methodUIUpdate = delegate + { + listViewSelection.Items.Clear(); + listViewSelection.BeginUpdate(); + foreach (var audioFile in audioFiles) + { + //var split = audioFile.FilePath.Split(new char[2] {'/', '\\'}, StringSplitOptions.RemoveEmptyEntries); + //string title = split[split.Length - 1]; + string title = string.Format("{0} / {1} / {2}. {3}", audioFile.ArtistName, audioFile.AlbumTitle, audioFile.TrackNumber, audioFile.Title); + listViewSelection.Items.Add(new ListViewItem(title, 0) { + Tag = audioFile + }); + } + listViewSelection.EndUpdate(); + }; + + if (InvokeRequired) + BeginInvoke(methodUIUpdate); + else + methodUIUpdate.Invoke(); } public void InsertItems(int index, List items, object userData) @@ -224,6 +290,5 @@ public void RemoveItems(int index, int count, object userData) #endregion - } } diff --git a/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.resx b/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.resx index 7a39b412..98007da5 100644 --- a/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.resx +++ b/MPfm/MPfm.Windows/Classes/Forms/frmSyncMenu.resx @@ -125,7 +125,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADi - CQAAAk1TRnQBSQFMAgEBAwEAAaABAAGgAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CQAAAk1TRnQBSQFMAgEBAwEAAdgBAAHYAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA diff --git a/MPfm/MPfm.Windows/Properties/Resources.Designer.cs b/MPfm/MPfm.Windows/Properties/Resources.Designer.cs index 989c718d..d90f65f4 100644 --- a/MPfm/MPfm.Windows/Properties/Resources.Designer.cs +++ b/MPfm/MPfm.Windows/Properties/Resources.Designer.cs @@ -430,6 +430,16 @@ internal class Resources { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap icon_button_refresh_16 { + get { + object obj = ResourceManager.GetObject("icon_button_refresh_16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/MPfm/MPfm.Windows/Properties/Resources.resx b/MPfm/MPfm.Windows/Properties/Resources.resx index 5c7c7bfc..fe69f555 100644 --- a/MPfm/MPfm.Windows/Properties/Resources.resx +++ b/MPfm/MPfm.Windows/Properties/Resources.resx @@ -118,15 +118,21 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\world.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\information.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\vcard.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\layout.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\icon_button_connect_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\accept.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\timeline_marker.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -136,6 +142,9 @@ ..\Resources\page_white_text.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\wrench.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\music.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -145,12 +154,6 @@ ..\Resources\package_link.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\database.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\control_play.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\cancel.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -160,6 +163,9 @@ ..\Resources\error.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\icon_button_download_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\arrow_right.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -172,8 +178,8 @@ ..\Resources\database_gear.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\layout.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\folder_explore.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -184,8 +190,8 @@ ..\Resources\page_white_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\folder_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\control_fastforward.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\arrow_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -199,17 +205,11 @@ ..\Resources\add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\control_start.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\help.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\accept.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\control_stop.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\folder_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\control_repeat.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -220,11 +220,11 @@ ..\Resources\chart_line.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\folder_explore.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\control_stop.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\control_pause.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\control_start.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\time.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -250,11 +250,11 @@ ..\Resources\tick.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\bug.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\arrow_rotate_clockwise.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\world.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\database.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\image.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -268,22 +268,25 @@ ..\Resources\application_view_detail.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\shape_align_middle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\cog.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\control_fastforward.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\control_play.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\shape_align_middle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\control_pause.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\arrow_rotate_clockwise.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\bug.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\wrench.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\vcard.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\icon_button_download_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\icon_button_refresh_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file