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; } }
public string ReadData() { return(SudokuFile.ConvertIntToString(DataRead())); }