private void Transactions_Click(object sender, EventArgs e) { ServiceReference1.Service1Client client = new ServiceReference1.Service1Client(); dataGridView1.DataSource = client.getAllTransactions().Tables[0]; }
private void Delete_Click(object sender, EventArgs e) { ServiceReference1.Service1Client client = new ServiceReference1.Service1Client(); MessageBox.Show(client.DeleteTransaction(index)); loader(); }