Exemplo n.º 1
0
        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);
             * //}
             */
        }
Exemplo n.º 2
0
 public Report(PcInfo info)
 {
     reportInfo = info;
 }