private string GetExtendedParameterInput()
        {
            string initialValue = txtActionParams.Text;

            using (var extendedParamForm = new ActionExtendedParameterEditForm())
            {
                var formDisplayPoint = PointToScreen(new Point(txtActionParams.Left, txtActionParams.Top + txtActionParams.Height));
                extendedParamForm.Left = formDisplayPoint.X;
                extendedParamForm.Top  = formDisplayPoint.Y;

                extendedParamForm.LoadDataIntoUI(initialValue);
                var result = extendedParamForm.ShowDialog(this);
                if (result == DialogResult.OK)
                {
                    return(SettingsPersistenceManager.EncodeActionParameter(extendedParamForm.GetDataFromUI()));
                }
            }
            return(initialValue);
        }
        private string GetExtendedParameterInput()
        {
            string initialValue = txtActionParams.Text;
            using (var extendedParamForm = new ActionExtendedParameterEditForm())
            {
                var formDisplayPoint = PointToScreen(new Point(txtActionParams.Left, txtActionParams.Top + txtActionParams.Height));
                extendedParamForm.Left = formDisplayPoint.X;
                extendedParamForm.Top = formDisplayPoint.Y;

                extendedParamForm.LoadDataIntoUI(initialValue);
                var result = extendedParamForm.ShowDialog(this);
                if (result == DialogResult.OK)
                {
                    return SettingsPersistenceManager.EncodeActionParameter(extendedParamForm.GetDataFromUI());
                }
            }
            return initialValue;
        }