Exemple #1
0
        private void button3_Click_1(object sender, EventArgs e)
        {
            addUserAccounts ad = new addUserAccounts();

            ad.ShowDialog();
            userController.fillDataGridUser(ref dgUserAccounts);
            encryptPasswordGrid();
        }
Exemple #2
0
        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();
        }