Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void AdmAreaFilter_Click(object sender, EventArgs e)
- {
- foreach (DataGridViewCell cell in dataGridView1.SelectedCells)
- {
- if (dataGridView1.SelectedCells.Count == 1)
- {
- if (cell.ColumnIndex == 4)
- {
- int k = csv.Rows.Count;
- for (int i = 1; i < k; i++)
- {
- if (currentList[i].ChiefName != cell.Value.ToString()) { csv.Rows.RemoveAt(i); i--; k--; }
- }
- }
- }
- }
- currentList = Theater.CreateObjects(csv.Rows);
- FullDaGrid(currentList, (int)numericUpDown.Value);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement