예제 #1
0
        private void buttonAliasAdd_Click(object sender, EventArgs e)
        {
            FormAsnPathAlias f;

            f = new FormAsnPathAlias("");
            f.ShowDialog(this);
            if (f.DialogResult == DialogResult.OK)
            {
                dict.add(f.Alias);
                reload();
            }
        }
예제 #2
0
        private void buttonAliasEdit_Click(object sender, EventArgs e)
        {
            if (listView1.SelectedItems.Count != 1)
            {
                return;
            }
            AsnPathAlias     a = (AsnPathAlias)listView1.SelectedItems[0].Tag;
            FormAsnPathAlias f;

            f = new FormAsnPathAlias(a);
            f.ShowDialog(this);
            if (f.DialogResult == DialogResult.OK)
            {
                dict.add(f.Alias);
                reload();
            }
        }