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