IfcDoc.FormEdit.SEntity_EntityCreated C# (CSharp) Method

SEntity_EntityCreated() private method

private SEntity_EntityCreated ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        void SEntity_EntityCreated(object sender, EventArgs e)
        {
            if (this.m_loading)
            {
                return;
            }

            this.m_lastid++;

            SEntity entity = (SEntity)sender;
            entity.OID = this.m_lastid;
            this.m_instances.Add(entity.OID, entity);
        }
FormEdit