private void ButtonImportDict_Click(object sender, EventArgs e) { FormImportDict formId = new FormImportDict(); if (DialogResult.OK == formId.ShowDialog()) { statusLabel.Text = "完成词典文件导入任务。"; LoadDicts2ListView(listViewDictsManage); } }
private void BtnImportDict2Db_ClickAsync(object sender, EventArgs e) { FormImportDict formId = new FormImportDict(); if (DialogResult.OK == formId.ShowDialog()) { toolStripStatusLabel1.Text = "完成词典文件导入任务。"; btnDictManage.Enabled = true; btnShowWordsIndex.Enabled = true; } }