public static void Load(XmlNode valueDescNode, Dictionary <string, VdfValueDesc> valueDescTable) { VdfAsciiValueDesc valueDesc = VdfValueDesc.Load <VdfAsciiValueDesc>(valueDescNode, valueDescTable); if (valueDesc == null) { return; } valueDescTable.Add(valueDesc.Name, valueDesc); }
protected override void UpdateUI() { base.UpdateUI(); valDesc = Entity <VdfAsciiValueDesc>(); if (valDesc != null) { textBoxName.Text = valDesc.Name; OldName = textBoxName.Text; textBoxName.Enabled = (valDesc.Owners.Count == 0); } }