-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add moves validation, visual hints to show what squares can be reache…
…d, pawn promotion, and an indicator on the bottom left to show who’s turn it is
- Loading branch information
Showing
20 changed files
with
576 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System.Windows.Forms.Design; | ||
using System.ComponentModel.Design; | ||
|
||
namespace ChessboardControl | ||
{ | ||
public class ChessboardDesigner: ControlDesigner | ||
{ | ||
private DesignerActionListCollection actionLists; | ||
|
||
public override DesignerActionListCollection ActionLists | ||
{ | ||
get | ||
{ | ||
if (actionLists == null) | ||
{ | ||
actionLists = new DesignerActionListCollection(); | ||
actionLists.Add(new ChessboardDesignerActionList(this.Component)); | ||
} | ||
return actionLists; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.