IfcDoc.CtlProperties.textBoxGeneralName_TextChanged C# (CSharp) Method

textBoxGeneralName_TextChanged() private method

private textBoxGeneralName_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void textBoxGeneralName_TextChanged(object sender, EventArgs e)
        {
            if (this.m_loadall)
                return;

            if (this.listViewLocale.SelectedItems.Count > 0)
            {
                foreach (ListViewItem lvi in this.listViewLocale.SelectedItems)
                {
                    DocLocalization docLocal = (DocLocalization)lvi.Tag;
                    docLocal.Name = this.textBoxGeneralName.Text;

                    lvi.SubItems[1].Text = this.textBoxGeneralName.Text;
                }
            }
            else
            {
                //this.m_target.Name = this.textBoxGeneralName.Text;
                //this.Text = this.m_target.Name;
            }
        }
CtlProperties