Esempio n. 1
0
        public void priceShow()
        {
            int     getprice;
            int     gettax;
            int     gettotalprice;
            Boolean getpriceresult;
            Boolean gettotalpriceresult;
            Boolean gettaxresult;

            server.Service1 o = new server.Service1();
            o.cal();
            o.getprice(out getprice, out getpriceresult);
            textBox1.Text = Convert.ToString(getprice);
            o.getprice(out gettotalprice, out gettotalpriceresult);
            o.gettax(out gettax, out gettaxresult);
            textBox2.Text = Convert.ToString(gettax);
            o.gettotalprice(out gettotalprice, out gettotalpriceresult);
            int totalprice = gettotalprice;

            totalprice    = gettax + getprice;
            textBox3.Text = Convert.ToString(totalprice);
        }