Exemple #1
0
 private void RandomCreateDates_button_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in UsersDataGrid.SelectedRows)
     {
         row.Cells["createdDataGridViewTextBoxColumn"].Value = UsersUtility.CreateRandomDates(1)[0];
     }
 }
 private void BulkCreateRandomUsers_button_Click(object sender, EventArgs e)
 {
     UsersUtility.CreateNewUsers(customerTableAdapter, ref usersBindingSource, ref _context);
     Refresh();
 }