示例#1
0
 public FrmBoardSpace(FrmMain frmMain)
 {
     InitializeComponent();
     //this.Icon = Icon.FromHandle(Properties.Resources.world.GetHicon());
     _frmMain = frmMain;
     _downloadPath = Path.GetTempPath() + "hive.reviewer.cache\\";
 }
示例#2
0
 public void ReadFile(FrmMain frmMain, string fileName)
 {
     string hgnx = "";
     var reader = new StreamReader(fileName);
     hgnx = reader.ReadToEnd();
     reader.Close();
     frmMain.LoadHgnx(hgnx);
 }
示例#3
0
 public void ReadFile(FrmMain frmMain, string fileName)
 {
     string hgnx = BuildHgnxFromSgfFile(fileName);
     frmMain.LoadHgnx(hgnx);
 }
        public FrmBoardGameArena(FrmMain frmMain)
        {
            InitializeComponent();

            _frmMain = frmMain;
        }
示例#5
0
 public void ReadGame(FrmMain frmMain, string gameLog)
 {
     string hgnx = BuildHGNXFromBGAGameLog(gameLog);
     frmMain.LoadHgnx(hgnx);
 }