?? addtestdata.cs
字號:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DecisionTreeAlgorithm;
using DecisionTree;
using System.Collections;
namespace DecisionTreeAlgorithm
{
public partial class AddTestData : Form
{
//struct Item
//{
// public int ID;
// public ageType age;
// public native_countryType native_country;
// public educationType education;
// public occupationType occupation;
// public makeover50kType makeover50k;
//}
//private ArrayList attributeList;
//public AddTestData()
//{
// InitializeComponent();
//}
//private void AddTestDate_Load(object sender, EventArgs e)
//{
// cbAge.Items.Add("youth");
// cbAge.Items.Add("middle_aged");
// cbAge.Items.Add("senior ");
// comboBox2.Items.Add("developing");
// comboBox2.Items.Add("developed");
// comboBox2.Items.Add("verydeveloped");
// comboBox3.Items.Add("yes");
// comboBox3.Items.Add("no");
// comboBox4.Items.Add("normal");
// comboBox4.Items.Add("excellent");
// comboBox5.Items.Add("yes");
// comboBox5.Items.Add("no ");
// comboBox5.Items.Add("");
//}
//private void button1_Click(object sender, EventArgs e)
//{
// Item testItem = new Item();
// testItem.age = cbAge.SelectedValue;
// testItem.education = comboBox2.SelectedValue;
// testItem.native_country = comboBox3.SelectedValue;
// testItem.occupation = comboBox4.SelectedValue;
// testItem.makeover50k = comboBox5.SelectedValue;
//}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -