diff --git a/LibationLauncher/Program.cs b/LibationLauncher/Program.cs
index e613751b..ca4c4205 100644
--- a/LibationLauncher/Program.cs
+++ b/LibationLauncher/Program.cs
@@ -7,7 +7,6 @@ using LibationWinForms;
using LibationWinForms.Dialogs;
using Microsoft.Extensions.Configuration;
using Serilog;
-using WinFormsDesigner.Dialogs;
namespace LibationLauncher
{
diff --git a/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.Designer.cs b/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.Designer.cs
index 0e7faabc..88b8f762 100644
--- a/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.Designer.cs
+++ b/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.Designer.cs
@@ -1,4 +1,4 @@
-namespace WinFormsDesigner.Dialogs
+namespace LibationWinForms.Dialogs
{
partial class LibationFilesDialog
{
diff --git a/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.cs b/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.cs
index 85f582f9..7c59cced 100644
--- a/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.cs
+++ b/LibationWinForms/UNTESTED/Dialogs/LibationFilesDialog.cs
@@ -2,7 +2,7 @@
using System.Windows.Forms;
using FileManager;
-namespace WinFormsDesigner.Dialogs
+namespace LibationWinForms.Dialogs
{
public partial class LibationFilesDialog : Form
{
diff --git a/LibationWinForms/UNTESTED/Form1.Designer.cs b/LibationWinForms/UNTESTED/Form1.Designer.cs
index b3e57179..58fced7c 100644
--- a/LibationWinForms/UNTESTED/Form1.Designer.cs
+++ b/LibationWinForms/UNTESTED/Form1.Designer.cs
@@ -1,282 +1,302 @@
namespace LibationWinForms
{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
- #region Windows Form Designer generated code
+ #region Windows Form Designer generated code
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.gridPanel = new System.Windows.Forms.Panel();
- this.filterHelpBtn = new System.Windows.Forms.Button();
- this.filterBtn = new System.Windows.Forms.Button();
- this.filterSearchTb = new System.Windows.Forms.TextBox();
- this.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.scanLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.liberateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.beginBookBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.beginPdfBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.quickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.firstFilterIsDefaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
- this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
- this.backupsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
- this.pdfsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
- this.addFilterBtn = new System.Windows.Forms.Button();
- this.menuStrip1.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.SuspendLayout();
- //
- // gridPanel
- //
- this.gridPanel.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.gridPanel.Location = new System.Drawing.Point(12, 56);
- this.gridPanel.Name = "gridPanel";
- this.gridPanel.Size = new System.Drawing.Size(839, 386);
- this.gridPanel.TabIndex = 5;
- //
- // filterHelpBtn
- //
- this.filterHelpBtn.Location = new System.Drawing.Point(12, 27);
- this.filterHelpBtn.Name = "filterHelpBtn";
- this.filterHelpBtn.Size = new System.Drawing.Size(22, 23);
- this.filterHelpBtn.TabIndex = 3;
- this.filterHelpBtn.Text = "?";
- this.filterHelpBtn.UseVisualStyleBackColor = true;
- this.filterHelpBtn.Click += new System.EventHandler(this.filterHelpBtn_Click);
- //
- // filterBtn
- //
- this.filterBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.filterBtn.Location = new System.Drawing.Point(776, 27);
- this.filterBtn.Name = "filterBtn";
- this.filterBtn.Size = new System.Drawing.Size(75, 23);
- this.filterBtn.TabIndex = 2;
- this.filterBtn.Text = "Filter";
- this.filterBtn.UseVisualStyleBackColor = true;
- this.filterBtn.Click += new System.EventHandler(this.filterBtn_Click);
- //
- // filterSearchTb
- //
- this.filterSearchTb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.filterSearchTb.Location = new System.Drawing.Point(186, 29);
- this.filterSearchTb.Name = "filterSearchTb";
- this.filterSearchTb.Size = new System.Drawing.Size(584, 20);
- this.filterSearchTb.TabIndex = 1;
- this.filterSearchTb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.filterSearchTb_KeyPress);
- //
- // menuStrip1
- //
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.importToolStripMenuItem,
- this.liberateToolStripMenuItem,
- this.quickFiltersToolStripMenuItem,
- this.settingsToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(863, 24);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
- //
- // importToolStripMenuItem
- //
- this.importToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.scanLibraryToolStripMenuItem});
- this.importToolStripMenuItem.Name = "importToolStripMenuItem";
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
+ this.gridPanel = new System.Windows.Forms.Panel();
+ this.filterHelpBtn = new System.Windows.Forms.Button();
+ this.filterBtn = new System.Windows.Forms.Button();
+ this.filterSearchTb = new System.Windows.Forms.TextBox();
+ this.menuStrip1 = new System.Windows.Forms.MenuStrip();
+ this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.scanLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.liberateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.beginBookBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.beginPdfBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.quickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.firstFilterIsDefaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.basicSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.advancedSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.statusStrip1 = new System.Windows.Forms.StatusStrip();
+ this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
+ this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
+ this.backupsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
+ this.pdfsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
+ this.addFilterBtn = new System.Windows.Forms.Button();
+ this.menuStrip1.SuspendLayout();
+ this.statusStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // gridPanel
+ //
+ this.gridPanel.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.gridPanel.Location = new System.Drawing.Point(12, 56);
+ this.gridPanel.Name = "gridPanel";
+ this.gridPanel.Size = new System.Drawing.Size(839, 386);
+ this.gridPanel.TabIndex = 5;
+ //
+ // filterHelpBtn
+ //
+ this.filterHelpBtn.Location = new System.Drawing.Point(12, 27);
+ this.filterHelpBtn.Name = "filterHelpBtn";
+ this.filterHelpBtn.Size = new System.Drawing.Size(22, 23);
+ this.filterHelpBtn.TabIndex = 3;
+ this.filterHelpBtn.Text = "?";
+ this.filterHelpBtn.UseVisualStyleBackColor = true;
+ this.filterHelpBtn.Click += new System.EventHandler(this.filterHelpBtn_Click);
+ //
+ // filterBtn
+ //
+ this.filterBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.filterBtn.Location = new System.Drawing.Point(776, 27);
+ this.filterBtn.Name = "filterBtn";
+ this.filterBtn.Size = new System.Drawing.Size(75, 23);
+ this.filterBtn.TabIndex = 2;
+ this.filterBtn.Text = "Filter";
+ this.filterBtn.UseVisualStyleBackColor = true;
+ this.filterBtn.Click += new System.EventHandler(this.filterBtn_Click);
+ //
+ // filterSearchTb
+ //
+ this.filterSearchTb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.filterSearchTb.Location = new System.Drawing.Point(186, 29);
+ this.filterSearchTb.Name = "filterSearchTb";
+ this.filterSearchTb.Size = new System.Drawing.Size(584, 20);
+ this.filterSearchTb.TabIndex = 1;
+ this.filterSearchTb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.filterSearchTb_KeyPress);
+ //
+ // menuStrip1
+ //
+ this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.importToolStripMenuItem,
+ this.liberateToolStripMenuItem,
+ this.quickFiltersToolStripMenuItem,
+ this.settingsToolStripMenuItem});
+ this.menuStrip1.Location = new System.Drawing.Point(0, 0);
+ this.menuStrip1.Name = "menuStrip1";
+ this.menuStrip1.Size = new System.Drawing.Size(863, 24);
+ this.menuStrip1.TabIndex = 0;
+ this.menuStrip1.Text = "menuStrip1";
+ //
+ // importToolStripMenuItem
+ //
+ this.importToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.scanLibraryToolStripMenuItem});
+ this.importToolStripMenuItem.Name = "importToolStripMenuItem";
this.importToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
this.importToolStripMenuItem.Text = "&Import";
- //
- // scanLibraryToolStripMenuItem
- //
- this.scanLibraryToolStripMenuItem.Name = "scanLibraryToolStripMenuItem";
+ //
+ // scanLibraryToolStripMenuItem
+ //
+ this.scanLibraryToolStripMenuItem.Name = "scanLibraryToolStripMenuItem";
this.scanLibraryToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.scanLibraryToolStripMenuItem.Text = "Scan &Library";
- this.scanLibraryToolStripMenuItem.Click += new System.EventHandler(this.scanLibraryToolStripMenuItem_Click);
- //
- // liberateToolStripMenuItem
- //
- this.liberateToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.beginBookBackupsToolStripMenuItem,
- this.beginPdfBackupsToolStripMenuItem});
- this.liberateToolStripMenuItem.Name = "liberateToolStripMenuItem";
- this.liberateToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
- this.liberateToolStripMenuItem.Text = "&Liberate";
- //
- // beginBookBackupsToolStripMenuItem
- //
- this.beginBookBackupsToolStripMenuItem.Name = "beginBookBackupsToolStripMenuItem";
+ this.scanLibraryToolStripMenuItem.Click += new System.EventHandler(this.scanLibraryToolStripMenuItem_Click);
+ //
+ // liberateToolStripMenuItem
+ //
+ this.liberateToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.beginBookBackupsToolStripMenuItem,
+ this.beginPdfBackupsToolStripMenuItem});
+ this.liberateToolStripMenuItem.Name = "liberateToolStripMenuItem";
+ this.liberateToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
+ this.liberateToolStripMenuItem.Text = "&Liberate";
+ //
+ // beginBookBackupsToolStripMenuItem
+ //
+ this.beginBookBackupsToolStripMenuItem.Name = "beginBookBackupsToolStripMenuItem";
this.beginBookBackupsToolStripMenuItem.Size = new System.Drawing.Size(248, 22);
this.beginBookBackupsToolStripMenuItem.Text = "Begin &Book and PDF Backups: {0}";
this.beginBookBackupsToolStripMenuItem.Click += new System.EventHandler(this.beginBookBackupsToolStripMenuItem_Click);
- //
- // beginPdfBackupsToolStripMenuItem
- //
- this.beginPdfBackupsToolStripMenuItem.Name = "beginPdfBackupsToolStripMenuItem";
+ //
+ // beginPdfBackupsToolStripMenuItem
+ //
+ this.beginPdfBackupsToolStripMenuItem.Name = "beginPdfBackupsToolStripMenuItem";
this.beginPdfBackupsToolStripMenuItem.Size = new System.Drawing.Size(248, 22);
this.beginPdfBackupsToolStripMenuItem.Text = "Begin &PDF Only Backups: {0}";
this.beginPdfBackupsToolStripMenuItem.Click += new System.EventHandler(this.beginPdfBackupsToolStripMenuItem_Click);
- //
- // quickFiltersToolStripMenuItem
- //
- this.quickFiltersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.firstFilterIsDefaultToolStripMenuItem,
- this.editQuickFiltersToolStripMenuItem,
- this.toolStripSeparator1});
- this.quickFiltersToolStripMenuItem.Name = "quickFiltersToolStripMenuItem";
- this.quickFiltersToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
- this.quickFiltersToolStripMenuItem.Text = "Quick &Filters";
- //
- // firstFilterIsDefaultToolStripMenuItem
- //
- this.firstFilterIsDefaultToolStripMenuItem.Name = "firstFilterIsDefaultToolStripMenuItem";
- this.firstFilterIsDefaultToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
- this.firstFilterIsDefaultToolStripMenuItem.Text = "Start Libation with 1st filter &Default";
- this.firstFilterIsDefaultToolStripMenuItem.Click += new System.EventHandler(this.FirstFilterIsDefaultToolStripMenuItem_Click);
- //
- // editQuickFiltersToolStripMenuItem
- //
- this.editQuickFiltersToolStripMenuItem.Name = "editQuickFiltersToolStripMenuItem";
- this.editQuickFiltersToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
- this.editQuickFiltersToolStripMenuItem.Text = "&Edit quick filters";
- this.editQuickFiltersToolStripMenuItem.Click += new System.EventHandler(this.EditQuickFiltersToolStripMenuItem_Click);
- //
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(253, 6);
- //
- // settingsToolStripMenuItem
- //
- this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
- this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
- this.settingsToolStripMenuItem.Text = "&Settings";
- this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.visibleCountLbl,
- this.springLbl,
- this.backupsCountsLbl,
- this.pdfsCountsLbl});
- this.statusStrip1.Location = new System.Drawing.Point(0, 445);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(863, 22);
- this.statusStrip1.TabIndex = 6;
- this.statusStrip1.Text = "statusStrip1";
- //
- // visibleCountLbl
- //
- this.visibleCountLbl.Name = "visibleCountLbl";
- this.visibleCountLbl.Size = new System.Drawing.Size(61, 17);
- this.visibleCountLbl.Text = "Visible: {0}";
- //
- // springLbl
- //
- this.springLbl.Name = "springLbl";
- this.springLbl.Size = new System.Drawing.Size(232, 17);
- this.springLbl.Spring = true;
- //
- // backupsCountsLbl
- //
- this.backupsCountsLbl.Name = "backupsCountsLbl";
- this.backupsCountsLbl.Size = new System.Drawing.Size(336, 17);
- this.backupsCountsLbl.Text = "BACKUPS: No progress: {0} Encrypted: {1} Fully backed up: {2}";
- //
- // pdfsCountsLbl
- //
- this.pdfsCountsLbl.Name = "pdfsCountsLbl";
- this.pdfsCountsLbl.Size = new System.Drawing.Size(219, 17);
- this.pdfsCountsLbl.Text = "| PDFs: NOT d/l\'ed: {0} Downloaded: {1}";
- //
- // addFilterBtn
- //
- this.addFilterBtn.Location = new System.Drawing.Point(40, 27);
- this.addFilterBtn.Name = "addFilterBtn";
- this.addFilterBtn.Size = new System.Drawing.Size(140, 23);
- this.addFilterBtn.TabIndex = 4;
- this.addFilterBtn.Text = "Add To Quick Filters";
- this.addFilterBtn.UseVisualStyleBackColor = true;
- this.addFilterBtn.Click += new System.EventHandler(this.AddFilterBtn_Click);
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(863, 467);
- this.Controls.Add(this.filterBtn);
- this.Controls.Add(this.addFilterBtn);
- this.Controls.Add(this.filterSearchTb);
- this.Controls.Add(this.filterHelpBtn);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.gridPanel);
- this.Controls.Add(this.menuStrip1);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MainMenuStrip = this.menuStrip1;
- this.Name = "Form1";
- this.Text = "Libation: Liberate your Library";
- this.Load += new System.EventHandler(this.Form1_Load);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
+ //
+ // quickFiltersToolStripMenuItem
+ //
+ this.quickFiltersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.firstFilterIsDefaultToolStripMenuItem,
+ this.editQuickFiltersToolStripMenuItem,
+ this.toolStripSeparator1});
+ this.quickFiltersToolStripMenuItem.Name = "quickFiltersToolStripMenuItem";
+ this.quickFiltersToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
+ this.quickFiltersToolStripMenuItem.Text = "Quick &Filters";
+ //
+ // firstFilterIsDefaultToolStripMenuItem
+ //
+ this.firstFilterIsDefaultToolStripMenuItem.Name = "firstFilterIsDefaultToolStripMenuItem";
+ this.firstFilterIsDefaultToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
+ this.firstFilterIsDefaultToolStripMenuItem.Text = "Start Libation with 1st filter &Default";
+ this.firstFilterIsDefaultToolStripMenuItem.Click += new System.EventHandler(this.FirstFilterIsDefaultToolStripMenuItem_Click);
+ //
+ // editQuickFiltersToolStripMenuItem
+ //
+ this.editQuickFiltersToolStripMenuItem.Name = "editQuickFiltersToolStripMenuItem";
+ this.editQuickFiltersToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
+ this.editQuickFiltersToolStripMenuItem.Text = "&Edit quick filters";
+ this.editQuickFiltersToolStripMenuItem.Click += new System.EventHandler(this.EditQuickFiltersToolStripMenuItem_Click);
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(253, 6);
+ //
+ // settingsToolStripMenuItem
+ //
+ this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.basicSettingsToolStripMenuItem,
+ this.advancedSettingsToolStripMenuItem});
+ this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
+ this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
+ this.settingsToolStripMenuItem.Text = "&Settings";
+ //
+ // basicSettingsToolStripMenuItem
+ //
+ this.basicSettingsToolStripMenuItem.Name = "basicSettingsToolStripMenuItem";
+ this.basicSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.basicSettingsToolStripMenuItem.Text = "&Basic Settings";
+ this.basicSettingsToolStripMenuItem.Click += new System.EventHandler(this.basicSettingsToolStripMenuItem_Click);
+ //
+ // advancedSettingsToolStripMenuItem
+ //
+ this.advancedSettingsToolStripMenuItem.Name = "advancedSettingsToolStripMenuItem";
+ this.advancedSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.advancedSettingsToolStripMenuItem.Text = "&Advanced Settings";
+ this.advancedSettingsToolStripMenuItem.Click += new System.EventHandler(this.advancedSettingsToolStripMenuItem_Click);
+ //
+ // statusStrip1
+ //
+ this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.visibleCountLbl,
+ this.springLbl,
+ this.backupsCountsLbl,
+ this.pdfsCountsLbl});
+ this.statusStrip1.Location = new System.Drawing.Point(0, 445);
+ this.statusStrip1.Name = "statusStrip1";
+ this.statusStrip1.Size = new System.Drawing.Size(863, 22);
+ this.statusStrip1.TabIndex = 6;
+ this.statusStrip1.Text = "statusStrip1";
+ //
+ // visibleCountLbl
+ //
+ this.visibleCountLbl.Name = "visibleCountLbl";
+ this.visibleCountLbl.Size = new System.Drawing.Size(61, 17);
+ this.visibleCountLbl.Text = "Visible: {0}";
+ //
+ // springLbl
+ //
+ this.springLbl.Name = "springLbl";
+ this.springLbl.Size = new System.Drawing.Size(232, 17);
+ this.springLbl.Spring = true;
+ //
+ // backupsCountsLbl
+ //
+ this.backupsCountsLbl.Name = "backupsCountsLbl";
+ this.backupsCountsLbl.Size = new System.Drawing.Size(336, 17);
+ this.backupsCountsLbl.Text = "BACKUPS: No progress: {0} Encrypted: {1} Fully backed up: {2}";
+ //
+ // pdfsCountsLbl
+ //
+ this.pdfsCountsLbl.Name = "pdfsCountsLbl";
+ this.pdfsCountsLbl.Size = new System.Drawing.Size(219, 17);
+ this.pdfsCountsLbl.Text = "| PDFs: NOT d/l\'ed: {0} Downloaded: {1}";
+ //
+ // addFilterBtn
+ //
+ this.addFilterBtn.Location = new System.Drawing.Point(40, 27);
+ this.addFilterBtn.Name = "addFilterBtn";
+ this.addFilterBtn.Size = new System.Drawing.Size(140, 23);
+ this.addFilterBtn.TabIndex = 4;
+ this.addFilterBtn.Text = "Add To Quick Filters";
+ this.addFilterBtn.UseVisualStyleBackColor = true;
+ this.addFilterBtn.Click += new System.EventHandler(this.AddFilterBtn_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(863, 467);
+ this.Controls.Add(this.filterBtn);
+ this.Controls.Add(this.addFilterBtn);
+ this.Controls.Add(this.filterSearchTb);
+ this.Controls.Add(this.filterHelpBtn);
+ this.Controls.Add(this.statusStrip1);
+ this.Controls.Add(this.gridPanel);
+ this.Controls.Add(this.menuStrip1);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MainMenuStrip = this.menuStrip1;
+ this.Name = "Form1";
+ this.Text = "Libation: Liberate your Library";
+ this.Load += new System.EventHandler(this.Form1_Load);
+ this.menuStrip1.ResumeLayout(false);
+ this.menuStrip1.PerformLayout();
+ this.statusStrip1.ResumeLayout(false);
+ this.statusStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
- }
+ }
- #endregion
- private System.Windows.Forms.Panel gridPanel;
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.ToolStripStatusLabel springLbl;
- private System.Windows.Forms.ToolStripStatusLabel visibleCountLbl;
- private System.Windows.Forms.ToolStripMenuItem liberateToolStripMenuItem;
- private System.Windows.Forms.ToolStripStatusLabel backupsCountsLbl;
- private System.Windows.Forms.ToolStripMenuItem beginBookBackupsToolStripMenuItem;
- private System.Windows.Forms.ToolStripStatusLabel pdfsCountsLbl;
- private System.Windows.Forms.ToolStripMenuItem beginPdfBackupsToolStripMenuItem;
- private System.Windows.Forms.TextBox filterSearchTb;
- private System.Windows.Forms.Button filterBtn;
- private System.Windows.Forms.Button filterHelpBtn;
- private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem scanLibraryToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem quickFiltersToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem firstFilterIsDefaultToolStripMenuItem;
- private System.Windows.Forms.Button addFilterBtn;
- private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
- }
+ #endregion
+ private System.Windows.Forms.Panel gridPanel;
+ private System.Windows.Forms.MenuStrip menuStrip1;
+ private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
+ private System.Windows.Forms.StatusStrip statusStrip1;
+ private System.Windows.Forms.ToolStripStatusLabel springLbl;
+ private System.Windows.Forms.ToolStripStatusLabel visibleCountLbl;
+ private System.Windows.Forms.ToolStripMenuItem liberateToolStripMenuItem;
+ private System.Windows.Forms.ToolStripStatusLabel backupsCountsLbl;
+ private System.Windows.Forms.ToolStripMenuItem beginBookBackupsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripStatusLabel pdfsCountsLbl;
+ private System.Windows.Forms.ToolStripMenuItem beginPdfBackupsToolStripMenuItem;
+ private System.Windows.Forms.TextBox filterSearchTb;
+ private System.Windows.Forms.Button filterBtn;
+ private System.Windows.Forms.Button filterHelpBtn;
+ private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem scanLibraryToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem quickFiltersToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem firstFilterIsDefaultToolStripMenuItem;
+ private System.Windows.Forms.Button addFilterBtn;
+ private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+ private System.Windows.Forms.ToolStripMenuItem basicSettingsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem advancedSettingsToolStripMenuItem;
+ }
}
diff --git a/LibationWinForms/UNTESTED/Form1.cs b/LibationWinForms/UNTESTED/Form1.cs
index 27036fc4..5e141658 100644
--- a/LibationWinForms/UNTESTED/Form1.cs
+++ b/LibationWinForms/UNTESTED/Form1.cs
@@ -302,8 +302,26 @@ namespace LibationWinForms
private void EditQuickFiltersToolStripMenuItem_Click(object sender, EventArgs e) => new Dialogs.EditQuickFilters(this).ShowDialog();
#endregion
- #region settings menu item
- private void settingsToolStripMenuItem_Click(object sender, EventArgs e) => new SettingsDialog().ShowDialog();
+ #region settings menu
+ private void basicSettingsToolStripMenuItem_Click(object sender, EventArgs e) => new SettingsDialog().ShowDialog();
+
+ private void advancedSettingsToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ var oldLocation = Configuration.Instance.LibationFiles;
+ new LibationFilesDialog().ShowDialog();
+
+ // no change
+ if (System.IO.Path.GetFullPath(oldLocation).EqualsInsensitive(System.IO.Path.GetFullPath(Configuration.Instance.LibationFiles)))
+ return;
+
+ MessageBox.Show(
+ "You have changed a file path important for this program. All files will remain in their original location; nothing will be moved. Libation must be restarted so these changes are handled correctly.",
+ "Closing Libation",
+ MessageBoxButtons.OK,
+ MessageBoxIcon.Exclamation);
+ Application.Exit();
+ Environment.Exit(0);
+ }
#endregion
}
}
diff --git a/WinFormsDesigner/Form1.Designer.cs b/WinFormsDesigner/Form1.Designer.cs
index e11bbabe..abd06293 100644
--- a/WinFormsDesigner/Form1.Designer.cs
+++ b/WinFormsDesigner/Form1.Designer.cs
@@ -44,6 +44,8 @@
this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.basicSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.advancedSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
@@ -169,10 +171,25 @@
//
// settingsToolStripMenuItem
//
+ this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.basicSettingsToolStripMenuItem,
+ this.advancedSettingsToolStripMenuItem});
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
this.settingsToolStripMenuItem.Text = "&Settings";
//
+ // basicSettingsToolStripMenuItem
+ //
+ this.basicSettingsToolStripMenuItem.Name = "basicSettingsToolStripMenuItem";
+ this.basicSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.basicSettingsToolStripMenuItem.Text = "&Basic Settings";
+ //
+ // advancedSettingsToolStripMenuItem
+ //
+ this.advancedSettingsToolStripMenuItem.Name = "advancedSettingsToolStripMenuItem";
+ this.advancedSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.advancedSettingsToolStripMenuItem.Text = "&Advanced Settings";
+ //
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -266,6 +283,8 @@
private System.Windows.Forms.Button addFilterBtn;
private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
- }
+ private System.Windows.Forms.ToolStripMenuItem basicSettingsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem advancedSettingsToolStripMenuItem;
+ }
}