IfcDoc.FormRule.buttonOK_Click C# (CSharp) Method

buttonOK_Click() private method

private buttonOK_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void buttonOK_Click(object sender, EventArgs e)
        {
            // update
            if (this.m_rule.Identification != this.textBoxIdentifier.Text)
            {
                this.m_rule.RenameParameter(this.textBoxIdentifier.Text, this.m_project, this.m_template);
            }

            this.Close();
        }