diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index 2bc54519..fdf81f9a 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.5.0.12 + 5.5.0.20 diff --git a/LibationWinForms/Dialogs/BookDetailsDialog.Designer.cs b/LibationWinForms/Dialogs/BookDetailsDialog.Designer.cs index 11680c97..83726793 100644 --- a/LibationWinForms/Dialogs/BookDetailsDialog.Designer.cs +++ b/LibationWinForms/Dialogs/BookDetailsDialog.Designer.cs @@ -28,58 +28,62 @@ /// private void InitializeComponent() { - this.SaveBtn = new System.Windows.Forms.Button(); - this.newTagsTb = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // SaveBtn - // - this.SaveBtn.Location = new System.Drawing.Point(396, 25); - this.SaveBtn.Name = "SaveBtn"; - this.SaveBtn.Size = new System.Drawing.Size(75, 23); - this.SaveBtn.TabIndex = 1; - this.SaveBtn.Text = "Save"; - this.SaveBtn.UseVisualStyleBackColor = true; - this.SaveBtn.Click += new System.EventHandler(this.SaveBtn_Click); - // - // newTagsTb - // - this.newTagsTb.Location = new System.Drawing.Point(12, 27); - this.newTagsTb.Name = "newTagsTb"; - this.newTagsTb.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.newTagsTb.Size = new System.Drawing.Size(375, 20); - this.newTagsTb.TabIndex = 0; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(12, 9); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(424, 13); - this.label1.TabIndex = 2; - this.label1.Text = "Tags are separated by a space. Each tag can contain letters, numbers, and undersc" + + this.SaveBtn = new System.Windows.Forms.Button(); + this.newTagsTb = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // SaveBtn + // + this.SaveBtn.Location = new System.Drawing.Point(462, 29); + this.SaveBtn.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + this.SaveBtn.Name = "SaveBtn"; + this.SaveBtn.Size = new System.Drawing.Size(88, 27); + this.SaveBtn.TabIndex = 1; + this.SaveBtn.Text = "Save"; + this.SaveBtn.UseVisualStyleBackColor = true; + this.SaveBtn.Click += new System.EventHandler(this.SaveBtn_Click); + // + // newTagsTb + // + this.newTagsTb.Location = new System.Drawing.Point(14, 31); + this.newTagsTb.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + this.newTagsTb.Name = "newTagsTb"; + this.newTagsTb.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.newTagsTb.Size = new System.Drawing.Size(437, 23); + this.newTagsTb.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(14, 10); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(458, 15); + this.label1.TabIndex = 2; + this.label1.Text = "Tags are separated by a space. Each tag can contain letters, numbers, and undersc" + "ores"; - // - // EditTagsDialog - // - this.AcceptButton = this.SaveBtn; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(483, 60); - this.Controls.Add(this.label1); - this.Controls.Add(this.newTagsTb); - this.Controls.Add(this.SaveBtn); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "EditTagsDialog"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Edit Tags"; - this.ResumeLayout(false); - this.PerformLayout(); + // + // BookDetailsDialog + // + this.AcceptButton = this.SaveBtn; + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(564, 69); + this.Controls.Add(this.label1); + this.Controls.Add(this.newTagsTb); + this.Controls.Add(this.SaveBtn); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "BookDetailsDialog"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Book Details"; + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/LibationWinForms/Dialogs/BookDetailsDialog.cs b/LibationWinForms/Dialogs/BookDetailsDialog.cs index 04a5d29e..ebd17f45 100644 --- a/LibationWinForms/Dialogs/BookDetailsDialog.cs +++ b/LibationWinForms/Dialogs/BookDetailsDialog.cs @@ -14,7 +14,7 @@ namespace LibationWinForms.Dialogs } public BookDetailsDialog(string title, string rawTags) : this() { - this.Text = $"Edit Tags - {title}"; + this.Text = title; this.newTagsTb.Text = rawTags; } diff --git a/LibationWinForms/Dialogs/BookDetailsDialog.resx b/LibationWinForms/Dialogs/BookDetailsDialog.resx index e8ae276d..f298a7be 100644 --- a/LibationWinForms/Dialogs/BookDetailsDialog.resx +++ b/LibationWinForms/Dialogs/BookDetailsDialog.resx @@ -1,5 +1,4 @@ - - + diff --git a/LibationWinForms/EditTagsDataGridViewImageButtonColumn.cs b/LibationWinForms/EditTagsDataGridViewImageButtonColumn.cs index d76cc04a..f702d3fc 100644 --- a/LibationWinForms/EditTagsDataGridViewImageButtonColumn.cs +++ b/LibationWinForms/EditTagsDataGridViewImageButtonColumn.cs @@ -13,7 +13,7 @@ namespace LibationWinForms internal class EditTagsDataGridViewImageButtonCell : DataGridViewImageButtonCell { - private static readonly Image ButtonImage = Properties.Resources.edit_tags_25x25; + private static readonly Image ButtonImage = Properties.Resources.edit_25x25; private static readonly Color HiddenForeColor = Color.LightGray; protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts) diff --git a/LibationWinForms/ProductsGrid.Designer.cs b/LibationWinForms/ProductsGrid.Designer.cs index 82f5703e..335469f3 100644 --- a/LibationWinForms/ProductsGrid.Designer.cs +++ b/LibationWinForms/ProductsGrid.Designer.cs @@ -200,7 +200,7 @@ // dataGridViewImageButtonBoxColumn2 // this.dataGridViewImageButtonBoxColumn2.DataPropertyName = "DisplayTags"; - this.dataGridViewImageButtonBoxColumn2.HeaderText = "Edit Tags"; + this.dataGridViewImageButtonBoxColumn2.HeaderText = "Tags and Details"; this.dataGridViewImageButtonBoxColumn2.Name = "dataGridViewImageButtonBoxColumn2"; this.dataGridViewImageButtonBoxColumn2.ReadOnly = true; this.dataGridViewImageButtonBoxColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.False; diff --git a/LibationWinForms/Properties/Resources.Designer.cs b/LibationWinForms/Properties/Resources.Designer.cs index e8f896e9..5d51d0b3 100644 --- a/LibationWinForms/Properties/Resources.Designer.cs +++ b/LibationWinForms/Properties/Resources.Designer.cs @@ -90,6 +90,26 @@ namespace LibationWinForms.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap edit_25x25 { + get { + object obj = ResourceManager.GetObject("edit_25x25", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap edit_64x64 { + get { + object obj = ResourceManager.GetObject("edit_64x64", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/LibationWinForms/Properties/Resources.resx b/LibationWinForms/Properties/Resources.resx index 47825a4b..01504f95 100644 --- a/LibationWinForms/Properties/Resources.resx +++ b/LibationWinForms/Properties/Resources.resx @@ -1,5 +1,64 @@  + @@ -53,12 +112,12 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + ..\Resources\img-coverart-prod-unavailable_300x300.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -68,6 +127,12 @@ ..\Resources\img-coverart-prod-unavailable_80x80.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\edit_25x25.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\edit_64x64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\edit-tags-25x25.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/LibationWinForms/Resources/edit_25x25.png b/LibationWinForms/Resources/edit_25x25.png new file mode 100644 index 00000000..12e70d0f Binary files /dev/null and b/LibationWinForms/Resources/edit_25x25.png differ diff --git a/LibationWinForms/Resources/edit_64x64.png b/LibationWinForms/Resources/edit_64x64.png new file mode 100644 index 00000000..1d9e5f83 Binary files /dev/null and b/LibationWinForms/Resources/edit_64x64.png differ diff --git a/REFERENCE.txt b/REFERENCE.txt index ffa989f3..d66c5a9c 100644 --- a/REFERENCE.txt +++ b/REFERENCE.txt @@ -52,11 +52,13 @@ publish win64 platform, single-file dotnet publish -r win-x64 -c Release -- end HOW TO PUBLISH --------------------------------------------------------------------------------------------------------------------- --- begin IMAGES --------------------------------------------------------------------------------------------------------------------- +-- begin IMAGES/ICONS --------------------------------------------------------------------------------------------------------------------- edit tags icon images from: icons8.com search: tags --- end IMAGES --------------------------------------------------------------------------------------------------------------------- + +'edit' icon: https://www.iconfinder.com/icons/383147/edit_icon +-- end IMAGES/ICONS --------------------------------------------------------------------------------------------------------------------- -- begin AUDIBLE DETAILS --------------------------------------------------------------------------------------------------------------------- alternate book id (eg BK_RAND_006061) is called 'sku' , 'sku_lite' , 'prod_id' , 'product_id' in different parts of the site