Code Cleanup

This commit is contained in:
Michael Bucari-Tovo 2021-08-10 16:10:53 -06:00
parent 95766a43c5
commit ef35c2aee9
41 changed files with 1451 additions and 1818 deletions

View file

@ -3,25 +3,25 @@ using System.Windows.Forms;
namespace LibationWinForms.Dialogs
{
public partial class BookDetailsDialog : Form
{
public string NewTags { get; private set; }
public partial class BookDetailsDialog : Form
{
public string NewTags { get; private set; }
public BookDetailsDialog()
{
InitializeComponent();
}
public BookDetailsDialog(string title, string rawTags) : this()
{
this.Text = $"Edit Tags - {title}";
public BookDetailsDialog()
{
InitializeComponent();
}
public BookDetailsDialog(string title, string rawTags) : this()
{
this.Text = $"Edit Tags - {title}";
this.newTagsTb.Text = rawTags;
}
this.newTagsTb.Text = rawTags;
}
private void SaveBtn_Click(object sender, EventArgs e)
{
NewTags = this.newTagsTb.Text;
DialogResult = DialogResult.OK;
}
}
private void SaveBtn_Click(object sender, EventArgs e)
{
NewTags = this.newTagsTb.Text;
DialogResult = DialogResult.OK;
}
}
}