Ejemplo n.º 1
0
        public DF_GridControl(Views.GridView gridView)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this._ExControlView = gridView;

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

            this.Closed += new EventHandler(DF_GridControl_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_LinkGroupSetting.Visible = true;

            this.C_LinkAjustSize.Visible = false;

            this.C_AutoStyle.Visible = false;

            this.C_HeadersConstruct.Visible = false;

            this.C_GroupInfoSetting.SetView(gridView);

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

            this.LoadConfigControl(this.C_GroupInfoSetting);
        }
Ejemplo n.º 2
0
        private ConfigHeaderConstructor _ConfigHeadersControl; //2008-8-28 9:56:19@simon

        public DF_GridControl()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

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

            this.Closed += new EventHandler(DF_GridControl_Closed);

            this.C_GridControlSetting = new ConfigGridInfo();

            this.C_FieldAjustSize = new ConfigGroupingLayout();

            this.C_GroupInfoSetting = new ConfigGridGroupInfo();

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