Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.client = new MSUWCF.Service1Client();
            int x = Convert.ToInt32(textBox1.Text);
            int y = Convert.ToInt32(textBox2.Text);

            textBox3.Text = Convert.ToString(this.client.Min(x, y));
        }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            this.client = new MSUWCF.Service1Client();
            this.client.Open();
            string sss = this.client.GetData(777);

            MSUWCF.CompositeType ct = new MSUWCF.CompositeType();
            ct.BoolValue   = true;
            ct.StringValue = "stringi";
            MSUWCF.CompositeType rc = this.client.GetDataUsingDataContract(ct);
        }
Esempio n. 3
0
 private void button3_Click(object sender, EventArgs e)
 {
     this.client   = new MSUWCF.Service1Client();
     textBox3.Text = this.client.Concat(textBox1.Text, textBox2.Text);
 }