public override void SetData(object member, Action CloseWidgetCallback) { blockComboMember = member as IBlockComboBox; this.CloseWidgetCallback = CloseWidgetCallback; foreach (var entry in blockComboMember.ComboEntries) { comboBox.Add(entry.Value, entry); } initValue = blockComboMember.Value; comboBox.SetSelectionAt((int)blockComboMember.Value); comboBox.MouseInput.GetInputFocus(); }