- Timestamp:
- 03/03/10 03:14:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs
r2882 r2916 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Windows.Forms; 24 25 using HeuristicLab.Common; … … 55 56 : this() { 56 57 Content = content; 58 } 59 60 protected override void OnInitialized(EventArgs e) { 61 // Set order of tab pages according to z order. 62 // NOTE: This is required due to a bug in the VS designer. 63 List<Control> tabPages = new List<Control>(); 64 for (int i = 0; i < tabControl.Controls.Count; i++) { 65 tabPages.Add(tabControl.Controls[i]); 66 } 67 tabControl.Controls.Clear(); 68 foreach (Control control in tabPages) 69 tabControl.Controls.Add(control); 70 71 base.OnInitialized(e); 57 72 } 58 73
Note: See TracChangeset
for help on using the changeset viewer.