Beispiel #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     using (ServiceReference2.Service1Client worker = new ServiceReference2.Service1Client())
     {
         dataGridView1.DataSource = worker.GetAllMembers().Tables[0];
     }
 }
Beispiel #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     using (ServiceReference2.Service1Client worker = new ServiceReference2.Service1Client())
     {
         dataGridView1.DataSource = worker.GetMemberByID(Convert.ToInt32(textBox2.Text)).Tables[0];
     }
 }
Beispiel #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     using (ServiceReference2.Service1Client work = new ServiceReference2.Service1Client())
     {
         label1.Text = work.F4(Convert.ToDouble(textBox1.Text)).ToString();
     }
 }