Exemple #1
0
 /// <summary>
 /// Create an empty puzzle of defined height and width and if it will be inputed by checksums, add 0 to every one
 /// </summary>
 /// <param name="sizeX">Puzzle width</param>
 /// <param name="sizeY">Puzzle height</param>
 /// <param name="inputStyle">Input style</param>
 public Puzzle(int sizeX, int sizeY, MainWindow.InputStyle inputStyle) : this(sizeX, sizeY)
 {
     if (inputStyle == MainWindow.InputStyle.Checksum)
     {
         InsertZeros();
     }
 }
 private void radioButtonByState_CheckedChanged(object sender, EventArgs e)
 {
     InputStyle = MainWindow.InputStyle.State;
 }