private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "8fdef067-ea19-488d-a46d-af0cc35a1b99");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 17, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(114, bool.Parse("True")), new GridColumnDef(157, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 15, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "921ad206-7b89-4f37-b3be-d9517a2846eb", "", "921ad206-7b89-4f37-b3be-d9517a2846eb");



            UIControlBuilder.BuilderUFControl(this.BtnClose, "0");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #2
0
        /// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this, "LogViewerForm", true, 1000, 528);

            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 2, 2, 0, 10, 0, 0, 0, 5);
            InitViewBindingContainer(this, _panel, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_panel, 10, new GridColumnDef[] { new GridColumnDef(992, bool.Parse("False")), new GridColumnDef(1, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(40, bool.Parse("True")), new GridRowDef(470, bool.Parse("False")), });
            //???还有用么?
            topLevelPanel = _panel;

            UIControlBuilder.BuildCommonControls(this, ref updatePanel, ref wpFindID);



            _BuilderControl_Card3(_panel);


            UIControlBuilder.BuilderUFControl(this.Card3, "2");



            _BuilderControl_Card4(_panel);


            UIControlBuilder.BuilderUFControl(this.Card4, "0");



            EventBind();
            AfterCreateChildControls();
        }
Beispiel #3
0
        private IUFCard _BuilderControl_Card1(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card1", false, "FunctionBar", true, true, "2", "", "925602a0-a0fe-4e90-8628-d8f18877e337");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 610, 25, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 11, 1, 0, 0, 0, 0, 10, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 0, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(60, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(30, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card1 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 10, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "020a5365-8f12-4970-b8df-17ce3ae60a68", "020a5365-8f12-4970-b8df-17ce3ae60a68", "cfd220b2-5b20-409a-abb7-7fa3520a88e5");



            UIControlBuilder.BuilderUFControl(this.BtnClose, "2");


            this.BtnOk = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnOk", true, true, 80, 20, 8, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "82330bf1-36f4-411d-808f-be064fef2b78", "", "82330bf1-36f4-411d-808f-be064fef2b78");



            UIControlBuilder.BuilderUFControl(this.BtnOk, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #4
0
        private IUFCard _BuilderControl_Card3(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card3", false, "none", true, true, "2", "", "bbc2b34c-aa15-4f7c-bf9c-3fdb09e57e54");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 421, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 4, 2, 0, 5, 10, 0, 10, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(170, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(791, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(415, bool.Parse("False")), new GridRowDef(1, bool.Parse("True")), });
            this.Card3 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            _BuilderControl_DataGrid1(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DataGrid1, "2");



            _BuilderControl_TreeControl0(_UFCard);


            UIControlBuilder.BuilderUFControl(this.TreeControl0, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #5
0
        /// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this, "CompleteApplyBarCodeUIForm", true, 630, 375);

            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 2, 0, 10, 10, 10, 10, 10);
            InitViewBindingContainer(this, _panel, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_panel, 10, new GridColumnDef[] { new GridColumnDef(610, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(320, bool.Parse("True")), new GridRowDef(25, bool.Parse("True")), });
            //???还有用么?
            topLevelPanel = _panel;

            UIControlBuilder.BuildCommonControls(this, ref updatePanel, ref wpFindID);



            _BuilderControl_Card0(_panel);


            UIControlBuilder.BuilderUFControl(this.Card0, "1");



            _BuilderControl_Card1(_panel);


            UIControlBuilder.BuilderUFControl(this.Card1, "2");



            EventBind();
            AfterCreateChildControls();
        }
Beispiel #6
0
        private IUFCard _BuilderControl_Card1(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card1", false, "none", true, true, "0", "", "200c23fb-3c3d-4dd2-b66b-1b2211e3e42a");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 170, 20, 2, 0, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 3, 1, 0, 0, 0, 0, 0, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 0, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("False")), });
            this.Card1 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.ConfirmButton = UIControlBuilder.BuilderUFButton(_UFCard, true, "ConfirmButton", true, true, 80, 20, 0, 0, 1, 1, "100", "O", this.Model.ElementID, "", false, "626ebf9b-f65a-4dd5-8f32-96f84919878c", "626ebf9b-f65a-4dd5-8f32-96f84919878c", "7743bf7a-8d05-47a2-bd3a-4d335128915b");



            UIControlBuilder.BuilderUFControl(this.ConfirmButton, "3");


            this.CancelButton = UIControlBuilder.BuilderUFButton(_UFCard, true, "CancelButton", true, true, 80, 20, 2, 0, 1, 1, "100", "C", this.Model.ElementID, "", false, "020a5365-8f12-4970-b8df-17ce3ae60a68", "020a5365-8f12-4970-b8df-17ce3ae60a68", "e7319bda-9d71-4b6e-92dc-547cb0b8513f");



            UIControlBuilder.BuilderUFControl(this.CancelButton, "4");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #7
0
        private IUFCard _BuilderControl_Card6(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card6", false, "FunctionBar", true, true, "0", "", "5c0f90e1-525d-4e16-b587-b531f6b8ecab");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 560, 20, 0, 3, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 3, 1, 0, 0, 0, 0, 0, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 0, new GridColumnDef[] { new GridColumnDef(360, bool.Parse("False")), new GridColumnDef(30, bool.Parse("False")), new GridColumnDef(170, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("False")), });
            this.Card6 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            _BuilderControl_CardForRefQueryCase(_UFCard);


            UIControlBuilder.BuilderUFControl(this.CardForRefQueryCase, "0");



            _BuilderControl_Card1(_UFCard);


            UIControlBuilder.BuilderUFControl(this.Card1, "0");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #8
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "a6c5b384-0a3f-48a7-bc11-7ec4ea2dff1d");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 22, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(71, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.BtnOk = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnOk", true, true, 80, 20, 18, 0, 1, 1, "100", "", this.Model.ElementID, "OnOk", false, "626ebf9b-f65a-4dd5-8f32-96f84919878c", "626ebf9b-f65a-4dd5-8f32-96f84919878c", "613facfa-0aa0-4f8c-9f06-8815d10c8b29");



            UIControlBuilder.BuilderUFControl(this.BtnOk, "9");


            this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 20, 0, 1, 1, "100", "", this.Model.ElementID, "OnClose", false, "020a5365-8f12-4970-b8df-17ce3ae60a68", "020a5365-8f12-4970-b8df-17ce3ae60a68", "f5aa23bb-0309-4ec0-b57f-b89c53509dea");



            UIControlBuilder.BuilderUFControl(this.BtnClose, "10");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #9
0
        private void _BuilderControl_DataGrid1(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid1", UFSoft.UBF.UI.ControlModel.EditStatus.Edit, true, true, true, true, true, true, 20, false, false);

            UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "2");
            CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 792, 421, 2, 0, 2, 2, "100");
            InitViewBindingContainer(this, _UFGrid, null, "", "", null, 20, "");
            ((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy = UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
            _UFGrid.AllowSelectAllPage = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData      = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData = false;
            this.DataGrid1 = _UFGrid;
            container.Controls.Add(_UFGrid);
        }
Beispiel #10
0
        private void _BuilderControl_WizardControl0(IUFContainer container)
        {
            IUFWizardControl _UFWizard = new UFWebWizardControlAdapter();

            _UFWizard.ID = "WizardControl0";
            UIControlBuilder.BuilderUFControl(_UFWizard, "True", "True", "2");
            CommonBuilder.GridLayoutPropBuilder(container, _UFWizard, 180, 20, 4, 0, 1, 1, "100");

            ///foreach _UFWizard下的所有控件,增加到此容器

            this.WizardControl0 = _UFWizard;
            _UFWizard.SetWizardPageVisible(0);
            container.Controls.Add(_UFWizard);
        }
Beispiel #11
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "225fea37-8cd4-42ef-9df6-16b4fdc06b58");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 17, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(74, bool.Parse("True")), new GridColumnDef(117, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.Label0 = UIControlBuilder.BuilderUFLabel(_UFCard, "Label0", "", "True", "True", "Right", 80, 20, 4, 0, 1, 1, "100", "7fb97e0d-d794-43d8-9b10-4ea28a2d6bd3", "61e98302-3cc9-41c7-bed1-41504117637a");



            UIControlBuilder.BuilderUFControl(this.Label0, "2");


            this.DDLCase = UIControlBuilder.BuilderDropDownList(_UFCard, "DDLCase", "", true, true, true, "Left", 0, 60, 0, 120, 20, 6, 0, 1, 1, "100", true, false, "", "", "60c2ef1d-b73a-41ae-9737-0716d98f163e");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.DDLCase, "False", "", null, null, "");
            EnumControlsMap.Add(this.DDLCase, _UFCard);
            this.DDLCase.ContentChanged += new EventHandler(DDLCase_TextChanged);
            this.DDLCase.AutoPostBack    = true;



            UIControlBuilder.BuilderUFControl(this.DDLCase, "3");


            this.OnLookCase = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnLookCase", true, true, 80, 20, 0, 0, 1, 1, "100", "", this.Model.ElementID, "OnLookCase", false, "d865afc4-e738-4328-82a8-c756f9c045b7", "d865afc4-e738-4328-82a8-c756f9c045b7", "1f030d84-c2fd-4bcf-bf98-2016fa0bc860");



            UIControlBuilder.BuilderUFControl(this.OnLookCase, "1");


            this.btnSaveCurrentQueryCase = UIControlBuilder.BuilderUFButton(_UFCard, true, "btnSaveCurrentQueryCase", true, true, 80, 20, 8, 0, 1, 1, "100", "", this.Model.ElementID, "btnSaveCurrentQueryCase", false, "ee3db4ba-0940-4da1-86f9-7473dc2e9526", "ee3db4ba-0940-4da1-86f9-7473dc2e9526", "fd27ce39-cfd2-4866-aaae-d652e3124e77");



            UIControlBuilder.BuilderUFControl(this.btnSaveCurrentQueryCase, "4");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #12
0
        public void BuilderTest()
        {
            {
                var boss     = new Boss();
                var builder1 = new CommonBuilder();
                var builder2 = new SeniorBuilder();
                boss.SetBuilder(builder1);

                var computer = boss.GetComputer();
                boss.Show(boss.GetComputer());
                boss.SetBuilder(builder2);
                boss.Show(boss.GetComputer());
            }
        }
Beispiel #13
0
        private void _BuilderControl_DataGrid(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid", UFSoft.UBF.UI.ControlModel.EditStatus.Browse, true, true, true, true, true, true, 13, false, false);

            UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "2");
            CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 560, 318, 0, 2, 1, 1, "100");
            InitViewBindingContainer(this, _UFGrid, this.Model.cRef, "cRef", "", null, 13, "料品");
            ((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy = UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
            _UFGrid.AllowSelectAllPage = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData      = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData = false;
            this.DataGrid = _UFGrid;
            container.Controls.Add(_UFGrid);



            IUFDataGridColumn column;
            GridColumn        gridColumn;

            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "ID0", "NumberColumnModel", "", 0, this.Model.cRef.Fields["ID"] /*ID*/, "ID", true, false, true, false, false, true, 7, 80, "8", true, false, "", "f9d8c89d-f290-466b-b132-ec0aab3bb6cb", "f9d8c89d-f290-466b-b132-ec0aab3bb6cb", "698e902a-18d8-49b3-9fed-e93e7ef14ec4");
            GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.FixedPoint, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
                                                       , true, "", false, "1", "1");


            if (this.UseQueryCase && UFIDA.UBF.Query.CommonService.RefQueryHelper.QueryCaseExist(this.Action, null))
            {
                return;
            }

            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "Code0", "TextBoxColumnModel", "", 0, this.Model.cRef.Fields["Code"] /*Code*/, "Code", false, true, true, false, false, true, 0, 120, "5", true, false, "", "62ab4f5f-286b-48e9-84d2-0febe8bf5df8", "62ab4f5f-286b-48e9-84d2-0febe8bf5df8", "a209cf31-d45d-492e-bb11-8936dda943cb");

            GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column, "", TextAlign.Left, false, "", false, "1", "1", "5");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "Name0", "TextBoxColumnModel", "", 0, this.Model.cRef.Fields["Name"] /*Name*/, "Name", false, true, true, false, false, true, 0, 180, "5", true, false, "", "5d447b98-8787-42fc-ac0f-c1688bd44e2e", "5d447b98-8787-42fc-ac0f-c1688bd44e2e", "a48690fd-db32-4c0a-aebb-67a749664729");

            GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column, "", TextAlign.Left, false, "", false, "1", "1", "5");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "SPECS0", "TextBoxColumnModel", "", 0, this.Model.cRef.Fields["SPECS"] /*SPECS*/, "SPECS", false, true, true, false, false, true, 0, 120, "5", true, false, "", "559f0f3d-1fa7-4a3f-b4f3-8a39467eda4e", "559f0f3d-1fa7-4a3f-b4f3-8a39467eda4e", "79d6e7ab-5b6c-481c-acee-155928e52479");

            GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column, "", TextAlign.Left, false, "", false, "1", "1", "5");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "DescFlexField_PrivateDescSeg10", "TextBoxColumnModel", "", 0, this.Model.cRef.Fields["DescFlexField_PrivateDescSeg1"] /*DescFlexField_PrivateDescSeg1*/, "DescFlexField_PrivateDescSeg1", false, true, true, false, false, true, 0, 100, "5", true, false, "", "83b01abb-048f-4a49-ba4b-e99d5828d922", "83b01abb-048f-4a49-ba4b-e99d5828d922", "bf881f15-8ee8-49ce-bd0a-4e58ca7f2763");

            GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column, "", TextAlign.Left, false, "", false, "1", "1", "5");
        }
Beispiel #14
0
        private void _BuilderControl_DataGrid3(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid3", UFSoft.UBF.UI.ControlModel.EditStatus.Browse, false, false, false, false, false, false, -1, false, false);

            UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "0");
            CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 600, 416, 0, 0, 1, 1, "100");
            InitViewBindingContainer(this, _UFGrid, this.Model.ViewLogViewer, "ViewLogViewer", "", null, -1, "");
            ((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy = UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
            _UFGrid.AllowSelectAllPage = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData      = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData = false;
            this.DataGrid3 = _UFGrid;
            container.Controls.Add(_UFGrid);



            IUFDataGridColumn column;
            GridColumn        gridColumn;

            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "ID1", "NumberColumnModel", "", 0, this.Model.ViewLogViewer.Fields["ID"] /*ID*/, "ID", true, false, true, false, false, false, 7, 100, "", true, false, "", "bc226b54-44e4-4265-8bd7-21fc88490da1", "bc226b54-44e4-4265-8bd7-21fc88490da1", "686903d0-e928-4929-aa29-5c61200cd0b7");
            GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
                                                       , true, "", false, "1", "1");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "SysVersion1", "NumberColumnModel", "", 0, this.Model.ViewLogViewer.Fields["SysVersion"] /*SysVersion*/, "SysVersion", false, false, true, false, false, false, 7, 100, "", true, false, "", "effe9c94-95d7-483a-be7c-844857178557", "effe9c94-95d7-483a-be7c-844857178557", "558a9e88-2d81-4b3a-b115-d40926650a7d");
            GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
                                                       , true, "", false, "1", "1");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "FileName1", "TextBoxColumnModel", "", 0, this.Model.ViewLogViewer.Fields["FileName"] /*FileName*/, "FileName", false, true, false, false, false, true, 0, 135, "50", true, false, "", "037797a1-e033-4b0d-8c0c-42733ce362da", "037797a1-e033-4b0d-8c0c-42733ce362da", "a907b24d-80e6-4cb6-b5a0-27ce590d0c94");

            GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column, "", TextAlign.Left, false, "", false, "1", "1", "50");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "Modified1", "DatePickerColumnModel", "", 0, this.Model.ViewLogViewer.Fields["Modified"] /*Modified*/, "Modified", false, true, false, false, false, true, 5, 150, "17", true, false, "2005-1-1 00:00:00", "e8fa5a04-0f81-4ec2-a6fa-7a8f09e79347", "e8fa5a04-0f81-4ec2-a6fa-7a8f09e79347", "7d3203b5-91a2-4f53-a7c2-460ba031c6c1");

            ((IUFDatePickerColumn)column).DateTimeType   = DateTimeType.DateTime;
            ((IUFDatePickerColumn)column).DateTimeFormat = CurrentState._I18N._DateTimeFormatInfo;


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "FileSize0", "TextBoxColumnModel", "", 0, this.Model.ViewLogViewer.Fields["FileSize"] /*FileSize*/, "FileSize", false, true, true, false, false, true, 0, 100, "50", true, false, "", "c75b1eb8-f2f0-4bdb-9a80-f986e7a7de4d", "c75b1eb8-f2f0-4bdb-9a80-f986e7a7de4d", "13c3af3d-0c81-4222-91ba-f0783d281a0a");

            GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column, "", TextAlign.Left, false, "", false, "1", "1", "50");


            column = GridControlBuilder.GridColumnBuilder(_UFGrid, "IsHave0", "CheckBoxColumnModel", "", 0, this.Model.ViewLogViewer.Fields["IsHave"] /*IsHave*/, "IsHave", false, true, true, false, false, true, 22, 85, "1", true, false, "", "a19ebb2a-080a-45c0-b8b1-cdc81eec7c34", "a19ebb2a-080a-45c0-b8b1-cdc81eec7c34", "74566742-76fb-41d6-b52c-9f2a77d6d337");
        }
Beispiel #15
0
        /// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this, "ItemRef", true, 580, 408);

            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 4, 0, 5, 10, 5, 10, 5);
            InitViewBindingContainer(this, _panel, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_panel, 5, new GridColumnDef[] { new GridColumnDef(560, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(318, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), });
            //???还有用么?
            topLevelPanel = _panel;

            UIControlBuilder.BuildCommonControls(this, ref updatePanel, ref wpFindID);



            _BuilderControl_Card4(_panel);


            UIControlBuilder.BuilderUFControl(this.Card4, "1");



            _BuilderControl_Card6(_panel);


            UIControlBuilder.BuilderUFControl(this.Card6, "0");



            _BuilderControl_DataGrid(_panel);


            UIControlBuilder.BuilderUFControl(this.DataGrid, "2");



            _BuilderControl_MatchTypeRadioBoxList(_panel);


            UIControlBuilder.BuilderUFControl(this.MatchTypeRadioBoxList, "6");



            EventBind();
            AfterCreateChildControls();

            ((UFWebButtonAdapter)ConfirmButton).IsDefaultButton = true;
        }
Beispiel #16
0
        private void _BuilderControl_TreeControl0(IUFContainer container)
        {
            IUFTreeControl _RadTreeView = new UFWebTreeControlAdapter();

            _RadTreeView.ID = "TreeControl0";
            UIControlBuilder.BuilderUFControl(_RadTreeView, "True", "True", "1");
            _RadTreeView.AutoPostBack   = bool.Parse("True");
            _RadTreeView.LoadOnDemand   = bool.Parse("False");
            _RadTreeView.CheckBoxes     = bool.Parse("False");
            _RadTreeView.MultipleSelect = bool.Parse("False");
            CommonBuilder.GridLayoutPropBuilder(container, _RadTreeView, 170, 421, 0, 0, 1, 2, "100");
            InitViewBindingContainer(this, _RadTreeView, null, "", "", null, -1, "");
            this.TreeControl0 = _RadTreeView;
            container.Controls.Add(_RadTreeView);

            ITreeViewBinding treeViewBinding;
        }
Beispiel #17
0
        private void _BuilderControl_DataGrid1(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid1", UFSoft.UBF.UI.ControlModel.EditStatus.Browse, true, true, true, true, true, true, 18, true, false);

            UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "1");
            CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 972, 421, 0, 0, 2, 2, "100");
            InitViewBindingContainer(this, _UFGrid, null, "", "", null, 18, "");
            ((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy = UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
            _UFGrid.AllowSelectAllPage = true;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData      = false;
            ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData = false;
            this.DataGrid1 = _UFGrid;
            container.Controls.Add(_UFGrid);
            //Grid所有页全选事件
            ((UFWebDataGridAdapter)this.DataGrid1).GridSelectAllPageHandler +=
                new GridSelectAllPageDelegate(UFIDA.U9.UI.PDHelper.PDListHelper.UFGridDataGrid_GridSelectAllPageDelegate);
        }
Beispiel #18
0
        private IUFCard _BuilderControl_Card2(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card2", true, "none", true, true, "2", "", "5b78762d-1c15-4139-b8b3-fdc8c9dcf2c3");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 411, 325, 1, 1, 2, 9, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 3, 9, 0, 7, 10, 10, 10, 10);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 7, new GridColumnDef[] { new GridColumnDef(125, bool.Parse("False")), new GridColumnDef(124, bool.Parse("False")), new GridColumnDef(118, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), });
            this.Card2 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #19
0
        private void _BuilderControl_MatchTypeRadioBoxList(IUFContainer container)
        {
            IUFRadioBoxList _UFListControl = UIControlBuilder.BuildRadioBoxList(container, "MatchTypeRadioBoxList", true, true, "6", 0, 4, UFSoft.UBF.UI.ControlModel.LineOrientation.Horizontal);

            CommonBuilder.GridLayoutPropBuilder(container, _UFListControl, 560, 20, 0, 1, 1, 1, "100");
            this.MatchTypeRadioBoxList = _UFListControl;
            ///foreach CheckBoxList和RadioBoxList下的所有子项
            ListItem listItem = null;

            listItem = UIControlBuilder.BuildListItem(container, "0", true, false, "130bc338-9958-4133-9b7f-9c185bc2455a", "af7cf92c-a78c-4773-a3f1-a3f3b8e6843d");
            _UFListControl.Items.Add(listItem);
            listItem = UIControlBuilder.BuildListItem(container, "1", true, false, "49790074-95af-497d-ae37-16bb697f3ce6", "37fd775c-9f50-444e-a4ce-65f87e6cbf13");
            _UFListControl.Items.Add(listItem);
            listItem = UIControlBuilder.BuildListItem(container, "2", true, true, "517d6f15-ca0d-4e3b-aa58-3c85a5b2ae66", "8e7c4b29-55d6-4106-a572-d178c2cbb582");
            _UFListControl.Items.Add(listItem);
            listItem = UIControlBuilder.BuildListItem(container, "3", true, false, "ea7795fe-8961-4c3f-8ed1-b5128be2cd75", "691f397c-9844-4d66-959d-f5409cf34f6b");
            _UFListControl.Items.Add(listItem);
        }
Beispiel #20
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "09d465be-7210-4271-a298-30dd8252ab81");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 17, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(114, bool.Parse("True")), new GridColumnDef(117, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.Label0 = UIControlBuilder.BuilderUFLabel(_UFCard, "Label0", "", "True", "True", "Right", 80, 20, 13, 0, 1, 1, "100", "7fb97e0d-d794-43d8-9b10-4ea28a2d6bd3", "8c5198cc-5eac-4274-b6e8-ce84f7788e96");



            UIControlBuilder.BuilderUFControl(this.Label0, "2");


            this.DDLCase = UIControlBuilder.BuilderDropDownList(_UFCard, "DDLCase", "", true, true, true, "Left", 0, 60, 0, 120, 20, 15, 0, 1, 1, "100", true, false, "", "", "dfc6492f-3980-431d-8d35-745e0a1852ac");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.DDLCase, "False", "", null, null, "");
            EnumControlsMap.Add(this.DDLCase, _UFCard);
            this.DDLCase.ContentChanged += new EventHandler(DDLCase_TextChanged);
            this.DDLCase.AutoPostBack    = true;



            UIControlBuilder.BuilderUFControl(this.DDLCase, "3");


            this.OnLookCase = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnLookCase", true, true, 80, 20, 0, 0, 1, 1, "100", "", this.Model.ElementID, "OnLookCase", false, "00139537-114d-4f4d-96cf-439440da9da5", "00139537-114d-4f4d-96cf-439440da9da5", "fc9dcf74-89af-498b-889a-08a6e20d3655");



            UIControlBuilder.BuilderUFControl(this.OnLookCase, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #21
0
        private IUFCard _BuilderControl_CardForRefQueryCase(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "CardForRefQueryCase", false, "none", true, true, "0", "", "019d35a9-001f-4b5a-8a25-514ccfbda659");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 360, 20, 0, 0, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 6, 1, 0, 0, 0, 0, 0, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 0, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(150, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("False")), });
            this.CardForRefQueryCase = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.QryButton = UIControlBuilder.BuilderUFButton(_UFCard, true, "QryButton", true, true, 80, 20, 0, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "3664768b-36ca-44ab-9583-8d85fb432e43", "3664768b-36ca-44ab-9583-8d85fb432e43", "043c1981-7284-4454-8ddc-45ce0e4ad280");



            UIControlBuilder.BuilderUFControl(this.QryButton, "1");


            this.lbCase = UIControlBuilder.BuilderUFLabel(_UFCard, "lbCase", "", "True", "True", "Right", 80, 20, 3, 0, 1, 1, "100", "7fb97e0d-d794-43d8-9b10-4ea28a2d6bd3", "6da10b4e-e203-4ba8-9f16-5d21c2e0f86c");



            UIControlBuilder.BuilderUFControl(this.lbCase, "1");


            this.DDLCase = UIControlBuilder.BuilderDropDownList(_UFCard, "DDLCase", "", true, true, true, "Left", 0, 60, 0, 150, 20, 5, 0, 1, 1, "100", true, false, "", "", "19b57966-9a98-4a96-af80-3714b283af1e");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.DDLCase, "False", "", null, null, "");
            EnumControlsMap.Add(this.DDLCase, _UFCard);
            this.DDLCase.ContentChanged += new EventHandler(DDLCase_TextChanged);
            this.DDLCase.AutoPostBack    = true;



            UIControlBuilder.BuilderUFControl(this.DDLCase, "2");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #22
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "9b1135f8-7ee0-4e19-a723-86e7dbfb10c8");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 17, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(114, bool.Parse("True")), new GridColumnDef(117, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.Label0 = UIControlBuilder.BuilderUFLabel(_UFCard, "Label0", "", "True", "True", "Right", 80, 20, 13, 0, 1, 1, "100", "7fb97e0d-d794-43d8-9b10-4ea28a2d6bd3", "422ca402-43e3-4d35-bcf7-72c0c5b6af64");



            UIControlBuilder.BuilderUFControl(this.Label0, "2");


            this.DDLCase = UIControlBuilder.BuilderDropDownList(_UFCard, "DDLCase", "", true, true, true, "Left", 0, 60, 0, 120, 20, 15, 0, 1, 1, "100", true, false, "", "", "c7d03547-4861-43ad-b13e-d0e93b7de842");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.DDLCase, "False", "", null, null, "");
            EnumControlsMap.Add(this.DDLCase, _UFCard);
            this.DDLCase.ContentChanged += new EventHandler(DDLCase_TextChanged);
            this.DDLCase.AutoPostBack    = true;



            UIControlBuilder.BuilderUFControl(this.DDLCase, "3");


            this.OnLookCase = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnLookCase", true, true, 80, 20, 0, 0, 1, 1, "100", "", this.Model.ElementID, "OnLookCase", false, "1a0b73c4-9add-4dfa-9c23-45505075c7a1", "1a0b73c4-9add-4dfa-9c23-45505075c7a1", "7a847b62-5747-42db-abed-e41fb6130a76");



            UIControlBuilder.BuilderUFControl(this.OnLookCase, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "d79838fd-251e-4c64-96c8-6271823f1d85");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 17, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(114, bool.Parse("True")), new GridColumnDef(117, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            this.Label0 = UIControlBuilder.BuilderUFLabel(_UFCard, "Label0", "", "True", "True", "Right", 80, 20, 13, 0, 1, 1, "100", "7fb97e0d-d794-43d8-9b10-4ea28a2d6bd3", "eec8bc9a-9b0b-40be-a6b5-487c6620453a");



            UIControlBuilder.BuilderUFControl(this.Label0, "2");


            this.DDLCase = UIControlBuilder.BuilderDropDownList(_UFCard, "DDLCase", "", true, true, true, "Left", 0, 60, 0, 120, 20, 15, 0, 1, 1, "100", true, false, "", "", "dcbf4056-cfbc-49a3-9811-e59e3c20acd4");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.DDLCase, "False", "", null, null, "");
            EnumControlsMap.Add(this.DDLCase, _UFCard);
            this.DDLCase.ContentChanged += new EventHandler(DDLCase_TextChanged);
            this.DDLCase.AutoPostBack    = true;



            UIControlBuilder.BuilderUFControl(this.DDLCase, "3");


            this.OnLookCase = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnLookCase", true, true, 80, 20, 0, 0, 1, 1, "100", "", this.Model.ElementID, "OnLookCase", false, "ec992ce7-5a2c-4b1e-9a8a-24dd4419374e", "ec992ce7-5a2c-4b1e-9a8a-24dd4419374e", "918cda91-55ae-4646-b515-5c034e60c0be");



            UIControlBuilder.BuilderUFControl(this.OnLookCase, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #24
0
        private IUFTabPage _BuilderControl_TabPage0(IUFTabControl container)
        {
            IUFTabPage _UFTabPage = UIControlBuilder.BuildTabPageControl(container, "TabPage0", true, true, "0", "8d246116-8447-404e-b0ea-771f661eddc7", "8d246116-8447-404e-b0ea-771f661eddc7");

            CommonBuilder.ContainerGridLayoutPropBuilder(_UFTabPage, 2, 1, 0, 5, 10, 10, 10, 10);
            InitViewBindingContainer(this, _UFTabPage, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFTabPage, 5, new GridColumnDef[] { new GridColumnDef(600, bool.Parse("True")), new GridColumnDef(10, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(416, bool.Parse("False")), });
            ///foreach UFTab下的所有控件,增加到此容器



            _BuilderControl_DataGrid3(_UFTabPage);


            UIControlBuilder.BuilderUFControl(this.DataGrid3, "0");



            this.TabPage0 = _UFTabPage;
            return(_UFTabPage);
        }
Beispiel #25
0
        /// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this, "test22222", true, 992, 504);

            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 3, 0, 10, 0, 0, 0, 5);
            InitViewBindingContainer(this, _panel, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_panel, 10, new GridColumnDef[] { new GridColumnDef(992, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(28, bool.Parse("True")), new GridRowDef(421, bool.Parse("False")), new GridRowDef(25, bool.Parse("True")), });
            //???还有用么?
            topLevelPanel = _panel;

            UIControlBuilder.BuildCommonControls(this, ref updatePanel, ref wpFindID);



            _BuilderControl_Toolbar2(_panel);


            UIControlBuilder.BuilderUFControl(this.Toolbar2, "1");



            _BuilderControl_Card0(_panel);


            UIControlBuilder.BuilderUFControl(this.Card0, "3");



            _BuilderControl_Card3(_panel);


            UIControlBuilder.BuilderUFControl(this.Card3, "2");



            EventBind();
            AfterCreateChildControls();
        }
Beispiel #26
0
        /// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this, "test1111111", true, 640, 384);

            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 3, 10, 0, 8, 10, 10, 10, 10);
            InitViewBindingContainer(this, _panel, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_panel, 8, new GridColumnDef[] { new GridColumnDef(204, bool.Parse("False")), new GridColumnDef(203, bool.Parse("False")), new GridColumnDef(201, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(29, bool.Parse("False")), new GridRowDef(28, bool.Parse("False")), });
            //???还有用么?
            topLevelPanel = _panel;

            UIControlBuilder.BuildCommonControls(this, ref updatePanel, ref wpFindID);



            _BuilderControl_Toolbar2(_panel);


            UIControlBuilder.BuilderUFControl(this.Toolbar2, "0");



            _BuilderControl_TreeControl2(_panel);


            UIControlBuilder.BuilderUFControl(this.TreeControl2, "1");



            _BuilderControl_Card2(_panel);


            UIControlBuilder.BuilderUFControl(this.Card2, "2");



            EventBind();
            AfterCreateChildControls();
        }
Beispiel #27
0
        private IUFCard _BuilderControl_Card3(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card3", false, "none", true, true, "2", "", "efa537af-6300-46a9-bd87-536b3c0323a0");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 470, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 2, 2, 0, 5, 10, 0, 10, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(650, bool.Parse("False")), new GridColumnDef(9, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(460, bool.Parse("True")), new GridRowDef(1, bool.Parse("False")), });
            this.Card3 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            _BuilderControl_TabControl0(_UFCard);


            UIControlBuilder.BuilderUFControl(this.TabControl0, "0");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
        private IUFCard _BuilderControl_Card3(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card3", false, "none", true, true, "2", "", "62336e07-4593-41fa-a362-159d64761221");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 448, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 2, 2, 0, 5, 10, 0, 10, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(971, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(442, bool.Parse("True")), new GridRowDef(1, bool.Parse("False")), });
            this.Card3 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            _BuilderControl_DataGrid1(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DataGrid1, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #29
0
        private IUFCard _BuilderControl_Card3(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card3", false, "none", true, true, "2", "", "77e8eab6-3fe5-4566-9b36-8f44986f000c");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 421, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 2, 2, 0, 5, 10, 0, 10, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(971, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(415, bool.Parse("True")), new GridRowDef(1, bool.Parse("False")), });
            this.Card3 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            _BuilderControl_DataGrid1(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DataGrid1, "1");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Beispiel #30
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "4a099cf6-e186-4292-bfc8-62b44d25272a");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 22, 1, 0, 5, 10, 3, 10, 2);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(71, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(80, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件,增加到此容器



            _BuilderControl_DDBtnOperation(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DDBtnOperation, "1");



            _BuilderControl_DDBtnActivity(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DDBtnActivity, "2");



            _BuilderControl_DDBtnQuery(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DDBtnQuery, "3");



            _BuilderControl_DDBtnTaskLink(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DDBtnTaskLink, "8");


            this.BtnOk = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnOk", true, true, 80, 20, 18, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "626ebf9b-f65a-4dd5-8f32-96f84919878c", "626ebf9b-f65a-4dd5-8f32-96f84919878c", "2bc19fe0-21be-47e4-924e-dc78d4520305");



            UIControlBuilder.BuilderUFControl(this.BtnOk, "9");


            this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 20, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "020a5365-8f12-4970-b8df-17ce3ae60a68", "020a5365-8f12-4970-b8df-17ce3ae60a68", "0e385674-9c82-4067-8885-04a2286243de");



            UIControlBuilder.BuilderUFControl(this.BtnClose, "10");



            _BuilderControl_DropDownButton11(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DropDownButton11, "5");



            _BuilderControl_DropDownButton13(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DropDownButton13, "6");



            _BuilderControl_DropDownButton15(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DropDownButton15, "7");



            _BuilderControl_DropDownButton12(_UFCard);


            UIControlBuilder.BuilderUFControl(this.DropDownButton12, "4");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }