public void SerializeAndDeserializeXmlObject()
        {
            var serializedObj   = xmlObject.Serialize();
            var deserializedObj = serializedObj.Deserialize <WorkerXML>();

            Assert.IsNotNull(serializedObj);
            Assert.IsNotNull(deserializedObj);
        }
예제 #2
0
 protected void buttonOK_Click(object sender, EventArgs e)
 {
     MessageBox.Show(WorkMethods.Save(project));
     WorkerXML.Serialize(project);
 }