private void GetComputerInfo() { info = new PcInfo(); outputPanel.Text = info.ToString(); /* * var serializer = new XmlSerializer(typeof(PcInfo)); * var stream = File.OpenWrite("test.xml"); * //using () * //{ * // serializer.Serialize(stream, info); * //} */ }
public Report(PcInfo info) { reportInfo = info; }