private void buttAdd_Click(object sender, EventArgs e) { formAddWords addWords = new formAddWords(); addWords.main = this; addWords.chkNewWordsFile = true; addWords.Show(); this.Hide(); }
private void buttNewWotD_Click(object sender, EventArgs e) { if (wotds == null) { LoadSubs(wotdWorker_RunWorkerCompleted_ClickButton); } else { prefs.NewWotDs = false; prefs.Save(); formAddWords addWords = new formAddWords(); addWords.main = this; addWords.LoadWotDs(); addWords.Show(); this.Hide(); buttNewWotD.Visible = false; } }
private void buttNewWotD_Click(object sender, EventArgs e) { if (wotds == null) LoadSubs(wotdWorker_RunWorkerCompleted_ClickButton); else { prefs.NewWotDs = false; prefs.Save(); formAddWords addWords = new formAddWords(); addWords.main = this; addWords.LoadWotDs(); addWords.Show(); this.Hide(); buttNewWotD.Visible = false; } }