Esempio n. 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            P1 p1 = new P1();
            p1.calcprecizie();

            P2 p2 = new P2();
            textBox4.Clear();
            textBox4.AppendText(p2.retasoc(p1.u*10).ToString());
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            P1 p1=new P1();
            p1.calcprecizie();

            textBox1.Clear();
            textBox1.AppendText(p1.u.ToString());
            textBox2.Clear();
            textBox2.AppendText(p1.m.ToString());
        }