Example #1
0
        private void btnDelfin1_Click(object sender, EventArgs e)
        {
            Delfin D;

            D         = new Delfin();
            D.Habitat = "Oceano";
            MessageBox.Show(D.ToString());
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Delfin D;

            D      = new Delfin();
            D.Piel = "Suave y gomosa";
            MessageBox.Show(D.ToString());
        }