Esempio n. 1
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            FileStream fs = new FileStream("test.xml", FileMode.Create);

            GridLayoutSerializer.SaveLayout(gridView1, fs);
            fs.Close();
        }
Esempio n. 2
0
        public static void SaveLayout(ColumnView view, Stream stream)
        {
            GridLayoutSerializer serializer = new GridLayoutSerializer();

            serializer.Serialize(stream, serializer.GetFilterProps(view), "View");
        }