コード例 #1
0
        public DF_HorizontalGridControl()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            this.Load += new EventHandler(DF_HorizontalGridControl_Load);

            this.Closed += new EventHandler(DF_HorizontalGridControl_Closed);

            this.C_GridControlSetting = new ConfigGridInfo();

            this.C_GridColumnsSetting = new ConfighorizontalGridColumn();

            this.C_FieldAjustSize = new ConfigGroupingLayout();

            //this.C_GroupInfoSetting = new ConfigGridGroupInfo();

            //2008-8-28 9:56:11@simon
            this._ConfigHeadersControl = new ConfigHeaderConstructor();
        }
コード例 #2
0
        private ConfigHeaderConstructor _ConfigHeadersControl;         //2008-8-28 9:56:19@simon
        public DF_GroupingControl()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // TODO: Add any initialization after the InitializeComponent call
            this._ConfigGroupControl  = new ConfigGroupingInfo();
            this._ConfigLayoutControl = new ConfigGroupingLayout();


            //2008-8-28 9:56:11@simon
            this._ConfigHeadersControl = new ConfigHeaderConstructor();
        }
コード例 #3
0
        public DF_HorizontalGridControl(Views.HorizontalGridView horizontalGridView)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this._ExControlView = horizontalGridView;

            //
            // TODO: Add any constructor code after InitializeComponent call
            //

            this.Closed += new EventHandler(DF_HorizontalGridControl_Closed);

            this._ConfigHeadersControl = new ConfigHeaderConstructor();

            //this.C_GroupInfoSetting = new ConfigGridGroupInfo();


            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "Style", false);             //06-03-2008@Scott

            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "SectionSummeries", false);  //06-03-2008@Scott

            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "ColorNeedChange", false);   //06-03-2008@Scott

            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "AddTotal", false);          //06-03-2008@Scott

            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "TotalTitle", false);        //06-03-2008@Scott

            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "UseLineBreak", false);      //06-03-2008@Scott

            this.C_LinkGridSetting.Visible = false;

            this.C_LinkGridColumns.Visible = false;

            this.C_LinkAjustSize.Visible = false;

            this.C_AutoStyle.Visible = false;

            this.C_HeadersConstruct.Visible = false;

            //this.C_GroupInfoSetting.SetView(horizontalGridView);

            this._ConfigHeadersControl.SetView(horizontalGridView); //2008-8-28 9:59:30@simon

            this.LoadConfigControl(this.C_GridControlSetting);
        }
コード例 #4
0
        private PropertyManager propManager = new PropertyManager(); //06-03-2008@Scott



        public DF_MatrixControl()
        {
            propManager.SetPropertyVisibility(typeof(Data.FieldGroupInfo), "SectionSummeries", false);                  //06-03-2008@Scott



            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // TODO: Add any initialization after the InitializeComponent call
            this._ConfigGroupControl  = new ConfigCompactGroupingInfo();
            this._ConfigLayoutControl = new ConfigGroupingLayout();

            //2008-8-28 9:56:11@simon
            this._ConfigHeadersControl = new ConfigHeaderConstructor();
            this._ConfigMatrixInfo     = new ConfigMatrixInfo();
            _ConfigGridInfo            = new ConfigGridInfo();
        }
コード例 #5
0
        private ConfigHeaderConstructor _ConfigHeadersControl; //2008-8-28 9:56:19@simon

        public DF_GradingControl()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // TODO: Add any initialization after the InitializeComponent call
            _ConfigGradingSection        = new ConfigGradingSection();
            this._ConfigGradingGroupInfo = new ConfigGradingGroupInfo();
            this._ConfigLayoutControl    = new ConfigGroupingLayout();


            //2008-8-28 9:56:11@simon
            this._ConfigHeadersControl = new ConfigHeaderConstructor();

            string[] strGradingTableFields = Data.GradingSectionCollection.GradingTableFields;

            Webb.Reports.Editors.SortingEditorControl.StandardList = new ArrayList(strGradingTableFields);

            Webb.Reports.Editors.PlayerGradingFilterEditForm.PlayGradingFields = new ArrayList(strGradingTableFields);
        }