示例#1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            Conductor conductor1 = new Conductor();

            comboBox1.DataSource = Enum.GetValues(typeof(Tipo));
        }
示例#2
0
 private void button2_Click(object sender, EventArgs e)
 {
     Conductor obj = new Conductor(Convert.ToInt32(textBox1.Text), textBox2.Text);
 }