You can now choose not to see the answers and try to play

This commit is contained in:
2022-10-17 17:23:35 +02:00
parent 24af23a3a2
commit 40a234b8f1
5 changed files with 88 additions and 11 deletions
+8 -1
View File
@@ -20,7 +20,6 @@ namespace NonoGramme
public Form1()
{
InitializeComponent();
NewGame();
}
private void NewGame()
{
@@ -31,6 +30,7 @@ namespace NonoGramme
private void Form1_Load(object sender, EventArgs e)
{
//ScaleUi();
NewGame();
}
private void Form1_Resize(object sender, EventArgs e)
@@ -52,6 +52,7 @@ namespace NonoGramme
private void RefreshUi()
{
nonogramme1.Refresh();
//ScaleUi();
}
private void button1_Click(object sender, EventArgs e)
{
@@ -98,5 +99,11 @@ namespace NonoGramme
nonogramme1.CursorClick(nonogramme1.PointToClient(MousePosition));
RefreshUi();
}
private void btnShow_Click(object sender, EventArgs e)
{
nonogramme1.ToggleSolution();
RefreshUi();
}
}
}