Esempio n. 1
0
        private void btnAddTag_Click(object sender, EventArgs e)
        {
            using (GetText fmGet = new GetText()) {
                fmGet.StartPosition = FormStartPosition.Manual;
                fmGet.Location = Location;
                fmGet.ShowDialog();

                if (fmGet.DialogResult == DialogResult.OK) {
                    lvIgnoredTags.Items.Add(new ListViewItem(fmGet.UserInput));
                    SettingsChanged(stCurrent.TagIgnoreChanged(GetIgnoredTags()));
                }
            }
        }
Esempio n. 2
0
        private void btnAddTag_Click(object sender, EventArgs e)
        {
            using (GetText fmGet = new GetText()) {
                fmGet.StartPosition = FormStartPosition.Manual;
                fmGet.Location      = Location;
                fmGet.ShowDialog();

                if (fmGet.DialogResult == DialogResult.OK)
                {
                    lvIgnoredTags.Items.Add(new ListViewItem(fmGet.UserInput));
                    SettingsChanged(stCurrent.TagIgnoreChanged(GetIgnoredTags()));
                }
            }
        }