private void tagChooseDict_clicked(DataTable dt) { textBox.Text += "File loaded! "; try { dict = CommonTools.DataTableToDict(dt); } catch (Exception err) { MessageBox.Show(err.Message); } textBox.Text += "dict lines:" + dict.Count.ToString() + "\n"; }
private void tagChooseIndex_clicked(DataTable dt) { textBox.Text += "File loaded\n"; labelMap = CommonTools.DataTableToDict(dt); }