Changeset 7661 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/AddCertificate.cs
- Timestamp:
- 03/26/12 10:58:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/AddCertificate.cs
r7362 r7661 36 36 37 37 if (CertificateFile.Length == 0) { 38 MessageBox.Show("Certificate file is required", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);38 PluginInfrastructure.ErrorHandling.ShowErrorDialog(new Exception("Certificate file is required")); 39 39 } else if (CertificatePassword.Length == 0) { 40 MessageBox.Show("Password is required", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);40 PluginInfrastructure.ErrorHandling.ShowErrorDialog(new Exception("Password is required")); 41 41 } else { 42 42 SetControlsEnabled(false); … … 69 69 this.Close(); 70 70 } else { 71 MessageBox.Show(e.Error.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);71 PluginInfrastructure.ErrorHandling.ShowErrorDialog(e.Error); 72 72 CertificateFile = string.Empty; 73 73 CertificateFile = string.Empty;
Note: See TracChangeset
for help on using the changeset viewer.