2014-03-21
WPF象棋单机游戏源码
WPF象棋单机游戏源码源码描述:WPF象棋单机游戏源码简单实现单机象棋,可以对弈,但不能人机对弈,可以设置红黑方谁走的。绘制棋子黑車上button=newNewButton();button.imageUri=newUri(dir.FullName+@\Images\blackju.png);this.Drawing.Children.Add(button);button.point=newPoint(30,60);button_list.Add(button);button.MouseDown+=newMouseButtonEventHandler(button.Method);button.Name=Blackju;button.Camps_type=Black;this.main.MouseDown+=newMouseButtonEventHandler(Grid_MouseDown);