Пример #1
0
 public void AddCustomColumn(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)
     {
         if (flView.GetColumnDisplayIndex(this[key].Name, -1) < 0)
         {
             flView.AddCustomColumn(this[key].Name, ColumnTextJustificationStyles.Left, this[key].Width);
         }
     }
 }