Skip to content

Commit

Permalink
Clean up login form
Browse files Browse the repository at this point in the history
  • Loading branch information
electroly committed Nov 16, 2024
1 parent cc72ac1 commit b2c0a96
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 242 deletions.
8 changes: 4 additions & 4 deletions src/J.App/EditTagsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private void UpdateAllLists()
tagsTab.UpdateList();
}

private sealed class TagsTab : TabPage
private sealed class TagsTab : MyTabPage
{
private readonly TagType _type;
private readonly LibraryProviderAdapter _libraryProvider;
Expand All @@ -153,8 +153,8 @@ public TagsTab(
LibraryProviderAdapter libraryProvider,
IServiceProvider serviceProvider
)
: base(type.PluralName)
{
Text = type.PluralName;
_type = type;
_libraryProvider = libraryProvider;
_serviceProvider = serviceProvider;
Expand Down Expand Up @@ -348,7 +348,7 @@ public void UpdateList()
}
}

private sealed class NewTagTypeTab : TabPage
private sealed class NewTagTypeTab : MyTabPage
{
private readonly FlowLayoutPanel _flow;
private readonly TextBox _singularNameText,
Expand All @@ -360,8 +360,8 @@ private sealed class NewTagTypeTab : TabPage
public event EventHandler<CreateEventArgs>? Create;

public NewTagTypeTab()
: base("➕")
{
Text = "➕";
Ui ui = new(this);

Controls.Add(_flow = ui.NewFlowColumn());
Expand Down
Loading

0 comments on commit b2c0a96

Please sign in to comment.