Exemplo n.º 1
0
 public void save(DevExpress.XtraGrid.Views.Grid.GridView view)
 {
     System.IO.Stream str = new System.IO.MemoryStream();
     view.SaveLayoutToStream(str);
     str.Seek(0, System.IO.SeekOrigin.Begin);
     System.IO.StreamReader reader = new System.IO.StreamReader(str);
     layout = reader.ReadToEnd();
 }