示例#1
0
 public void OpenFile(string filename, Stream file)
 {
     ByamlViewer.OpenByml(file, filename);
 }
示例#2
0
        public void OpenFile(string filename, Stream file)
        {
            StreamReader t = new StreamReader(file, Encoding.GetEncoding(932));

            ByamlViewer.OpenByml(Byaml.XmlConverter.ToByml(t.ReadToEnd()), filename);
        }