/// <summary> /// Define data for a filter list or custom word list with given name /// </summary> public void SetWordListData(WordListData data, string name) { mWordLists[name] = data; }
private void wordWizardToolStripMenuItem_Click(object sender, EventArgs e) { WordWizard wordWizard = new WordWizard(); using (wordWizard) { wordWizard.ShowDialog(); } if (wordWizard.DialogResult == DialogResult.OK) { if (wordWizard.words.Count > 0) { data = new WordListData(wordWizard.words); //TableBingo = new BingoTable(wordWizard.words); } refreshAfterFileOpen(); } }
public regeneratingPuzzleWait(ref WordListData incomingData) { data = incomingData; generatePuzzle = new Thread(new ThreadStart(data.regeneratePuzzle)); InitializeComponent(); }
private void newToolStripMenuItem_Click(object sender, EventArgs e) { AskSaveChanges(true); data = new WordListData(15); refreshAfterFileOpen(); }