private void button3_Click_1(object sender, EventArgs e) { addUserAccounts ad = new addUserAccounts(); ad.ShowDialog(); userController.fillDataGridUser(ref dgUserAccounts); encryptPasswordGrid(); }
private void button2_Click_1(object sender, EventArgs e) { addUserAccounts ad = new addUserAccounts(dgUserAccounts.SelectedRows[0].Cells[4].Value.ToString(), dgUserAccounts.SelectedRows[0].Cells[1].Value.ToString(), dgUserAccounts.SelectedRows[0].Cells[3].Value.ToString(), dgUserAccounts.SelectedRows[0].Cells[2].Value.ToString(), dgUserAccounts.SelectedRows[0].Cells[6].Value.ToString(), dgUserAccounts.SelectedRows[0].Cells[0].Value.ToString()); ad.ShowDialog(); userController.fillDataGridUser(ref dgUserAccounts); encryptPasswordGrid(); }