public GameRiver_Auto(GameRiver parent, int delay, bool isEnemy = false)
     : base(parent, "电脑", isEnemy)
 {
     this.delay = delay;
 }
 public IGameRiverPlayer(GameRiver parent, string name, bool isEnemy = false)
 {
     this.parent = parent;
     this.isEnemy = isEnemy;
     statue = PlayerStatue.Unknown;
     this.name = name;
 }
 /// <summary>
 /// 弹出过河棋游戏对话框,并隐藏父对话框
 /// </summary>
 /// <param name="parent">父对话框</param>
 /// <returns>对话框返回值,恒为OK</returns>
 public static DialogResult ShowDialog(Form parent)
 {
     parent.Hide();
     var res = new GameRiver().ShowDialog((IWin32Window)parent);
     parent.Show();
     return res;
 }
 public GameRiver_Local(GameRiver parent, string name, bool isEnemy = false)
     : base(parent, name, isEnemy)
 {
 }