Exemplo n.º 1
0
            public override void Reset()
            {
                CloseWidgetCallback = null;

                Confirm();
                blockComboMember = null;
                comboBox.ClearEntries();
            }
Exemplo n.º 2
0
            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();
            }