fixed comparer enable buttons (ich depp)
This commit is contained in:
parent
e10ea34f1b
commit
ec179966f3
@ -221,6 +221,7 @@ namespace ENI2.EditControls
|
|||||||
if (ofd.ShowDialog() ?? false)
|
if (ofd.ShowDialog() ?? false)
|
||||||
{
|
{
|
||||||
textBoxSource.Text = ofd.FileName;
|
textBoxSource.Text = ofd.FileName;
|
||||||
|
_sourcePath = ofd.FileName;
|
||||||
}
|
}
|
||||||
EnableCompareButton();
|
EnableCompareButton();
|
||||||
}
|
}
|
||||||
@ -234,6 +235,7 @@ namespace ENI2.EditControls
|
|||||||
if (ofd.ShowDialog() ?? false)
|
if (ofd.ShowDialog() ?? false)
|
||||||
{
|
{
|
||||||
textBoxTarget.Text = ofd.FileName;
|
textBoxTarget.Text = ofd.FileName;
|
||||||
|
_targetPath = ofd.FileName;
|
||||||
}
|
}
|
||||||
EnableCompareButton();
|
EnableCompareButton();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -335,6 +335,7 @@ namespace ENI2
|
|||||||
labelVersion.Text = "V. " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
labelVersion.Text = "V. " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||||
labelUsername.Text = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
labelUsername.Text = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
||||||
Microsoft.Win32.SystemEvents.SessionEnded += SystemEvents_SessionEnded;
|
Microsoft.Win32.SystemEvents.SessionEnded += SystemEvents_SessionEnded;
|
||||||
|
this.textUsername.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SystemEvents_SessionEnded(object sender, Microsoft.Win32.SessionEndedEventArgs e)
|
private void SystemEvents_SessionEnded(object sender, Microsoft.Win32.SessionEndedEventArgs e)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user