private void label10_Click(object sender, EventArgs e)
        {
            PaymentAndLoan f = new PaymentAndLoan();

            f.NationalCode1 = NationalCode;
            f.ShowDialog();
            DepositTransactionsService.DepositTransactionsServiceClient a = new DepositTransactionsService.DepositTransactionsServiceClient();
            dataGridView1.DataSource = a.GetPeopleDepositTransactions().Select(x => new { x.DepositId, x.Amount, x.DateTime, x.BankFollowUpCode, x.AdminNationalCode, x.AdminPermission, x.NationalCode }).Where(x => x.NationalCode == NationalCode).ToList();
        }
Exemplo n.º 2
0
        private void label13_Click(object sender, EventArgs e)
        {
            PaymentAndLoan f = new PaymentAndLoan();

            f.NationalCode1 = dataGridView1.SelectedRows[0].Cells["NatinalCode"].Value.ToString();
            f.ShowDialog();
            a = new PeopleService.PeopleServiceClient();
            dataGridView1.DataSource = a.GetPeople().Select(x => new { x.NationalCode, x.FirstName, x.LastName, x.FathersName, x.Tel, x.Mobile, x.IsActive }).ToList();
        }