Changeset 10247
- Timestamp:
- 12/18/13 15:31:26 (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
r10246 r10247 51 51 listViewItemItemMapping[contentListViewItem] = dataGridContent; 52 52 53 listView1.Items.Add(contentListViewItem);53 contentListView.Items.Add(contentListViewItem); 54 54 } 55 55 … … 61 61 private void listView1_SelectedIndexChanged(object sender, EventArgs e) { 62 62 63 if ( listView1.SelectedItems.Count > 0)63 if (contentListView.SelectedItems.Count > 0) 64 64 { 65 ListViewItem listViewItem = (ListViewItem) listView1.SelectedItems[0];65 ListViewItem listViewItem = (ListViewItem)contentListView.SelectedItems[0]; 66 66 this.viewHost.Content = listViewItemItemMapping[listViewItem]; 67 67 } 68 68 } 69 69 70 private void groupBox1_Enter(object sender, EventArgs e) { 71 70 private void listView1_DoubleClick(object sender, EventArgs e) { 71 ListViewItem listViewItem = (ListViewItem)contentListView.SelectedItems[0]; 72 MainFormManager.MainForm.ShowContent(listViewItemItemMapping[listViewItem]); 72 73 } 73 74 74 private void listView1_DoubleClick(object sender, EventArgs e) {75 ListViewItem listViewItem = (ListViewItem)listView1.SelectedItems[0];76 MainFormManager.MainForm.ShowContent(listViewItemItemMapping[listViewItem]); 75 private void tryOutAlgorithmButton_Click(object sender, EventArgs e) 76 { 77 77 78 } 78 79 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.designer.cs
r10239 r10247 25 25 private void InitializeComponent() { 26 26 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); 27 this.listView1 = new System.Windows.Forms.ListView(); 28 this.groupBox1 = new System.Windows.Forms.GroupBox(); 27 this.contentListView = new System.Windows.Forms.ListView(); 28 this.tryOutAlgorithmButton = new System.Windows.Forms.Button(); 29 this.saveButton = new System.Windows.Forms.Button(); 29 30 this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 30 31 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); … … 32 33 this.splitContainer1.Panel2.SuspendLayout(); 33 34 this.splitContainer1.SuspendLayout(); 34 this.groupBox1.SuspendLayout();35 35 this.SuspendLayout(); 36 36 // … … 43 43 // splitContainer1.Panel1 44 44 // 45 this.splitContainer1.Panel1.Controls.Add(this. listView1);45 this.splitContainer1.Panel1.Controls.Add(this.contentListView); 46 46 // 47 47 // splitContainer1.Panel2 48 48 // 49 this.splitContainer1.Panel2.Controls.Add(this.groupBox1); 50 this.splitContainer1.Size = new System.Drawing.Size(758, 390); 51 this.splitContainer1.SplitterDistance = 252; 49 this.splitContainer1.Panel2.Controls.Add(this.viewHost); 50 this.splitContainer1.Panel2.Controls.Add(this.saveButton); 51 this.splitContainer1.Panel2.Controls.Add(this.tryOutAlgorithmButton); 52 this.splitContainer1.Size = new System.Drawing.Size(838, 449); 53 this.splitContainer1.SplitterDistance = 278; 52 54 this.splitContainer1.TabIndex = 0; 53 55 // 54 // listView156 // contentListView 55 57 // 56 this.listView1.Location = new System.Drawing.Point(13, 15); 57 this.listView1.Name = "listView1"; 58 this.listView1.Size = new System.Drawing.Size(185, 290); 59 this.listView1.TabIndex = 0; 60 this.listView1.UseCompatibleStateImageBehavior = false; 61 this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); 62 this.listView1.DoubleClick += new System.EventHandler(this.listView1_DoubleClick); 58 this.contentListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 59 | System.Windows.Forms.AnchorStyles.Left) 60 | System.Windows.Forms.AnchorStyles.Right))); 61 this.contentListView.Location = new System.Drawing.Point(12, 15); 62 this.contentListView.Name = "contentListView"; 63 this.contentListView.Size = new System.Drawing.Size(254, 389); 64 this.contentListView.TabIndex = 0; 65 this.contentListView.UseCompatibleStateImageBehavior = false; 66 this.contentListView.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged); 67 this.contentListView.DoubleClick += new System.EventHandler(this.listView1_DoubleClick); 63 68 // 64 // groupBox169 // tryOutAlgorithmButton 65 70 // 66 this.groupBox1.Controls.Add(this.viewHost); 67 this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; 68 this.groupBox1.Location = new System.Drawing.Point(0, 0); 69 this.groupBox1.Name = "groupBox1"; 70 this.groupBox1.Size = new System.Drawing.Size(502, 390); 71 this.groupBox1.TabIndex = 1; 72 this.groupBox1.TabStop = false; 73 this.groupBox1.Text = "groupBox1"; 74 this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter); 71 this.tryOutAlgorithmButton.Location = new System.Drawing.Point(443, 410); 72 this.tryOutAlgorithmButton.Name = "tryOutAlgorithmButton"; 73 this.tryOutAlgorithmButton.Size = new System.Drawing.Size(97, 23); 74 this.tryOutAlgorithmButton.TabIndex = 2; 75 this.tryOutAlgorithmButton.Text = "Try Out Algorithm"; 76 this.tryOutAlgorithmButton.UseVisualStyleBackColor = true; 77 this.tryOutAlgorithmButton.Click += new System.EventHandler(this.tryOutAlgorithmButton_Click); 78 // 79 // saveButton 80 // 81 this.saveButton.Location = new System.Drawing.Point(343, 410); 82 this.saveButton.Name = "saveButton"; 83 this.saveButton.Size = new System.Drawing.Size(75, 23); 84 this.saveButton.TabIndex = 3; 85 this.saveButton.Text = "Save"; 86 this.saveButton.UseVisualStyleBackColor = true; 75 87 // 76 88 // viewHost … … 82 94 this.viewHost.Content = null; 83 95 this.viewHost.Enabled = false; 84 this.viewHost.Location = new System.Drawing.Point( 6, 19);96 this.viewHost.Location = new System.Drawing.Point(14, 15); 85 97 this.viewHost.Name = "viewHost"; 86 98 this.viewHost.ReadOnly = false; 87 this.viewHost.Size = new System.Drawing.Size( 490, 365);88 this.viewHost.TabIndex = 0;99 this.viewHost.Size = new System.Drawing.Size(526, 389); 100 this.viewHost.TabIndex = 4; 89 101 this.viewHost.ViewsLabelVisible = true; 90 102 this.viewHost.ViewType = null; … … 96 108 this.Controls.Add(this.splitContainer1); 97 109 this.Name = "DataPreprocessingView"; 98 this.Size = new System.Drawing.Size( 758, 390);110 this.Size = new System.Drawing.Size(838, 449); 99 111 this.splitContainer1.Panel1.ResumeLayout(false); 100 112 this.splitContainer1.Panel2.ResumeLayout(false); 101 113 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); 102 114 this.splitContainer1.ResumeLayout(false); 103 this.groupBox1.ResumeLayout(false);104 115 this.ResumeLayout(false); 105 116 … … 109 120 110 121 private System.Windows.Forms.SplitContainer splitContainer1; 111 private System.Windows.Forms.ListView listView1; 112 private System.Windows.Forms.GroupBox groupBox1; 113 protected MainForm.WindowsForms.ViewHost viewHost; 122 private System.Windows.Forms.ListView contentListView; 123 private System.Windows.Forms.Button saveButton; 124 private System.Windows.Forms.Button tryOutAlgorithmButton; 125 private MainForm.WindowsForms.ViewHost viewHost; 114 126 115 127 }
Note: See TracChangeset
for help on using the changeset viewer.