Changeset 10344


Ignore:
Timestamp:
01/15/14 14:14:53 (9 years ago)
Author:
tsteinre
Message:

ApplyInNewTab-Button: deleted test code to write 1s in table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.cs

    r10343 r10344  
    11using System;
    2 using System.Collections.Generic;
    32using System.Windows.Forms;
    43using HeuristicLab.Common;
     
    5554      //create view items
    5655      contentListView.SmallImageList = new ImageList();
    57       ListViewItem contentListViewItem = CreateListViewItem(dataGridContent);   
     56      ListViewItem contentListViewItem = CreateListViewItem(dataGridContent);
    5857      ListViewItem statisticsListViewItem = CreateListViewItem(statisticsContent);
    5958      ListViewItem filterListViewItem = CreateListViewItem(filterContent);
     
    115114
    116115    private void applyInNewTabButton_Click(object sender, EventArgs e) {
    117       IPreprocessingData data = Content.Data;
    118 
    119       foreach (string variable in data.VariableNames) {
    120         for (int j = 0; j < data.Rows; j++) {
    121           // assume: all double
    122           data.SetCell(variable, j, 1.0);
    123         }
    124       }
    125       MessageBox.Show("Success, now cloning... ");
    126 
    127116      var cloner = new PreprocessingCloner(Content);
    128117      var item = cloner.GenerateAlteredClone(Content.ParentItem);
Note: See TracChangeset for help on using the changeset viewer.