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;
}
}