public void DoSolve(Crossword Sudocu) { Thread mainSolvethread = new Thread(Solve); solvedSudocu = Sudocu; mainSolvethread.Start(); }
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); }