Changes to make it .NET 2.0 compatible

This commit is contained in:
Stefan Persson 2008-11-10 17:54:55 +00:00
parent 6b91f5be22
commit 04ca3e400c
10 changed files with 48 additions and 29 deletions

View file

@ -280,7 +280,7 @@ namespace DeviceScheduler
else
task.SetAccountInformation(m_Job.Username, password);
}
catch (Exception e)
catch
{
MessageBox.Show(Localization.GetString("FailedToSetPassword"),
Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);