예제 #1
0
        public static void DumpGrid(ReoGridControl grid, Stream stream)
        {
            var sw = new StreamWriter(stream);

            for (int row = 0; row < grid.RowCount; row++)
            {
                for (int col = 0; col < grid.ColCount; col++)
                {
                    var hborder = grid.RetrieveHBorder(row, col);
                    if (hborder != null)
                    {
                        sw.Write(hborder.Cols);
                    }

                    sw.Write("\t");
                }

                sw.WriteLine("\n");
            }
        }