IfcDoc.CtlProperties.checkBoxAttributeOptional_CheckedChanged C# (CSharp) Méthode

checkBoxAttributeOptional_CheckedChanged() private méthode

private checkBoxAttributeOptional_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void
        private void checkBoxAttributeOptional_CheckedChanged(object sender, EventArgs e)
        {
            DocAttribute docAttr = (DocAttribute)this.m_target;
            if (this.checkBoxAttributeOptional.Checked)
            {
                docAttr.AttributeFlags |= 1;
            }
            else
            {
                docAttr.AttributeFlags &= ~1;
            }
        }
CtlProperties