示例#1
0
 public void ReadFile(FrmMain frmMain, string fileName)
 {
     string hgnx = "";
     var reader = new StreamReader(fileName);
     hgnx = reader.ReadToEnd();
     reader.Close();
     frmMain.LoadHgnx(hgnx);
 }
示例#2
0
 public void ReadFile(FrmMain frmMain, string fileName)
 {
     string hgnx = BuildHgnxFromSgfFile(fileName);
     frmMain.LoadHgnx(hgnx);
 }
示例#3
0
 public void ReadGame(FrmMain frmMain, string gameLog)
 {
     string hgnx = BuildHGNXFromBGAGameLog(gameLog);
     frmMain.LoadHgnx(hgnx);
 }