private void SetControlsToHeartOfTheSun()
        {
            Text           = Title;
            lblPrompt.Text = PromptText;

            if (_dropDownWithTextbox != null)
            {
                var cboSelVal = string.Empty;
                _dropDownWithTextbox.DropdownValues.ForEach(p =>
                {
                    cboInput.Items.Add(p);
                    if (p.IsSelected)
                    {
                        cboSelVal = p.DisplayValue;
                    }
                });
                WinformHelper.SetSelectedValueInComboBox(cboSelVal, cboInput);
                panCboControls.Visible = true;
                panCboControls.Top     = txtInput.Top;
                txtInput.Visible       = false;
                txtCboInput.Text       = _dropDownWithTextbox.InputBox.ControlDefaultValue;

                var orgwidth = lblCbo.Width;
                lblCbo.Text = _dropDownWithTextbox.LabelText;
                var newWidth = lblCbo.Width;

                lblForCboTextbox.Text = _dropDownWithTextbox.InputBox.LabelText;
                if (lblForCboTextbox.Width > newWidth)
                {
                    newWidth = lblForCboTextbox.Width;
                }
                if (newWidth > orgwidth)
                {
                    cboInput.Width    = cboInput.Width - (newWidth - orgwidth);
                    cboInput.Left     = cboInput.Left + (newWidth - orgwidth);
                    txtCboInput.Width = txtCboInput.Width - (newWidth - orgwidth);
                    txtCboInput.Left  = txtCboInput.Left + (newWidth - orgwidth);
                }
                Height = 213;
            }
            else
            {
                panCboControls.Visible = false;
                Height = 180;
            }
        }
 private void btnClear_Click(object sender, EventArgs e)
 {
     WinformHelper.ClearTextBoxes(this.Controls);
 }