Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ServiceReference1.WebService1SoapClient s = new ServiceReference1.WebService1SoapClient();
            string res = s.HelloWorld();

            MessageBox.Show(res);
        }
Beispiel #2
0
        private void butmod_Click(object sender, EventArgs e)
        {
            int id = (int)groupeDataGridView.SelectedRows[0].Cells[0].Value;

            ServiceReference1.WebService1SoapClient a = new ServiceReference1.WebService1SoapClient();
            a.modifier(nomgTextBox.Text, id);
            this.actualiser();
        }
Beispiel #3
0
        private void butsup_Click(object sender, EventArgs e)
        {
            int id = (int)groupeDataGridView.SelectedRows[0].Cells[0].Value;

            ServiceReference1.WebService1SoapClient a = new ServiceReference1.WebService1SoapClient();
            a.supprimer(id);
            this.actualiser();
        }
Beispiel #4
0
 private void butaj_Click(object sender, EventArgs e)
 {
     ServiceReference1.WebService1SoapClient a = new ServiceReference1.WebService1SoapClient();
     a.ajouter(nomgTextBox.Text);
     this.actualiser();
 }