Exemplo n.º 1
0
        private void voBtnTestProxy_Click(object sender, EventArgs e)
        {
            FRWCF.MyMathClient mmc = new FRWCF.MyMathClient( );
            double             res = mmc.ComputeAvg(5, 8, 13);

            MessageBox.Show("Result = " + res.ToString( ));
        }
Exemplo n.º 2
0
        private void btnWCFProxy_Click(object sender, EventArgs e)
        {
            // For each endpoint, the proxy creates a class which starts
            // with name of the interface (without I) followed by Client
            FRWCF.MyMathClient mmc = new FRWCF.MyMathClient();
            double             res = mmc.ComputeAvg(5, 8, 13);

            MessageBox.Show("Result = " + res.ToString());
        }