Example #1
0
        public void LoadData(string content)
        {
            IniteSudoku();

            try
            {
                DataSet(SudokuFile.ConvertStringToInt(content), true);
            }
            catch (Exception ex)
            {
                MessageBox.Show("输入数据有误," + ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
                IniteSudoku();
                return;
            }
        }
Example #2
0
 public string ReadData()
 {
     return(SudokuFile.ConvertIntToString(DataRead()));
 }