Skip to content

Commit

Permalink
Merge pull request #1192 from Ordisoftware/dev
Browse files Browse the repository at this point in the history
Improve UI
  • Loading branch information
Ordisoftware authored Aug 3, 2022
2 parents aa4e049 + 4c1e206 commit 4744770
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 152 deletions.
48 changes: 24 additions & 24 deletions Project/Source/Common/Hebrew/WinControls/LettersControl.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Project/Source/Common/Hebrew/WinControls/LettersControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ public LettersControl()
PanelLetters.BackColor = Color.FromKnownColor(DefaultPanelLettersBackColor);
}


/// <summary>
/// Control load event.
/// </summary>
private void LettersControl_Load(object sender, EventArgs e)
{
ActionLetterViewDetails_VisibleChanged(null, null);
Redraw();
UpdateControls();
}

/// <summary>
Expand Down Expand Up @@ -586,6 +586,7 @@ public bool UpdateControls()
{
bool enabled = TextBox.Text.Length >= 1;
ActionReset.Enabled = !InititialWord.IsNullOrEmpty();
ActionReset.Text = ActionReset.Enabled ? "-" : "";
ActionClear.Enabled = enabled;
ActionDelFirst.Enabled = enabled;
ActionDelLast.Enabled = enabled;
Expand Down
Loading

0 comments on commit 4744770

Please sign in to comment.