Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Rogier committed Mar 26, 2023
1 parent 5c323b9 commit 7d8b244
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project/Source/Common/Core/WinForms/TraceForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ private void ActionRefreshFiles_Click(object sender, EventArgs e)
else
{
var content = File.ReadAllText(file);
string strError = $"{LogTraceEvent.Error} {DebugManager.EventSeparator}";
string strException = $"{LogTraceEvent.Exception} {DebugManager.EventSeparator}";
string strError = $"{nameof(LogTraceEvent.Error)} {DebugManager.EventSeparator}";
string strException = $"{nameof(LogTraceEvent.Exception)} {DebugManager.EventSeparator}";
if ( content.IndexOf(strError, StringComparison.OrdinalIgnoreCase) >= 0
|| content.IndexOf(strException, StringComparison.OrdinalIgnoreCase) >= 0 )
SelectFile.Items.Add(file);
Expand Down
2 changes: 1 addition & 1 deletion Project/Source/Forms/Config/PreferencesForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Ordisoftware.Hebrew.Calendar;
/// Provides form to edit the preferences.
/// </summary>
/// <seealso cref="T:System.Windows.Forms.Form"/>
partial class PreferencesForm : Form
sealed partial class PreferencesForm : Form
{

#region Variables
Expand Down

0 comments on commit 7d8b244

Please sign in to comment.