Exemplo n.º 1
0
        private void updateDictionary()
        {
            if (dataGridView.SelectedRows.Count < 1)
            {
                return;
            }

            string            D_Code            = dataGridView.SelectedRows[0].Cells["D_Code"].Value.ToString();
            frmDictionaryEdit frmDictionaryEdit = new frmDictionaryEdit(this, frmMain.User, D_Code, 2);

            frmDictionaryEdit.ShowDialog();
        }
Exemplo n.º 2
0
        private void addDictionary()
        {
            frmDictionaryEdit frmDictionaryEdit = new frmDictionaryEdit(this, frmMain.User, "", 1);

            frmDictionaryEdit.ShowDialog();
        }