Exemplo n.º 1
0
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            AddDict AUD = new AddDict("2", null, CurrentID);

            AUD.ShowDialog();
            if (AUD.DialogResult == DialogResult.OK)
            {
                ShowDictDetail(CurrentID);
            }
        }
Exemplo n.º 2
0
        private void toolStripMenuItem2_Click(object sender, EventArgs e)
        {
            if (listView2.SelectedItems.Count == 0)
            {
                // MessageBox.Show("请选择!");
                return;
            }
            AddDict AUD = new AddDict("2", listView2.SelectedItems[0], CurrentID);

            AUD.ShowDialog();
            if (AUD.DialogResult == DialogResult.OK)
            {
                ShowDictDetail(CurrentID);
            }
        }