public void OpenFile(string filename, Stream file) { ByamlViewer.OpenByml(file, filename); }
public void OpenFile(string filename, Stream file) { StreamReader t = new StreamReader(file, Encoding.GetEncoding(932)); ByamlViewer.OpenByml(Byaml.XmlConverter.ToByml(t.ReadToEnd()), filename); }