Esempio n. 1
0
        private void InitUI()
        {
            #region MinValue

            m_MinValue               = new DoubleInputValue();
            m_MinValue.ControlName   = "MinValue";
            m_MinValue.Caption       = "×îСֵ";
            m_MinValue.ControlWidth  = 150;
            m_MinValue.ControlHeight = 23;
            m_MinValue.MinValue      = -1.7976931348623157E+308;
            m_MinValue.MaxValue      = 1.7976931348623157E+308;

            #endregion

            #region MaxValue

            m_MaxValue               = new DoubleInputValue();
            m_MaxValue.ControlName   = "MaxValue";
            m_MaxValue.Caption       = "×î´óÖµ";
            m_MaxValue.ControlWidth  = 150;
            m_MaxValue.ControlHeight = 23;
            m_MaxValue.MinValue      = -1.7976931348623157E+308;
            m_MaxValue.MaxValue      = 1.7976931348623157E+308;

            #endregion

            #region MinSize

            m_MinSize               = new DoubleInputValue();
            m_MinSize.ControlName   = "MinSize";
            m_MinSize.Caption       = "·ûºÅ×îСֵ";
            m_MinSize.ControlWidth  = 150;
            m_MinSize.ControlHeight = 23;
            m_MinSize.MinValue      = 1;
            m_MinSize.MaxValue      = 1.7976931348623157E+308;

            #endregion

            #region MaxSize

            m_MaxSize               = new DoubleInputValue();
            m_MaxSize.ControlName   = "MaxSize";
            m_MaxSize.Caption       = "·ûºÅ×î´óÖµ";
            m_MaxSize.ControlWidth  = 150;
            m_MaxSize.ControlHeight = 23;
            m_MaxSize.MinValue      = 1;
            m_MaxSize.MaxValue      = 1.7976931348623157E+308;

            #endregion

            #region SizeLevel

            m_SizeLevel               = new IntegerInputValue();
            m_SizeLevel.ControlName   = "SizeLevel";
            m_SizeLevel.Caption       = "½¥±äµÈ¼¶";
            m_SizeLevel.ControlWidth  = 150;
            m_SizeLevel.ControlHeight = 23;
            m_SizeLevel.MinValue      = 1;
            m_SizeLevel.MaxValue      = 2147483647;

            #endregion

            #region Field

            m_Field               = new ComboValue();
            m_Field.ControlName   = "Field";
            m_Field.Caption       = "½¥±ä×Ö¶Î";
            m_Field.ControlWidth  = 150;
            m_Field.ControlHeight = 23;
            m_Field.DropDownWidth = 150;
            FieldInfo[] fields = new FieldInfo[10];
            for (int i = 0; i < 10; i++)
            {
                fields[i]           = new FieldInfo();
                fields[i].FieldName = "Field" + i.ToString();
                fields[i].FieldDesc = "Field" + i.ToString();
                fields[i].FieldType = "Field" + i.ToString();
            }
            m_Field.Items = fields;

            #endregion

            #region ForeSymbol

            m_ForeSymbol               = new SymbolValue();
            m_ForeSymbol.ControlName   = "ForeSymbol";
            m_ForeSymbol.Caption       = "Ç°¾°·ûºÅ";
            m_ForeSymbol.ControlWidth  = 100;
            m_ForeSymbol.ControlHeight = 40;

            #endregion
        }
Esempio n. 2
0
        private void InitUI()
        {
            #region MinValue

            m_MinValue               = new DoubleInputValue();
            m_MinValue.ControlName   = "MinValue";
            m_MinValue.Caption       = "最小值";
            m_MinValue.ControlWidth  = 150;
            m_MinValue.ControlHeight = 23;
            m_MinValue.MinValue      = -1.7976931348623157E+308;
            m_MinValue.MaxValue      = 1.7976931348623157E+308;

            #endregion

            #region MaxValue

            m_MaxValue               = new DoubleInputValue();
            m_MaxValue.ControlName   = "MaxValue";
            m_MaxValue.Caption       = "最大值";
            m_MaxValue.ControlWidth  = 150;
            m_MaxValue.ControlHeight = 23;
            m_MaxValue.MinValue      = -1.7976931348623157E+308;
            m_MaxValue.MaxValue      = 1.7976931348623157E+308;

            #endregion

            #region ColorRamp

            m_ColorRamp               = new ComboValue();
            m_ColorRamp.ControlName   = "ColorRamp";
            m_ColorRamp.Caption       = "颜色方案";
            m_ColorRamp.ControlWidth  = 150;
            m_ColorRamp.ControlHeight = 23;
            m_ColorRamp.DropDownWidth = 150;
            m_ColorRamp.Items         = new ClassSymbology().GetColorScheme(150, 23, "").ToArray();

            #endregion

            #region ColorLevel

            m_ColorLevel               = new IntegerInputValue();
            m_ColorLevel.ControlName   = "ColorLevel";
            m_ColorLevel.Caption       = "渐变等级";
            m_ColorLevel.ControlWidth  = 150;
            m_ColorLevel.ControlHeight = 23;
            m_ColorLevel.MinValue      = 1;
            m_ColorLevel.MaxValue      = 2147483647;

            #endregion

            #region Field

            m_Field               = new ComboValue();
            m_Field.ControlName   = "Field";
            m_Field.Caption       = "渐变字段";
            m_Field.ControlWidth  = 150;
            m_Field.ControlHeight = 23;
            m_Field.DropDownWidth = 150;
            FieldInfo[] fields = new FieldInfo[10];
            for (int i = 0; i < 10; i++)
            {
                fields[i]           = new FieldInfo();
                fields[i].FieldName = "Field" + i.ToString();
                fields[i].FieldDesc = "Field" + i.ToString();
                fields[i].FieldType = "Field" + i.ToString();
            }
            m_Field.Items = fields;

            #endregion

            #region ForeSymbol

            m_ForeSymbol               = new SymbolValue();
            m_ForeSymbol.ControlName   = "ForeSymbol";
            m_ForeSymbol.Caption       = "前景符号";
            m_ForeSymbol.ControlWidth  = 100;
            m_ForeSymbol.ControlHeight = 40;

            #endregion
        }