From bcaa6304207ee89b4022fb8c12f2b9a17f0ccb7e Mon Sep 17 00:00:00 2001 From: Floris <f.k.h.vandezande@students.uu.nl> Date: Mon, 2 Dec 2024 12:16:31 +0100 Subject: [PATCH] change --- PuzzlePlayer/PuzzleForm.cs | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/PuzzlePlayer/PuzzleForm.cs b/PuzzlePlayer/PuzzleForm.cs index 8f1033b..b4e0f2a 100644 --- a/PuzzlePlayer/PuzzleForm.cs +++ b/PuzzlePlayer/PuzzleForm.cs @@ -32,12 +32,12 @@ namespace PuzzlePlayer_Namespace } private readonly Button UPDATEBUTTON; - public string puzzleType { get; } - public PuzzleForm(Board b) - { - board = b; - puzzleType = b.GetType().Name; - } + public string puzzleType { get { return "Binary"; } } + //public PuzzleForm(Board b) + //{ + // board = b; + // puzzleType = b.GetType().Name; + //} 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 } private void CreateUI() //sets up ui elements { - Point boardP = new Point(220, 30); - Size boardS = new Size(400, 400); - void CreateButton(Button b) { Controls.Add(b); -- GitLab