示例#1
0
文件: Form1.cs 项目: syarhei/asp.net
        private void button2_Click(object sender, EventArgs e)
        {
            this.client = new sergvm.Service1Client();
            int x = Convert.ToInt32(textBox1.Text);
            int y = Convert.ToInt32(textBox2.Text);

            textBox3.Text = Convert.ToString(this.client.Min(x, y));
        }
示例#2
0
文件: Form1.cs 项目: syarhei/asp.net
        public Form1()
        {
            InitializeComponent();
            this.client = new sergvm.Service1Client();
            this.client.Open();
            string sss = this.client.GetData(777);

            sergvm.CompositeType ct = new sergvm.CompositeType();
            ct.BoolValue   = true;
            ct.StringValue = "stringi";
            sergvm.CompositeType rc = this.client.GetDataUsingDataContract(ct);
        }
示例#3
0
文件: Form1.cs 项目: syarhei/asp.net
 private void button3_Click(object sender, EventArgs e)
 {
     this.client   = new sergvm.Service1Client();
     textBox3.Text = this.client.Concat(textBox1.Text, textBox2.Text);
 }