示例#1
0
文件: Form1.cs 项目: 15831944/C-SHAPE
        private void button2_Click(object sender, EventArgs e)
        {
            Eagle      eagle = new Eagle(textBox1.Text);
            Helicopter h     = new Helicopter(textBox2.Text);

            eagle.SayFlyCondition();
            h.SayFlyCondition();
        }