Add new settings options to main form
This commit is contained in:
parent
c7891dc448
commit
2d0af587d5
@ -7,7 +7,6 @@ using LibationWinForms;
|
|||||||
using LibationWinForms.Dialogs;
|
using LibationWinForms.Dialogs;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Serilog;
|
using Serilog;
|
||||||
using WinFormsDesigner.Dialogs;
|
|
||||||
|
|
||||||
namespace LibationLauncher
|
namespace LibationLauncher
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace WinFormsDesigner.Dialogs
|
namespace LibationWinForms.Dialogs
|
||||||
{
|
{
|
||||||
partial class LibationFilesDialog
|
partial class LibationFilesDialog
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using FileManager;
|
using FileManager;
|
||||||
|
|
||||||
namespace WinFormsDesigner.Dialogs
|
namespace LibationWinForms.Dialogs
|
||||||
{
|
{
|
||||||
public partial class LibationFilesDialog : Form
|
public partial class LibationFilesDialog : Form
|
||||||
{
|
{
|
||||||
|
|||||||
546
LibationWinForms/UNTESTED/Form1.Designer.cs
generated
546
LibationWinForms/UNTESTED/Form1.Designer.cs
generated
@ -1,282 +1,302 @@
|
|||||||
namespace LibationWinForms
|
namespace LibationWinForms
|
||||||
{
|
{
|
||||||
partial class Form1
|
partial class Form1
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing && (components != null))
|
if (disposing && (components != null))
|
||||||
{
|
{
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||||
this.gridPanel = new System.Windows.Forms.Panel();
|
this.gridPanel = new System.Windows.Forms.Panel();
|
||||||
this.filterHelpBtn = new System.Windows.Forms.Button();
|
this.filterHelpBtn = new System.Windows.Forms.Button();
|
||||||
this.filterBtn = new System.Windows.Forms.Button();
|
this.filterBtn = new System.Windows.Forms.Button();
|
||||||
this.filterSearchTb = new System.Windows.Forms.TextBox();
|
this.filterSearchTb = new System.Windows.Forms.TextBox();
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.scanLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.scanLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.liberateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.liberateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.beginBookBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.beginBookBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.beginPdfBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.beginPdfBackupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.quickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.quickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.firstFilterIsDefaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.firstFilterIsDefaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
this.basicSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
this.advancedSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
this.backupsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.pdfsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.addFilterBtn = new System.Windows.Forms.Button();
|
this.backupsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.pdfsCountsLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.addFilterBtn = new System.Windows.Forms.Button();
|
||||||
this.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
//
|
this.statusStrip1.SuspendLayout();
|
||||||
// gridPanel
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
this.gridPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
// gridPanel
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
//
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
this.gridPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
this.gridPanel.Location = new System.Drawing.Point(12, 56);
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
this.gridPanel.Name = "gridPanel";
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.gridPanel.Size = new System.Drawing.Size(839, 386);
|
this.gridPanel.Location = new System.Drawing.Point(12, 56);
|
||||||
this.gridPanel.TabIndex = 5;
|
this.gridPanel.Name = "gridPanel";
|
||||||
//
|
this.gridPanel.Size = new System.Drawing.Size(839, 386);
|
||||||
// filterHelpBtn
|
this.gridPanel.TabIndex = 5;
|
||||||
//
|
//
|
||||||
this.filterHelpBtn.Location = new System.Drawing.Point(12, 27);
|
// filterHelpBtn
|
||||||
this.filterHelpBtn.Name = "filterHelpBtn";
|
//
|
||||||
this.filterHelpBtn.Size = new System.Drawing.Size(22, 23);
|
this.filterHelpBtn.Location = new System.Drawing.Point(12, 27);
|
||||||
this.filterHelpBtn.TabIndex = 3;
|
this.filterHelpBtn.Name = "filterHelpBtn";
|
||||||
this.filterHelpBtn.Text = "?";
|
this.filterHelpBtn.Size = new System.Drawing.Size(22, 23);
|
||||||
this.filterHelpBtn.UseVisualStyleBackColor = true;
|
this.filterHelpBtn.TabIndex = 3;
|
||||||
this.filterHelpBtn.Click += new System.EventHandler(this.filterHelpBtn_Click);
|
this.filterHelpBtn.Text = "?";
|
||||||
//
|
this.filterHelpBtn.UseVisualStyleBackColor = true;
|
||||||
// filterBtn
|
this.filterHelpBtn.Click += new System.EventHandler(this.filterHelpBtn_Click);
|
||||||
//
|
//
|
||||||
this.filterBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
// filterBtn
|
||||||
this.filterBtn.Location = new System.Drawing.Point(776, 27);
|
//
|
||||||
this.filterBtn.Name = "filterBtn";
|
this.filterBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.filterBtn.Size = new System.Drawing.Size(75, 23);
|
this.filterBtn.Location = new System.Drawing.Point(776, 27);
|
||||||
this.filterBtn.TabIndex = 2;
|
this.filterBtn.Name = "filterBtn";
|
||||||
this.filterBtn.Text = "Filter";
|
this.filterBtn.Size = new System.Drawing.Size(75, 23);
|
||||||
this.filterBtn.UseVisualStyleBackColor = true;
|
this.filterBtn.TabIndex = 2;
|
||||||
this.filterBtn.Click += new System.EventHandler(this.filterBtn_Click);
|
this.filterBtn.Text = "Filter";
|
||||||
//
|
this.filterBtn.UseVisualStyleBackColor = true;
|
||||||
// filterSearchTb
|
this.filterBtn.Click += new System.EventHandler(this.filterBtn_Click);
|
||||||
//
|
//
|
||||||
this.filterSearchTb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
// filterSearchTb
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
//
|
||||||
this.filterSearchTb.Location = new System.Drawing.Point(186, 29);
|
this.filterSearchTb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
this.filterSearchTb.Name = "filterSearchTb";
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.filterSearchTb.Size = new System.Drawing.Size(584, 20);
|
this.filterSearchTb.Location = new System.Drawing.Point(186, 29);
|
||||||
this.filterSearchTb.TabIndex = 1;
|
this.filterSearchTb.Name = "filterSearchTb";
|
||||||
this.filterSearchTb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.filterSearchTb_KeyPress);
|
this.filterSearchTb.Size = new System.Drawing.Size(584, 20);
|
||||||
//
|
this.filterSearchTb.TabIndex = 1;
|
||||||
// menuStrip1
|
this.filterSearchTb.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.filterSearchTb_KeyPress);
|
||||||
//
|
//
|
||||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
// menuStrip1
|
||||||
this.importToolStripMenuItem,
|
//
|
||||||
this.liberateToolStripMenuItem,
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.quickFiltersToolStripMenuItem,
|
this.importToolStripMenuItem,
|
||||||
this.settingsToolStripMenuItem});
|
this.liberateToolStripMenuItem,
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.quickFiltersToolStripMenuItem,
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.settingsToolStripMenuItem});
|
||||||
this.menuStrip1.Size = new System.Drawing.Size(863, 24);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.menuStrip1.TabIndex = 0;
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Size = new System.Drawing.Size(863, 24);
|
||||||
//
|
this.menuStrip1.TabIndex = 0;
|
||||||
// importToolStripMenuItem
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
this.importToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
// importToolStripMenuItem
|
||||||
this.scanLibraryToolStripMenuItem});
|
//
|
||||||
this.importToolStripMenuItem.Name = "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.Size = new System.Drawing.Size(55, 20);
|
||||||
this.importToolStripMenuItem.Text = "&Import";
|
this.importToolStripMenuItem.Text = "&Import";
|
||||||
//
|
//
|
||||||
// scanLibraryToolStripMenuItem
|
// scanLibraryToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.scanLibraryToolStripMenuItem.Name = "scanLibraryToolStripMenuItem";
|
this.scanLibraryToolStripMenuItem.Name = "scanLibraryToolStripMenuItem";
|
||||||
this.scanLibraryToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
|
this.scanLibraryToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
|
||||||
this.scanLibraryToolStripMenuItem.Text = "Scan &Library";
|
this.scanLibraryToolStripMenuItem.Text = "Scan &Library";
|
||||||
this.scanLibraryToolStripMenuItem.Click += new System.EventHandler(this.scanLibraryToolStripMenuItem_Click);
|
this.scanLibraryToolStripMenuItem.Click += new System.EventHandler(this.scanLibraryToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// liberateToolStripMenuItem
|
// liberateToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.liberateToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.liberateToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.beginBookBackupsToolStripMenuItem,
|
this.beginBookBackupsToolStripMenuItem,
|
||||||
this.beginPdfBackupsToolStripMenuItem});
|
this.beginPdfBackupsToolStripMenuItem});
|
||||||
this.liberateToolStripMenuItem.Name = "liberateToolStripMenuItem";
|
this.liberateToolStripMenuItem.Name = "liberateToolStripMenuItem";
|
||||||
this.liberateToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
this.liberateToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
||||||
this.liberateToolStripMenuItem.Text = "&Liberate";
|
this.liberateToolStripMenuItem.Text = "&Liberate";
|
||||||
//
|
//
|
||||||
// beginBookBackupsToolStripMenuItem
|
// beginBookBackupsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.beginBookBackupsToolStripMenuItem.Name = "beginBookBackupsToolStripMenuItem";
|
this.beginBookBackupsToolStripMenuItem.Name = "beginBookBackupsToolStripMenuItem";
|
||||||
this.beginBookBackupsToolStripMenuItem.Size = new System.Drawing.Size(248, 22);
|
this.beginBookBackupsToolStripMenuItem.Size = new System.Drawing.Size(248, 22);
|
||||||
this.beginBookBackupsToolStripMenuItem.Text = "Begin &Book and PDF Backups: {0}";
|
this.beginBookBackupsToolStripMenuItem.Text = "Begin &Book and PDF Backups: {0}";
|
||||||
this.beginBookBackupsToolStripMenuItem.Click += new System.EventHandler(this.beginBookBackupsToolStripMenuItem_Click);
|
this.beginBookBackupsToolStripMenuItem.Click += new System.EventHandler(this.beginBookBackupsToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// beginPdfBackupsToolStripMenuItem
|
// beginPdfBackupsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.beginPdfBackupsToolStripMenuItem.Name = "beginPdfBackupsToolStripMenuItem";
|
this.beginPdfBackupsToolStripMenuItem.Name = "beginPdfBackupsToolStripMenuItem";
|
||||||
this.beginPdfBackupsToolStripMenuItem.Size = new System.Drawing.Size(248, 22);
|
this.beginPdfBackupsToolStripMenuItem.Size = new System.Drawing.Size(248, 22);
|
||||||
this.beginPdfBackupsToolStripMenuItem.Text = "Begin &PDF Only Backups: {0}";
|
this.beginPdfBackupsToolStripMenuItem.Text = "Begin &PDF Only Backups: {0}";
|
||||||
this.beginPdfBackupsToolStripMenuItem.Click += new System.EventHandler(this.beginPdfBackupsToolStripMenuItem_Click);
|
this.beginPdfBackupsToolStripMenuItem.Click += new System.EventHandler(this.beginPdfBackupsToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// quickFiltersToolStripMenuItem
|
// quickFiltersToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.quickFiltersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.quickFiltersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.firstFilterIsDefaultToolStripMenuItem,
|
this.firstFilterIsDefaultToolStripMenuItem,
|
||||||
this.editQuickFiltersToolStripMenuItem,
|
this.editQuickFiltersToolStripMenuItem,
|
||||||
this.toolStripSeparator1});
|
this.toolStripSeparator1});
|
||||||
this.quickFiltersToolStripMenuItem.Name = "quickFiltersToolStripMenuItem";
|
this.quickFiltersToolStripMenuItem.Name = "quickFiltersToolStripMenuItem";
|
||||||
this.quickFiltersToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
|
this.quickFiltersToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
|
||||||
this.quickFiltersToolStripMenuItem.Text = "Quick &Filters";
|
this.quickFiltersToolStripMenuItem.Text = "Quick &Filters";
|
||||||
//
|
//
|
||||||
// firstFilterIsDefaultToolStripMenuItem
|
// firstFilterIsDefaultToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.firstFilterIsDefaultToolStripMenuItem.Name = "firstFilterIsDefaultToolStripMenuItem";
|
this.firstFilterIsDefaultToolStripMenuItem.Name = "firstFilterIsDefaultToolStripMenuItem";
|
||||||
this.firstFilterIsDefaultToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
|
this.firstFilterIsDefaultToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
|
||||||
this.firstFilterIsDefaultToolStripMenuItem.Text = "Start Libation with 1st filter &Default";
|
this.firstFilterIsDefaultToolStripMenuItem.Text = "Start Libation with 1st filter &Default";
|
||||||
this.firstFilterIsDefaultToolStripMenuItem.Click += new System.EventHandler(this.FirstFilterIsDefaultToolStripMenuItem_Click);
|
this.firstFilterIsDefaultToolStripMenuItem.Click += new System.EventHandler(this.FirstFilterIsDefaultToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// editQuickFiltersToolStripMenuItem
|
// editQuickFiltersToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.editQuickFiltersToolStripMenuItem.Name = "editQuickFiltersToolStripMenuItem";
|
this.editQuickFiltersToolStripMenuItem.Name = "editQuickFiltersToolStripMenuItem";
|
||||||
this.editQuickFiltersToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
|
this.editQuickFiltersToolStripMenuItem.Size = new System.Drawing.Size(256, 22);
|
||||||
this.editQuickFiltersToolStripMenuItem.Text = "&Edit quick filters";
|
this.editQuickFiltersToolStripMenuItem.Text = "&Edit quick filters";
|
||||||
this.editQuickFiltersToolStripMenuItem.Click += new System.EventHandler(this.EditQuickFiltersToolStripMenuItem_Click);
|
this.editQuickFiltersToolStripMenuItem.Click += new System.EventHandler(this.EditQuickFiltersToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(253, 6);
|
this.toolStripSeparator1.Size = new System.Drawing.Size(253, 6);
|
||||||
//
|
//
|
||||||
// settingsToolStripMenuItem
|
// settingsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
this.basicSettingsToolStripMenuItem,
|
||||||
this.settingsToolStripMenuItem.Text = "&Settings";
|
this.advancedSettingsToolStripMenuItem});
|
||||||
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
|
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
||||||
//
|
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
||||||
// statusStrip1
|
this.settingsToolStripMenuItem.Text = "&Settings";
|
||||||
//
|
//
|
||||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
// basicSettingsToolStripMenuItem
|
||||||
this.visibleCountLbl,
|
//
|
||||||
this.springLbl,
|
this.basicSettingsToolStripMenuItem.Name = "basicSettingsToolStripMenuItem";
|
||||||
this.backupsCountsLbl,
|
this.basicSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||||
this.pdfsCountsLbl});
|
this.basicSettingsToolStripMenuItem.Text = "&Basic Settings";
|
||||||
this.statusStrip1.Location = new System.Drawing.Point(0, 445);
|
this.basicSettingsToolStripMenuItem.Click += new System.EventHandler(this.basicSettingsToolStripMenuItem_Click);
|
||||||
this.statusStrip1.Name = "statusStrip1";
|
//
|
||||||
this.statusStrip1.Size = new System.Drawing.Size(863, 22);
|
// advancedSettingsToolStripMenuItem
|
||||||
this.statusStrip1.TabIndex = 6;
|
//
|
||||||
this.statusStrip1.Text = "statusStrip1";
|
this.advancedSettingsToolStripMenuItem.Name = "advancedSettingsToolStripMenuItem";
|
||||||
//
|
this.advancedSettingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||||
// visibleCountLbl
|
this.advancedSettingsToolStripMenuItem.Text = "&Advanced Settings";
|
||||||
//
|
this.advancedSettingsToolStripMenuItem.Click += new System.EventHandler(this.advancedSettingsToolStripMenuItem_Click);
|
||||||
this.visibleCountLbl.Name = "visibleCountLbl";
|
//
|
||||||
this.visibleCountLbl.Size = new System.Drawing.Size(61, 17);
|
// statusStrip1
|
||||||
this.visibleCountLbl.Text = "Visible: {0}";
|
//
|
||||||
//
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
// springLbl
|
this.visibleCountLbl,
|
||||||
//
|
this.springLbl,
|
||||||
this.springLbl.Name = "springLbl";
|
this.backupsCountsLbl,
|
||||||
this.springLbl.Size = new System.Drawing.Size(232, 17);
|
this.pdfsCountsLbl});
|
||||||
this.springLbl.Spring = true;
|
this.statusStrip1.Location = new System.Drawing.Point(0, 445);
|
||||||
//
|
this.statusStrip1.Name = "statusStrip1";
|
||||||
// backupsCountsLbl
|
this.statusStrip1.Size = new System.Drawing.Size(863, 22);
|
||||||
//
|
this.statusStrip1.TabIndex = 6;
|
||||||
this.backupsCountsLbl.Name = "backupsCountsLbl";
|
this.statusStrip1.Text = "statusStrip1";
|
||||||
this.backupsCountsLbl.Size = new System.Drawing.Size(336, 17);
|
//
|
||||||
this.backupsCountsLbl.Text = "BACKUPS: No progress: {0} Encrypted: {1} Fully backed up: {2}";
|
// visibleCountLbl
|
||||||
//
|
//
|
||||||
// pdfsCountsLbl
|
this.visibleCountLbl.Name = "visibleCountLbl";
|
||||||
//
|
this.visibleCountLbl.Size = new System.Drawing.Size(61, 17);
|
||||||
this.pdfsCountsLbl.Name = "pdfsCountsLbl";
|
this.visibleCountLbl.Text = "Visible: {0}";
|
||||||
this.pdfsCountsLbl.Size = new System.Drawing.Size(219, 17);
|
//
|
||||||
this.pdfsCountsLbl.Text = "| PDFs: NOT d/l\'ed: {0} Downloaded: {1}";
|
// springLbl
|
||||||
//
|
//
|
||||||
// addFilterBtn
|
this.springLbl.Name = "springLbl";
|
||||||
//
|
this.springLbl.Size = new System.Drawing.Size(232, 17);
|
||||||
this.addFilterBtn.Location = new System.Drawing.Point(40, 27);
|
this.springLbl.Spring = true;
|
||||||
this.addFilterBtn.Name = "addFilterBtn";
|
//
|
||||||
this.addFilterBtn.Size = new System.Drawing.Size(140, 23);
|
// backupsCountsLbl
|
||||||
this.addFilterBtn.TabIndex = 4;
|
//
|
||||||
this.addFilterBtn.Text = "Add To Quick Filters";
|
this.backupsCountsLbl.Name = "backupsCountsLbl";
|
||||||
this.addFilterBtn.UseVisualStyleBackColor = true;
|
this.backupsCountsLbl.Size = new System.Drawing.Size(336, 17);
|
||||||
this.addFilterBtn.Click += new System.EventHandler(this.AddFilterBtn_Click);
|
this.backupsCountsLbl.Text = "BACKUPS: No progress: {0} Encrypted: {1} Fully backed up: {2}";
|
||||||
//
|
//
|
||||||
// Form1
|
// pdfsCountsLbl
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.pdfsCountsLbl.Name = "pdfsCountsLbl";
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.pdfsCountsLbl.Size = new System.Drawing.Size(219, 17);
|
||||||
this.ClientSize = new System.Drawing.Size(863, 467);
|
this.pdfsCountsLbl.Text = "| PDFs: NOT d/l\'ed: {0} Downloaded: {1}";
|
||||||
this.Controls.Add(this.filterBtn);
|
//
|
||||||
this.Controls.Add(this.addFilterBtn);
|
// addFilterBtn
|
||||||
this.Controls.Add(this.filterSearchTb);
|
//
|
||||||
this.Controls.Add(this.filterHelpBtn);
|
this.addFilterBtn.Location = new System.Drawing.Point(40, 27);
|
||||||
this.Controls.Add(this.statusStrip1);
|
this.addFilterBtn.Name = "addFilterBtn";
|
||||||
this.Controls.Add(this.gridPanel);
|
this.addFilterBtn.Size = new System.Drawing.Size(140, 23);
|
||||||
this.Controls.Add(this.menuStrip1);
|
this.addFilterBtn.TabIndex = 4;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.addFilterBtn.Text = "Add To Quick Filters";
|
||||||
this.MainMenuStrip = this.menuStrip1;
|
this.addFilterBtn.UseVisualStyleBackColor = true;
|
||||||
this.Name = "Form1";
|
this.addFilterBtn.Click += new System.EventHandler(this.AddFilterBtn_Click);
|
||||||
this.Text = "Libation: Liberate your Library";
|
//
|
||||||
this.Load += new System.EventHandler(this.Form1_Load);
|
// Form1
|
||||||
this.menuStrip1.ResumeLayout(false);
|
//
|
||||||
this.menuStrip1.PerformLayout();
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.statusStrip1.ResumeLayout(false);
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.statusStrip1.PerformLayout();
|
this.ClientSize = new System.Drawing.Size(863, 467);
|
||||||
this.ResumeLayout(false);
|
this.Controls.Add(this.filterBtn);
|
||||||
this.PerformLayout();
|
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
|
#endregion
|
||||||
private System.Windows.Forms.Panel gridPanel;
|
private System.Windows.Forms.Panel gridPanel;
|
||||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
|
||||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel springLbl;
|
private System.Windows.Forms.ToolStripStatusLabel springLbl;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel visibleCountLbl;
|
private System.Windows.Forms.ToolStripStatusLabel visibleCountLbl;
|
||||||
private System.Windows.Forms.ToolStripMenuItem liberateToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem liberateToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel backupsCountsLbl;
|
private System.Windows.Forms.ToolStripStatusLabel backupsCountsLbl;
|
||||||
private System.Windows.Forms.ToolStripMenuItem beginBookBackupsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem beginBookBackupsToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel pdfsCountsLbl;
|
private System.Windows.Forms.ToolStripStatusLabel pdfsCountsLbl;
|
||||||
private System.Windows.Forms.ToolStripMenuItem beginPdfBackupsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem beginPdfBackupsToolStripMenuItem;
|
||||||
private System.Windows.Forms.TextBox filterSearchTb;
|
private System.Windows.Forms.TextBox filterSearchTb;
|
||||||
private System.Windows.Forms.Button filterBtn;
|
private System.Windows.Forms.Button filterBtn;
|
||||||
private System.Windows.Forms.Button filterHelpBtn;
|
private System.Windows.Forms.Button filterHelpBtn;
|
||||||
private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem scanLibraryToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem scanLibraryToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem quickFiltersToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem quickFiltersToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem firstFilterIsDefaultToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem firstFilterIsDefaultToolStripMenuItem;
|
||||||
private System.Windows.Forms.Button addFilterBtn;
|
private System.Windows.Forms.Button addFilterBtn;
|
||||||
private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||||
}
|
private System.Windows.Forms.ToolStripMenuItem basicSettingsToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem advancedSettingsToolStripMenuItem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -302,8 +302,26 @@ namespace LibationWinForms
|
|||||||
private void EditQuickFiltersToolStripMenuItem_Click(object sender, EventArgs e) => new Dialogs.EditQuickFilters(this).ShowDialog();
|
private void EditQuickFiltersToolStripMenuItem_Click(object sender, EventArgs e) => new Dialogs.EditQuickFilters(this).ShowDialog();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region settings menu item
|
#region settings menu
|
||||||
private void settingsToolStripMenuItem_Click(object sender, EventArgs e) => new SettingsDialog().ShowDialog();
|
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
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
21
WinFormsDesigner/Form1.Designer.cs
generated
21
WinFormsDesigner/Form1.Designer.cs
generated
@ -44,6 +44,8 @@
|
|||||||
this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.editQuickFiltersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
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.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
this.visibleCountLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
this.springLbl = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
@ -169,10 +171,25 @@
|
|||||||
//
|
//
|
||||||
// settingsToolStripMenuItem
|
// settingsToolStripMenuItem
|
||||||
//
|
//
|
||||||
|
this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.basicSettingsToolStripMenuItem,
|
||||||
|
this.advancedSettingsToolStripMenuItem});
|
||||||
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
||||||
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
|
||||||
this.settingsToolStripMenuItem.Text = "&Settings";
|
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
|
// statusStrip1
|
||||||
//
|
//
|
||||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@ -266,6 +283,8 @@
|
|||||||
private System.Windows.Forms.Button addFilterBtn;
|
private System.Windows.Forms.Button addFilterBtn;
|
||||||
private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem editQuickFiltersToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||||
}
|
private System.Windows.Forms.ToolStripMenuItem basicSettingsToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem advancedSettingsToolStripMenuItem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user