private void flex_AfterEdit(object sender, C1.Win.C1FlexGrid.RowColEventArgs e) { flex.AutoSizeRow(e.Row); }