private void RefreshParameters() { listBox1.Items.Clear(); listBox2.Items.Clear(); listBox3.Items.Clear(); attributes_ = classifier_.getAttributes(); classes_ = classifier_.getClasses(); childs_ = classifier_.getChilds(); foreach (DSAttributeWrapper at in attributes_) { listBox1.Items.Add(at.getName()); } foreach (DSClassWrapper cl in classes_) { listBox3.Items.Add(cl.getName()); } foreach (DSClassifierWrapper ch in childs_) { listBox2.Items.Add(ch.getName()); } numericUpDown1.Value = classifier_.getLevel(); foreach (DataRow dr in dt_types.Rows) { if (dr["ID"].ToString() == classifier_.getType()) { comboBox1.SelectedValue = dr["ID"].ToString(); } } BuildTrainingSetTable(dataGridView1); BuildBaseObjectTable(dataGridView2); }