Changeset 1769 for branches/eraser6/CodeReview/Eraser/MainForm.cs
- Timestamp:
- 2/8/2010 7:29:41 AM (2 years ago)
- Location:
- branches/eraser6/CodeReview
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Eraser/MainForm.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview
- Property svn:mergeinfo changed
/branches/eraser6/6.0 merged: 1744,1752,1754 /trunk/eraser6 merged: 1751-1764
- Property svn:mergeinfo changed
-
branches/eraser6/CodeReview/Eraser/MainForm.cs
r1768 r1769 34 34 using System.Diagnostics; 35 35 using System.Reflection; 36 using System.Runtime.Serialization; 36 37 37 38 namespace Eraser … … 261 262 FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) 262 263 { 263 Program.eraserClient.Tasks.LoadFromStream(stream); 264 try 265 { 266 Program.eraserClient.Tasks.LoadFromStream(stream); 267 } 268 catch (FileLoadException ex) 269 { 270 MessageBox.Show(S._("The task list could not be imported. The error " + 271 "returned was: {0}", ex.Message), S._("Eraser"), 272 MessageBoxButtons.OK, MessageBoxIcon.Error, 273 MessageBoxDefaultButton.Button1, 274 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 275 } 276 catch (SerializationException ex) 277 { 278 MessageBox.Show(S._("The task list could not be imported. The error " + 279 "returned was: {0}", ex.Message), S._("Eraser"), 280 MessageBoxButtons.OK, MessageBoxIcon.Error, 281 MessageBoxDefaultButton.Button1, 282 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 283 } 264 284 } 265 285 }
Note: See TracChangeset
for help on using the changeset viewer.
