Changeset 9363 for branches/OaaS/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesControl.cs
- Timestamp:
- 04/16/13 13:13:41 (11 years ago)
- Location:
- branches/OaaS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Analysis.Views
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/trunk/sources/HeuristicLab.Analysis.Views merged eligible /branches/Algorithms.GradientDescent/HeuristicLab.Analysis.Views 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Analysis.Views 6917-7005 /branches/CMAES/HeuristicLab.Analysis.Views 9141-9257 /branches/CloningRefactoring/HeuristicLab.Analysis.Views 4656-4721 /branches/DataAnalysis Refactoring/HeuristicLab.Analysis.Views 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Analysis.Views 5815-6180 /branches/DataAnalysis/HeuristicLab.Analysis.Views 4458-4459,4462,4464 /branches/GP.Grammar.Editor/HeuristicLab.Analysis.Views 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Analysis.Views 5060 /branches/NET40/sources/HeuristicLab.Analysis.Views 5138-5162 /branches/ParallelEngine/HeuristicLab.Analysis.Views 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Analysis.Views 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Analysis.Views 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Analysis.Views 6828 /branches/RuntimeOptimizer/HeuristicLab.Analysis.Views 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Analysis.Views 7787-8333 /branches/SlaveShutdown/HeuristicLab.Analysis.Views 8944-8956 /branches/SuccessProgressAnalysis/HeuristicLab.Analysis.Views 5370-5682 /branches/Trunk/HeuristicLab.Analysis.Views 6829-6865 /branches/UnloadJobs/HeuristicLab.Analysis.Views 9168-9215 /branches/VNS/HeuristicLab.Analysis.Views 5594-5752 /branches/histogram/HeuristicLab.Analysis.Views 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/OaaS/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesControl.cs
r7259 r9363 20 20 #endregion 21 21 22 using HeuristicLab.MainForm; 23 using HeuristicLab.MainForm.WindowsForms; 22 24 using System.Drawing; 23 25 using System.Windows.Forms; 24 using HeuristicLab.MainForm;25 using HeuristicLab.MainForm.WindowsForms;26 26 27 27 namespace HeuristicLab.Analysis.Views { 28 [View("Data RowVisual Properties")]28 [View("DataTable Visual Properties")] 29 29 public partial class DataTableVisualPropertiesControl : UserControl { 30 30 protected bool SuppressEvents { get; set; } … … 75 75 xAxisPrimaryMaximumFixedRadioButton.Checked = false; 76 76 xAxisPrimaryMaximumFixedTextBox.Text = string.Empty; 77 xAxisPrimaryLogScaleCheckBox.Checked = false; 77 78 xAxisSecondaryTitleTextBox.Text = string.Empty; 78 79 xAxisSecondaryMinimumAutoRadioButton.Checked = false; … … 82 83 xAxisSecondaryMaximumFixedRadioButton.Checked = false; 83 84 xAxisSecondaryMaximumFixedTextBox.Text = string.Empty; 85 xAxisSecondaryLogScaleCheckBox.Checked = false; 84 86 85 87 yAxisPrimaryTitleTextBox.Text = string.Empty; … … 90 92 yAxisPrimaryMaximumFixedRadioButton.Checked = false; 91 93 yAxisPrimaryMaximumFixedTextBox.Text = string.Empty; 94 yAxisPrimaryLogScaleCheckBox.Checked = false; 92 95 yAxisSecondaryTitleTextBox.Text = string.Empty; 93 96 yAxisSecondaryMinimumAutoRadioButton.Checked = false; … … 97 100 yAxisSecondaryMaximumFixedRadioButton.Checked = false; 98 101 yAxisSecondaryMaximumFixedTextBox.Text = string.Empty; 102 yAxisSecondaryLogScaleCheckBox.Checked = false; 99 103 } else { 100 104 titleFontLabel.Text = "( " + FormatFont(Content.TitleFont) + " )"; … … 109 113 xAxisPrimaryMaximumFixedRadioButton.Checked = !Content.XAxisMaximumAuto; 110 114 xAxisPrimaryMaximumFixedTextBox.Text = Content.XAxisMaximumFixedValue.ToString(); 115 xAxisPrimaryLogScaleCheckBox.Checked = Content.XAxisLogScale; 111 116 xAxisSecondaryTitleTextBox.Text = Content.SecondXAxisTitle; 112 117 xAxisSecondaryMinimumAutoRadioButton.Checked = Content.SecondXAxisMinimumAuto; … … 116 121 xAxisSecondaryMaximumFixedRadioButton.Checked = !Content.SecondXAxisMaximumAuto; 117 122 xAxisSecondaryMaximumFixedTextBox.Text = Content.SecondXAxisMaximumFixedValue.ToString(); 123 xAxisSecondaryLogScaleCheckBox.Checked = Content.SecondXAxisLogScale; 118 124 119 125 yAxisPrimaryTitleTextBox.Text = Content.YAxisTitle; … … 124 130 yAxisPrimaryMaximumFixedRadioButton.Checked = !Content.YAxisMaximumAuto; 125 131 yAxisPrimaryMaximumFixedTextBox.Text = Content.YAxisMaximumFixedValue.ToString(); 132 yAxisPrimaryLogScaleCheckBox.Checked = Content.YAxisLogScale; 126 133 yAxisSecondaryTitleTextBox.Text = Content.SecondYAxisTitle; 127 134 yAxisSecondaryMinimumAutoRadioButton.Checked = Content.SecondYAxisMinimumAuto; … … 131 138 yAxisSecondaryMaximumFixedRadioButton.Checked = !Content.SecondYAxisMaximumAuto; 132 139 yAxisSecondaryMaximumFixedTextBox.Text = Content.SecondYAxisMaximumFixedValue.ToString(); 133 }134 }135 finally { SuppressEvents = false; }140 yAxisSecondaryLogScaleCheckBox.Checked = Content.SecondYAxisLogScale; 141 } 142 } finally { SuppressEvents = false; } 136 143 SetEnabledStateOfControls(); 137 144 } … … 333 340 Content.XAxisMinimumAuto = xAxisPrimaryMinimumAutoRadioButton.Checked; 334 341 if (Content.XAxisMinimumAuto) xAxisPrimaryMinimumFixedTextBox.Text = double.NaN.ToString(); 335 } 336 finally { SuppressEvents = false; } 342 } finally { SuppressEvents = false; } 337 343 SetEnabledStateOfControls(); 338 344 } … … 345 351 Content.XAxisMaximumAuto = xAxisPrimaryMaximumAutoRadioButton.Checked; 346 352 if (Content.XAxisMaximumAuto) xAxisPrimaryMaximumFixedTextBox.Text = double.NaN.ToString(); 347 } 348 finally { SuppressEvents = false; } 353 } finally { SuppressEvents = false; } 349 354 SetEnabledStateOfControls(); 350 355 } … … 357 362 Content.SecondXAxisMinimumAuto = xAxisSecondaryMinimumAutoRadioButton.Checked; 358 363 if (Content.SecondXAxisMinimumAuto) xAxisSecondaryMinimumFixedTextBox.Text = double.NaN.ToString(); 359 } 360 finally { SuppressEvents = false; } 364 } finally { SuppressEvents = false; } 361 365 SetEnabledStateOfControls(); 362 366 } … … 369 373 Content.SecondXAxisMaximumAuto = xAxisSecondaryMaximumAutoRadioButton.Checked; 370 374 if (Content.SecondXAxisMaximumAuto) xAxisSecondaryMaximumFixedTextBox.Text = double.NaN.ToString(); 371 } 372 finally { SuppressEvents = false; } 375 } finally { SuppressEvents = false; } 373 376 SetEnabledStateOfControls(); 374 377 } … … 381 384 Content.YAxisMinimumAuto = yAxisPrimaryMinimumAutoRadioButton.Checked; 382 385 if (Content.YAxisMinimumAuto) yAxisPrimaryMinimumFixedTextBox.Text = double.NaN.ToString(); 383 } 384 finally { SuppressEvents = false; } 386 } finally { SuppressEvents = false; } 385 387 SetEnabledStateOfControls(); 386 388 } … … 393 395 Content.YAxisMaximumAuto = yAxisPrimaryMaximumAutoRadioButton.Checked; 394 396 if (Content.YAxisMaximumAuto) yAxisPrimaryMaximumFixedTextBox.Text = double.NaN.ToString(); 395 } 396 finally { SuppressEvents = false; } 397 } finally { SuppressEvents = false; } 397 398 SetEnabledStateOfControls(); 398 399 } … … 405 406 Content.SecondYAxisMinimumAuto = yAxisSecondaryMinimumAutoRadioButton.Checked; 406 407 if (Content.SecondYAxisMinimumAuto) yAxisSecondaryMinimumFixedTextBox.Text = double.NaN.ToString(); 407 } 408 finally { SuppressEvents = false; } 408 } finally { SuppressEvents = false; } 409 409 SetEnabledStateOfControls(); 410 410 } … … 417 417 Content.SecondYAxisMaximumAuto = yAxisSecondaryMaximumAutoRadioButton.Checked; 418 418 if (Content.SecondYAxisMaximumAuto) yAxisSecondaryMaximumFixedTextBox.Text = double.NaN.ToString(); 419 } 420 finally { SuppressEvents = false; } 421 SetEnabledStateOfControls(); 419 } finally { SuppressEvents = false; } 420 SetEnabledStateOfControls(); 421 } 422 } 423 424 private void xAxisPrimaryLogScaleCheckBox_CheckedChanged(object sender, System.EventArgs e) { 425 if (!SuppressEvents && Content != null) { 426 SuppressEvents = true; 427 try { 428 Content.XAxisLogScale = xAxisPrimaryLogScaleCheckBox.Checked; 429 } finally { SuppressEvents = false; } 430 } 431 } 432 433 private void xAxisSecondaryLogScaleCheckBox_CheckedChanged(object sender, System.EventArgs e) { 434 if (!SuppressEvents && Content != null) { 435 SuppressEvents = true; 436 try { 437 Content.SecondXAxisLogScale = xAxisSecondaryLogScaleCheckBox.Checked; 438 } finally { SuppressEvents = false; } 439 } 440 } 441 442 private void yAxisPrimaryLogScaleCheckBox_CheckedChanged(object sender, System.EventArgs e) { 443 if (!SuppressEvents && Content != null) { 444 SuppressEvents = true; 445 try { 446 Content.YAxisLogScale = yAxisPrimaryLogScaleCheckBox.Checked; 447 } finally { SuppressEvents = false; } 448 } 449 } 450 451 private void yAxisSecondaryLogScaleCheckBox_CheckedChanged(object sender, System.EventArgs e) { 452 if (!SuppressEvents && Content != null) { 453 SuppressEvents = true; 454 try { 455 Content.SecondYAxisLogScale = yAxisSecondaryLogScaleCheckBox.Checked; 456 } finally { SuppressEvents = false; } 422 457 } 423 458 }
Note: See TracChangeset
for help on using the changeset viewer.