Changeset 12613
- Timestamp:
- 07/06/15 16:49:35 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Statistics.Views/3.3/StatisticalTestsView.cs
r12599 r12613 41 41 private double[][] data; 42 42 private bool suppressUpdates = false; 43 private bool initializing = false; 43 44 44 45 public double SignificanceLevel { … … 77 78 78 79 if (Content != null) { 80 initializing = true; 79 81 UpdateResultComboBox(); 80 82 UpdateGroupsComboBox(); 81 83 RebuildDataTable(); 84 FillCompComboBox(); 85 ResetUI(); 86 CalculateValues(); 87 initializing = false; 82 88 } 83 89 UpdateCaption(); … … 135 141 if (!suppressUpdates) RebuildDataTable(); 136 142 } 143 } 144 145 private void openBoxPlotToolStripMenuItem_Click(object sender, EventArgs e) { 146 RunCollectionBoxPlotView boxplotView = new RunCollectionBoxPlotView(); 147 boxplotView.Content = Content; 148 boxplotView.SetXAxis(groupComboBox.SelectedItem.ToString()); 149 boxplotView.SetYAxis(resultComboBox.SelectedItem.ToString()); 150 151 boxplotView.Show(); 152 } 153 154 private void groupCompComboBox_SelectedValueChanged(object sender, EventArgs e) { 155 if (initializing) return; 156 string curItem = (string)groupCompComboBox.SelectedItem; 157 CalculatePairwise(curItem); 158 } 159 160 private void resultComboBox_SelectedValueChanged(object sender, EventArgs e) { 161 if (initializing) return; 162 RebuildDataTable(); 163 ResetUI(); 164 CalculateValues(); 165 } 166 167 private void groupComboBox_SelectedValueChanged(object sender, EventArgs e) { 168 if (initializing) return; 169 RebuildDataTable(); 170 FillCompComboBox(); 171 ResetUI(); 172 CalculateValues(); 137 173 } 138 174 #endregion … … 272 308 pValTextBox.Text = string.Empty; 273 309 equalDistsTextBox.Text = string.Empty; 274 }275 276 private void resultComboBox_SelectedValueChanged(object sender, EventArgs e) {277 RebuildDataTable();278 ResetUI();279 CalculateValues();280 }281 282 private void groupComboBox_SelectedValueChanged(object sender, EventArgs e) {283 RebuildDataTable();284 FillCompComboBox();285 ResetUI();286 CalculateValues();287 310 } 288 311 … … 484 507 return newData; 485 508 } 486 487 private void openBoxPlotToolStripMenuItem_Click(object sender, EventArgs e) {488 RunCollectionBoxPlotView boxplotView = new RunCollectionBoxPlotView();489 boxplotView.Content = Content;490 boxplotView.SetXAxis(groupComboBox.SelectedItem.ToString());491 boxplotView.SetYAxis(resultComboBox.SelectedItem.ToString());492 493 boxplotView.Show();494 }495 496 private void groupCompComboBox_SelectedValueChanged(object sender, EventArgs e) {497 string curItem = (string)groupCompComboBox.SelectedItem;498 CalculatePairwise(curItem);499 }500 509 } 501 510 }
Note: See TracChangeset
for help on using the changeset viewer.