コード例 #1
0
ファイル: Form1.cs プロジェクト: Emmyandersson/WCF
 private void button1_Click(object sender, EventArgs e)
 {
     HarryPotterBooksSoapClient client = new HarryPotterBooksSoapClient();
     lblResult.Text = client.BookName(textBox1.Text);
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: Emmyandersson/WCF
        private void button1_Click(object sender, EventArgs e)
        {
            HarryPotterBooksSoapClient client = new HarryPotterBooksSoapClient();

            lblResult.Text = client.BookName(textBox1.Text);
        }