예제 #1
0
        public void DoSolve(Crossword Sudocu)
        {
            Thread mainSolvethread = new Thread(Solve);

            solvedSudocu = Sudocu;
            mainSolvethread.Start();
        }
예제 #2
0
        public static Crossword Load(String filePath)
        {
            XmlSerializer serializer = new XmlSerializer(typeof(Crossword));
            Stream        stream     = new FileStream(filePath, FileMode.Open);

            Crossword Sudocu = (Crossword)serializer.Deserialize(stream);

            stream.Close();
            return(Sudocu);
        }