public void DeleteCustomColumn(FileView flView) { foreach (string key in Program.customColumns.Keys) { if (!this.ContainsKey(key)) { this[key] = Program.customColumns[key]; } } ReadColoumnAttributes(flView); foreach (string key in Program.customColumns.Keys) { flView.DeleteCustomColumn(this[key].Name); } }