Example #1
0
 public void ReadFrom(Stream stream)
 {
     try
     {
         SawMillReader reader = SawMillReader.GetInstance(stream);
         reader.Read(this.screens);
     }
     catch (Exception ex)
     {
         Trace.WriteLine("SawMill.ReadFrom(stream): " + ex.ToString());
     }
 }
Example #2
0
        public static SawMillReader GetInstance(Stream stream)
        {
            SawMillReader instance = new SawMillReader(stream);

            return(instance);
        }