IfcDoc.CtlProperties.toolStripButtonTranslationRemove_Click C# (CSharp) Method

toolStripButtonTranslationRemove_Click() private method

private toolStripButtonTranslationRemove_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void toolStripButtonTranslationRemove_Click(object sender, EventArgs e)
        {
            for (int i = this.listViewLocale.SelectedItems.Count - 1; i >= 0; i--)
            {
                ListViewItem lvi = this.listViewLocale.SelectedItems[i];
                DocLocalization docLocal = (DocLocalization)lvi.Tag;
                this.m_target.Localization.Remove(docLocal);
                docLocal.Delete();

                lvi.Remove();
            }
        }
CtlProperties