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())); } } }
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())); } } }