fixed comparer enable buttons (ich depp)

This commit is contained in:
Daniel Schick 2023-03-11 10:48:05 +01:00
parent e10ea34f1b
commit ec179966f3
2 changed files with 4 additions and 1 deletions

View File

@ -221,6 +221,7 @@ namespace ENI2.EditControls
if (ofd.ShowDialog() ?? false)
{
textBoxSource.Text = ofd.FileName;
_sourcePath = ofd.FileName;
}
EnableCompareButton();
}
@ -234,6 +235,7 @@ namespace ENI2.EditControls
if (ofd.ShowDialog() ?? false)
{
textBoxTarget.Text = ofd.FileName;
_targetPath = ofd.FileName;
}
EnableCompareButton();
}

View File

@ -335,6 +335,7 @@ namespace ENI2
labelVersion.Text = "V. " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
labelUsername.Text = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
Microsoft.Win32.SystemEvents.SessionEnded += SystemEvents_SessionEnded;
this.textUsername.Focus();
}
private void SystemEvents_SessionEnded(object sender, Microsoft.Win32.SessionEndedEventArgs e)