Beispiel #1
0
 private void LoadData()
 {
     ServiceReference1.Service1Client client = new ServiceReference1.Service1Client();
     dataGridView1.DataSource = client.GetBoetes();
 }
Beispiel #2
0
 private void buttonVoegToe_Click(object sender, System.EventArgs e)
 {
     ServiceReference1.Service1Client client = new ServiceReference1.Service1Client();
     client.AddBoete(int.Parse(textBoxBetalingsnr.Text), int.Parse(textBoxSpelersnr.Text), dateTimePickerDatum.Value, decimal.Parse(textBoxBedrag.Text));
     LoadData();
 }