entity.MetaEditor2.Ident.UpdateIdentBoxes C# (CSharp) Method

UpdateIdentBoxes() private method

private UpdateIdentBoxes ( ) : void
return void
        private void UpdateIdentBoxes()
        {
            if (this.cbTagType.Items.Count <= 1)
            {
                this.cbTagType.Items.Clear();
                this.cbTagType.Items.Add(this.tagType);
                this.cbTagType.SelectedIndex = 0;
            }
            else
            {
                this.cbTagType.Text = this.tagType;
            }

            if (this.cbTagIdent.Items.Count <= 1)
            {
                this.cbTagIdent.Items.Clear();
                this.cbTagIdent.Items.Add(this.tagName);
                this.cbTagIdent.SelectedIndex = 0;
            }
            else
            {
                this.cbTagIdent.Text = this.tagName;
            }
        }