Removed excessive declarations.
This commit is contained in:
parent
5c8ad72a5e
commit
957bec1c7f
@ -23,10 +23,6 @@ namespace LibationWinForms
|
|||||||
[Browsable(false)]
|
[Browsable(false)]
|
||||||
public string AudibleProductId => Book.AudibleProductId;
|
public string AudibleProductId => Book.AudibleProductId;
|
||||||
[Browsable(false)]
|
[Browsable(false)]
|
||||||
public string Tags => Book.UserDefinedItem.Tags;
|
|
||||||
[Browsable(false)]
|
|
||||||
public IEnumerable<string> TagsEnumerated => Book.UserDefinedItem.TagsEnumerated;
|
|
||||||
[Browsable(false)]
|
|
||||||
public LibraryBook LibraryBook { get; }
|
public LibraryBook LibraryBook { get; }
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
@ -114,7 +110,7 @@ namespace LibationWinForms
|
|||||||
public string Misc { get; }
|
public string Misc { get; }
|
||||||
public string Description { get; }
|
public string Description { get; }
|
||||||
|
|
||||||
public string DisplayTags => string.Join("\r\n", TagsEnumerated);
|
public string DisplayTags => string.Join("\r\n", Book.UserDefinedItem.TagsEnumerated);
|
||||||
public (LiberatedState, PdfState) Liberate => (LibraryCommands.Liberated_Status(Book), LibraryCommands.Pdf_Status(Book));
|
public (LiberatedState, PdfState) Liberate => (LibraryCommands.Liberated_Status(Book), LibraryCommands.Pdf_Status(Book));
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@ -80,7 +80,7 @@ namespace LibationWinForms
|
|||||||
|
|
||||||
private void EditTags_Click(GridEntry liveGridEntry)
|
private void EditTags_Click(GridEntry liveGridEntry)
|
||||||
{
|
{
|
||||||
var bookDetailsForm = new BookDetailsDialog(liveGridEntry.Title, liveGridEntry.Tags);
|
var bookDetailsForm = new BookDetailsDialog(liveGridEntry.Title, liveGridEntry.LibraryBook.Book.UserDefinedItem.Tags);
|
||||||
if (bookDetailsForm.ShowDialog() != DialogResult.OK)
|
if (bookDetailsForm.ShowDialog() != DialogResult.OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user