/// <summary> /// Rellena los valores del menu /// </summary> public void Populate() { this.txtDisplayName.Text = _MenuItemSelected.DisplayName; this.txtAssembly.Text = _MenuItemSelected.AssemblyInfo; this.txtFormName.Text = _MenuItemSelected.FormName; this.txtToolTipInfo.Text = _MenuItemSelected.ToolTipInfo; this.checkBoxEnabled.Checked = _MenuItemSelected.Enabled; if (_MenuItemSelected.NodeSelectedImage != null) { this.pictureBoxImageSelected.Image = TypeFunctions.ConvertByteArrayToImage(_MenuItemSelected.NodeSelectedImage); } else { pictureBoxImageSelected.Image = null; } if (_MenuItemSelected.NodeImage != null) { this.pictureBoxImage.Image = TypeFunctions.ConvertByteArrayToImage(_MenuItemSelected.NodeImage); } else { pictureBoxImage.Image = null; } if (_MenuItemSelected.TypeImage != null) { this.pictureBoxTypeImage.Image = TypeFunctions.ConvertByteArrayToImage(_MenuItemSelected.TypeImage); } else { pictureBoxTypeImage.Image = null; } }