示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            p1 = new prototip();

            p1.Kitapad = textBox1.Text;
            p1.Tür     = textBox2.Text;
            p1.Fiyat   = textBox3.Text;
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            p2 = (prototip)p1.Clone();

            label7.Text = p2.Kitapad;

            label8.Text = p2.Tür;

            label9.Text = p2.Fiyat;
        }