CSReportEditor.cEditor.showHelpChartField C# (CSharp) Метод

showHelpChartField() публичный Метод

public showHelpChartField ( TextBox ctrl, int idx ) : bool
ctrl System.Windows.Forms.TextBox
idx int
Результат bool
        public bool showHelpChartField(TextBox ctrl, int idx) {
            int nIndex = 0;
            int nFieldType = 0;
            String sField = "";

            sField = ctrl.Text;
            nFieldType = m_fProperties.getChartFieldType(idx);
            nIndex = m_fProperties.getChartIndex(idx);

            if (cGlobals.showDbFields(ref sField, ref nFieldType, ref nIndex, this))
            {
                ctrl.Text = sField;
                m_fProperties.setChartFieldType(idx, nFieldType);
                m_fProperties.setChartIndex(idx, nIndex);
                return true;
            }
            else
            {
                return false;
            }
        }
cEditor