IfcDoc.CtlParameters.LoadInheritance C# (CSharp) Method

LoadInheritance() private method

private LoadInheritance ( ) : void
return void
        private void LoadInheritance()
        {
            this.toolStripMenuItemModeSuppress.Checked = false;
            this.toolStripMenuItemModeOverride.Checked = false;
            this.toolStripMenuItemModeInherit.Checked = false;
            if (this.m_conceptleaf != null)
            {
                this.toolStripSplitButtonInheritance.Visible = true;

                if (this.m_conceptleaf.Suppress)
                {
                    this.toolStripSplitButtonInheritance.Image = this.toolStripMenuItemModeSuppress.Image;
                    this.toolStripMenuItemModeSuppress.Checked = true;
                }
                else if (this.m_conceptleaf.Override)
                {
                    this.toolStripSplitButtonInheritance.Image = this.toolStripMenuItemModeOverride.Image;
                    this.toolStripMenuItemModeOverride.Checked = true;
                }
                else
                {
                    this.toolStripSplitButtonInheritance.Image = this.toolStripMenuItemModeInherit.Image;
                    this.toolStripMenuItemModeInherit.Checked = true;
                }

                this.toolStripComboBoxOperator.SelectedIndex = (int)this.m_conceptleaf.Operator;
            }
            else
            {
                this.toolStripSplitButtonInheritance.Visible = false;
            }
        }