Example #1
0
        private void Button_Click_Load(object sender, RoutedEventArgs e)
        {
            FileStream   stream = File.OpenRead("C:\\Users\\Thomas\\Documents\\GitHub\\Serializer\\Test\\bin\\Debug\\test.txt");
            StreamReader reader = new StreamReader(stream);

            manager.Unserialize <TestClass>(testClass, "Test", new XMLReader(reader));
            reader.Close();

            textBoxEntier.Text = testClass.entier.ToString();
        }