Пример #1
0
        void column_ColumnRemoved(object sender, EventArgs e)
        {
            var column = (ColumnSettings)sender;
            var index  = ColumnsList.IndexOf(column);

            ColumnsList.Remove(column);
            ResetColumns();
            if (ColumnsList.Count > 0)
            {
                ColumnsList.Last().SelectControl();
            }
            else
            {
                chkColumnLabels.Select();
            }
        }