- Timestamp:
- 01/15/14 13:10:53 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.cs
r10313 r10342 42 42 43 43 private void InitializeContents() { 44 45 //create content items 44 46 IPreprocessingData data = Content.Data; 45 47 ISearchLogic searchLogic = new SearchLogic(data); … … 51 53 histogramContent = new HistogramContent(new HistogramLogic()); 52 54 55 //create view items 53 56 listViewItemItemMapping = new Dictionary<ListViewItem, IItem>(); 54 57 contentListView.SmallImageList = new ImageList(); … … 71 74 listViewItemItemMapping[histogramListViewItem] = histogramContent; 72 75 76 //add view items 73 77 contentListView.Items.Add(statisticsListViewItem); 74 78 contentListView.Items.Add(contentListViewItem); … … 77 81 contentListView.Items.Add(lineChartListViewItem); 78 82 contentListView.Items.Add(histogramListViewItem); 83 84 //default view -> statistic view 85 contentListView.SelectedIndices.Add(0); 79 86 } 80 87 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.designer.cs
r10319 r10342 25 25 private void InitializeComponent() { 26 26 this.components = new System.ComponentModel.Container(); 27 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataPreprocessingView));28 27 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); 29 28 this.undoButton = new System.Windows.Forms.Button(); 30 this. tryOutAlgorithmButton = new System.Windows.Forms.Button();31 this. saveButton = new System.Windows.Forms.Button();29 this.applyInNewTabButton = new System.Windows.Forms.Button(); 30 this.exportProblemButton = new System.Windows.Forms.Button(); 32 31 this.contentListView = new System.Windows.Forms.ListView(); 33 32 this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); … … 49 48 // 50 49 this.splitContainer1.Panel1.Controls.Add(this.undoButton); 51 this.splitContainer1.Panel1.Controls.Add(this. tryOutAlgorithmButton);52 this.splitContainer1.Panel1.Controls.Add(this. saveButton);50 this.splitContainer1.Panel1.Controls.Add(this.applyInNewTabButton); 51 this.splitContainer1.Panel1.Controls.Add(this.exportProblemButton); 53 52 this.splitContainer1.Panel1.Controls.Add(this.contentListView); 54 53 // … … 62 61 // undoButton 63 62 // 64 this. saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Undo;63 this.undoButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Undo; 65 64 this.undoButton.Location = new System.Drawing.Point(72, 14); 66 65 this.undoButton.Name = "undoButton"; … … 70 69 this.undoButton.UseVisualStyleBackColor = true; 71 70 // 72 // tryOutAlgorithmButton71 // applyInNewTabButton 73 72 // 74 this. saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play;75 this. tryOutAlgorithmButton.Location = new System.Drawing.Point(42, 14);76 this. tryOutAlgorithmButton.Name = "tryOutAlgorithmButton";77 this. tryOutAlgorithmButton.Size = new System.Drawing.Size(24, 24);78 this. tryOutAlgorithmButton.TabIndex = 2;79 this.toolTip.SetToolTip(this. tryOutAlgorithmButton, "Apply in new tab");80 this. tryOutAlgorithmButton.UseVisualStyleBackColor = true;81 this. tryOutAlgorithmButton.Click += new System.EventHandler(this.applyInNewTabButton_Click);73 this.applyInNewTabButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play; 74 this.applyInNewTabButton.Location = new System.Drawing.Point(42, 14); 75 this.applyInNewTabButton.Name = "applyInNewTabButton"; 76 this.applyInNewTabButton.Size = new System.Drawing.Size(24, 24); 77 this.applyInNewTabButton.TabIndex = 2; 78 this.toolTip.SetToolTip(this.applyInNewTabButton, "Apply in new tab"); 79 this.applyInNewTabButton.UseVisualStyleBackColor = true; 80 this.applyInNewTabButton.Click += new System.EventHandler(this.applyInNewTabButton_Click); 82 81 // 83 // saveButton82 // exportProblemButton 84 83 // 85 this. saveButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save;86 this. saveButton.Location = new System.Drawing.Point(12, 14);87 this. saveButton.Name = "saveButton";88 this. saveButton.Size = new System.Drawing.Size(24, 24);89 this. saveButton.TabIndex = 1;90 this.toolTip.SetToolTip(this. saveButton, "Export problem");91 this. saveButton.UseVisualStyleBackColor = true;92 this. saveButton.Click += new System.EventHandler(this.exportProblemButton_Click);84 this.exportProblemButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 85 this.exportProblemButton.Location = new System.Drawing.Point(12, 14); 86 this.exportProblemButton.Name = "exportProblemButton"; 87 this.exportProblemButton.Size = new System.Drawing.Size(24, 24); 88 this.exportProblemButton.TabIndex = 1; 89 this.toolTip.SetToolTip(this.exportProblemButton, "Export problem"); 90 this.exportProblemButton.UseVisualStyleBackColor = true; 91 this.exportProblemButton.Click += new System.EventHandler(this.exportProblemButton_Click); 93 92 // 94 93 // contentListView … … 141 140 142 141 private System.Windows.Forms.ListView contentListView; 143 private System.Windows.Forms.Button saveButton;144 private System.Windows.Forms.Button tryOutAlgorithmButton;142 private System.Windows.Forms.Button exportProblemButton; 143 private System.Windows.Forms.Button applyInNewTabButton; 145 144 private System.Windows.Forms.Button undoButton; 146 145 private MainForm.WindowsForms.ViewHost viewHost;
Note: See TracChangeset
for help on using the changeset viewer.