示例#1
0
        public frmCaroChess()
        {
            InitializeComponent();
            btnPvsP.Click += new EventHandler(playerPlayerToolStripMenuItem_Click);
            caroChess      = new CaroChess();
            caroChess.TaoMangOCo();
            grs = pnlBanCo.CreateGraphics();

            playerComToolStripMenuItem.Click += new EventHandler(PvsC_Click);
            btnPvsC.Click += new EventHandler(PvsC_Click);
            btnRedo.Click += new EventHandler(redoToolStripMenuItem_Click);
            btnUndo.Click += new EventHandler(undoToolStripMenuItem_Click);
        }