Changeset 1768
- Timestamp:
- 2/8/2010 7:20:53 AM (2 years ago)
- Location:
- branches/eraser6/CodeReview
- Files:
-
- 13 edited
-
Eraser.DefaultPlugins/CustomMethodPassEditor.cs (modified) (1 diff)
-
Eraser.DefaultPlugins/ErasureMethods/FirstLast16KB.cs (modified) (1 diff)
-
Eraser/AboutForm.cs (modified) (1 diff)
-
Eraser/BlackBoxUploadForm.cs (modified) (1 diff)
-
Eraser/LogForm.cs (modified) (1 diff)
-
Eraser/MainForm.cs (modified) (1 diff)
-
Eraser/Program.GuiProgram.cs (modified) (2 diffs)
-
Eraser/Program.cs (modified) (1 diff)
-
Eraser/SchedulerPanel.cs (modified) (2 diffs)
-
Eraser/Settings.cs (modified) (1 diff)
-
Eraser/SettingsPanel.cs (modified) (5 diffs)
-
Eraser/TaskDataSelectionForm.cs (modified) (1 diff)
-
Eraser/UpdateForm.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.DefaultPlugins/CustomMethodPassEditor.cs
r1681 r1768 213 213 MessageBoxButtons.OK, MessageBoxIcon.Information, 214 214 MessageBoxDefaultButton.Button1, 215 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 215 S.IsRightToLeft(this) ? 216 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 216 217 } 217 218 } -
branches/eraser6/CodeReview/Eraser.DefaultPlugins/ErasureMethods/FirstLast16KB.cs
r1767 r1768 54 54 "be set in the Plugin Settings dialog."), Name, MessageBoxButtons.OK, 55 55 MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 56 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 56 S.IsRightToLeft(null) ? 57 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 57 58 } 58 59 } -
branches/eraser6/CodeReview/Eraser/AboutForm.cs
r1681 r1768 207 207 "was: {0}", ex.Message), S._("Eraser"), MessageBoxButtons.OK, 208 208 MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 209 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 209 S.IsRightToLeft(null) ? 210 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 210 211 } 211 212 } -
branches/eraser6/CodeReview/Eraser/BlackBoxUploadForm.cs
r1681 r1768 130 130 S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Error, 131 131 MessageBoxDefaultButton.Button1, S.IsRightToLeft(this) ? 132 MessageBoxOptions.RtlReading : 0);132 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 133 133 Close(); 134 134 } -
branches/eraser6/CodeReview/Eraser/LogForm.cs
r1745 r1768 193 193 selectedEntry.Timestamp.ToString("F", CultureInfo.CurrentCulture), 194 194 MessageBoxButtons.OK, icon, MessageBoxDefaultButton.Button1, 195 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 195 S.IsRightToLeft(this) ? 196 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 196 197 } 197 198 -
branches/eraser6/CodeReview/Eraser/MainForm.cs
r1765 r1768 282 282 S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Error, 283 283 MessageBoxDefaultButton.Button1, S.IsRightToLeft(this) ? 284 MessageBoxOptions.RtlReading : 0);284 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 285 285 } 286 286 } -
branches/eraser6/CodeReview/Eraser/Program.GuiProgram.cs
r1745 r1768 152 152 //is running with higher privileges than this instance. Tell the 153 153 //user this is the case and show him how to resolve the issue. 154 MessageBox.Show(S._("Another instance of Eraser is already running but it is" +155 " running with higher privileges than this instance of Eraser.\n\n" +154 MessageBox.Show(S._("Another instance of Eraser is already running but it " + 155 "is running with higher privileges than this instance of Eraser.\n\n" + 156 156 "Eraser will now exit."), S._("Eraser"), MessageBoxButtons.OK, 157 157 MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, 158 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 158 S.IsRightToLeft(null) ? 159 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 159 160 } 160 161 catch (IOException ex) … … 164 165 S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Error, 165 166 MessageBoxDefaultButton.Button1, 166 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0)); 167 S.IsRightToLeft(null) ? 168 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0)); 167 169 } 168 170 catch (TimeoutException) -
branches/eraser6/CodeReview/Eraser/Program.cs
r1709 r1768 526 526 MessageBoxButtons.OK, MessageBoxIcon.Error, 527 527 MessageBoxDefaultButton.Button1, 528 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 528 S.IsRightToLeft(null) ? 529 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 529 530 } 530 531 -
branches/eraser6/CodeReview/Eraser/SchedulerPanel.cs
r1765 r1768 146 146 { 147 147 if (MessageBox.Show(this, S._("Are you sure you want to delete the selected tasks?"), 148 S._("Eraser"), MessageBoxButtons.YesNo, MessageBoxIcon.Question, 149 MessageBoxDefaultButton.Button1, 150 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0) != DialogResult.Yes) 148 S._("Eraser"), MessageBoxButtons.YesNo, MessageBoxIcon.Question, 149 MessageBoxDefaultButton.Button1, S.IsRightToLeft(this) ? 150 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0 151 ) != DialogResult.Yes) 151 152 { 152 153 return; … … 445 446 catch (SerializationException ex) 446 447 { 447 MessageBox.Show(S._("Could not import task list from {0}. The error" +448 " returned was: {1}", file, ex.Message), S._("Eraser"),448 MessageBox.Show(S._("Could not import task list from {0}. The " + 449 "error returned was: {1}", file, ex.Message), S._("Eraser"), 449 450 MessageBoxButtons.OK, MessageBoxIcon.Error, 450 451 MessageBoxDefaultButton.Button1, 451 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 452 S.IsRightToLeft(null) ? 453 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 452 454 } 453 455 } -
branches/eraser6/CodeReview/Eraser/Settings.cs
r1681 r1768 98 98 S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Error, 99 99 MessageBoxDefaultButton.Button1, 100 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 100 S.IsRightToLeft(null) ? 101 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 101 102 } 102 103 } -
branches/eraser6/CodeReview/Eraser/SettingsPanel.cs
r1681 r1768 243 243 defaults), S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Warning, 244 244 MessageBoxDefaultButton.Button1, 245 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 245 S.IsRightToLeft(this) ? 246 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 246 247 saveSettings_Click(null, null); 247 248 } … … 286 287 MessageBox.Show(this, S._("The path you selected is invalid."), S._("Eraser"), 287 288 MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 288 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 289 S.IsRightToLeft(this) ? 290 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 289 291 } 290 292 } … … 367 369 "the next time Eraser is started."), S._("Eraser"), MessageBoxButtons.OK, 368 370 MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, 369 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 371 S.IsRightToLeft(this) ? 372 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 370 373 } 371 374 … … 409 412 "Eraser is restarted."), S._("Eraser"), MessageBoxButtons.OK, 410 413 MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, 411 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 414 S.IsRightToLeft(this) ? 415 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 412 416 } 413 417 settings.IntegrateWithShell = uiContextMenu.Checked; … … 425 429 S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Information, 426 430 MessageBoxDefaultButton.Button1, 427 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 431 S.IsRightToLeft(this) ? 432 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 428 433 managerSettings.ActivePrng = newPRNG.Guid; 429 434 } -
branches/eraser6/CodeReview/Eraser/TaskDataSelectionForm.cs
r1709 r1768 233 233 MessageBox.Show(this, S._("The path you selected is invalid."), S._("Eraser"), 234 234 MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 235 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 235 S.IsRightToLeft(this) ? 236 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 236 237 } 237 238 } -
branches/eraser6/CodeReview/Eraser/UpdateForm.cs
r1759 r1768 131 131 MessageBox.Show(this, e.Error.Message, S._("Eraser"), MessageBoxButtons.OK, 132 132 MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 133 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 133 S.IsRightToLeft(this) ? 134 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 134 135 135 136 Close(); … … 199 200 "Eraser."), S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Information, 200 201 MessageBoxDefaultButton.Button1, 201 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 202 S.IsRightToLeft(this) ? 203 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 202 204 Close(); 203 205 } … … 353 355 MessageBoxButtons.OK, MessageBoxIcon.Error, 354 356 MessageBoxDefaultButton.Button1, 355 S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 357 S.IsRightToLeft(this) ? 358 MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 356 359 357 360 Close();
Note: See TracChangeset
for help on using the changeset viewer.
