Changeset 2676
- Timestamp:
- 5/24/2012 9:41:51 AM (12 months ago)
- Location:
- trunk/eraser/Eraser.BlackBox
- Files:
-
- 1 added
- 2 edited
-
BlackBoxNotifier.cs (added)
-
Eraser.BlackBox.csproj (modified) (1 diff)
-
Plugin.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.BlackBox/Eraser.BlackBox.csproj
r2669 r2676 90 90 <DependentUpon>BlackBoxMainForm.cs</DependentUpon> 91 91 </Compile> 92 <Compile Include="BlackBoxNotifier.cs" /> 92 93 <Compile Include="BlackBoxReport.cs" /> 93 94 <Compile Include="BlackBoxUploadForm.cs"> -
trunk/eraser/Eraser.BlackBox/Plugin.cs
r2516 r2676 36 36 BlackBox blackBox = BlackBox.Get(); 37 37 38 //Hook the Application's idle loop to display the form 39 Application.Idle += OnGUIIdle; 38 bool allSubmitted = true; 39 foreach (BlackBoxReport report in blackBox.GetDumps()) 40 if (!report.Submitted) 41 { 42 allSubmitted = false; 43 break; 44 } 45 46 if (!allSubmitted) 47 { 48 Host.Instance.Notifiers.Add(new BlackBoxNotifier()); 49 } 40 50 } 41 51 … … 68 78 { 69 79 Application.Idle -= OnGUIIdle; 70 BlackBox blackBox = BlackBox.Get(); 71 72 bool allSubmitted = true; 73 foreach (BlackBoxReport report in blackBox.GetDumps()) 74 if (!report.Submitted) 75 { 76 allSubmitted = false; 77 break; 78 } 79 80 if (allSubmitted) 81 return; 82 83 BlackBoxMainForm form = new BlackBoxMainForm(); 84 form.Show(); 80 85 81 } 86 82 }
Note: See TracChangeset
for help on using the changeset viewer.
