Skip to content
Snippets Groups Projects
Commit bcaa6304 authored by Floris's avatar Floris
Browse files

change

parent b288c76a
No related branches found
No related tags found
No related merge requests found
...@@ -32,12 +32,12 @@ namespace PuzzlePlayer_Namespace ...@@ -32,12 +32,12 @@ namespace PuzzlePlayer_Namespace
} }
private readonly Button UPDATEBUTTON; private readonly Button UPDATEBUTTON;
public string puzzleType { get; } public string puzzleType { get { return "Binary"; } }
public PuzzleForm(Board b) //public PuzzleForm(Board b)
{ //{
board = b; // board = b;
puzzleType = b.GetType().Name; // puzzleType = b.GetType().Name;
} //}
public PuzzleForm(Board b, Size s = default) //takes Board and Size parameter and sets up the PuzzleForm window. public PuzzleForm(Board b, Size s = default) //takes Board and Size parameter and sets up the PuzzleForm window.
{ {
...@@ -88,9 +88,6 @@ namespace PuzzlePlayer_Namespace ...@@ -88,9 +88,6 @@ namespace PuzzlePlayer_Namespace
} }
private void CreateUI() //sets up ui elements private void CreateUI() //sets up ui elements
{ {
Point boardP = new Point(220, 30);
Size boardS = new Size(400, 400);
void CreateButton(Button b) void CreateButton(Button b)
{ {
Controls.Add(b); Controls.Add(b);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment