コード例 #1
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);
        }
コード例 #2
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);
        }
コード例 #3
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);
        }
コード例 #4
0
        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);
        }
コード例 #5
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);
        }
コード例 #6
0
        private IUFCard _BuilderControl_Card4(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card4", false, "none", true, true, "0", "c4f47877-b18a-4f36-88cc-621b7d3bd6f5", "33aaf56a-705c-4c98-b373-47c86d383002");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 40, 0, 0, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 17, 1, 0, 5, 10, 10, 10, 10);
            InitViewBindingContainer(this, _UFCard, this.Model.ViewSearch, "ViewSearch", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(100, 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(1, bool.Parse("False")), new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(10, bool.Parse("True")), new GridColumnDef(100, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("False")), });
            this.Card4 = _UFCard;

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



            this.Button_serach = UIControlBuilder.BuilderUFButton(_UFCard, true, "Button_serach", true, true, 80, 20, 8, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "b2a157d3-67e6-40f6-bd93-9725d86e07cf", "", "b2a157d3-67e6-40f6-bd93-9725d86e07cf");



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


            this.Button_Down = UIControlBuilder.BuilderUFButton(_UFCard, true, "Button_Down", true, true, 80, 20, 10, 0, 1, 1, "100", "", this.Model.ElementID, "", false, "6890ccab-9cdb-4431-ba10-b89918a325d4", "", "6890ccab-9cdb-4431-ba10-b89918a325d4");



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


            this.lblSearchKey261 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblSearchKey261", "", "True", "True", "Right", 100, 20, 0, 0, 1, 1, "100", "c4f47877-b18a-4f36-88cc-621b7d3bd6f5", "5c9e1332-26e1-483d-860e-c573ef206000");



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


            this.SearchKey261 = UIControlBuilder.BuilderTextBox(_UFCard, "SearchKey261", "True", "True", "True", "False", "Left", 0, 60, 0, 300, 20, 2, 0, 5, 1, "False", "100"
                                                                , "", TextBoxMode.SingleLine, TextAlign.Left, true, false, "lblSearchKey261", "", "50", "c4f47877-b18a-4f36-88cc-621b7d3bd6f5", "77ceafd0-7f06-4f4d-b8dd-e7b0a904ee48");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.SearchKey261, "False", "SearchKey", this.Model.ViewSearch, this.Model.ViewSearch.FieldSearchKey, "ViewSearch");



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


            this.lblID95 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblID95", "", "False", "True", "Right", 100, 20, 0, 0, 1, 1, "100", "e300cb85-b583-42c8-9718-be4d412f7c70", "e74ffb49-e9c4-4a9a-a8a0-9cbe8685b5d0");



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


            this.ID95 = UIControlBuilder.BuilderNumberControl(_UFCard, "ID95", "False", "False", "True", "Left", 7, 60, 0, 100, 20, 0, 0, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                              , TextAlign.Right, 0, true, false, true, "lblID95", "", "e300cb85-b583-42c8-9718-be4d412f7c70", "22c20090-f65f-4ee2-ba3b-1e086a623642", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID95, "False", "ID", this.Model.ViewSearch, this.Model.ViewSearch.FieldID, "ViewSearch");


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


            this.lblSysVersion48 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblSysVersion48", "", "False", "True", "Right", 100, 20, 0, 0, 1, 1, "100", "aec5bd44-5eb0-488a-929b-128a784b84cb", "20c3a108-1725-4ebf-86c9-6249c9b6c840");



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


            this.SysVersion48 = UIControlBuilder.BuilderNumberControl(_UFCard, "SysVersion48", "False", "False", "True", "Left", 7, 60, 0, 100, 20, 0, 0, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                      , TextAlign.Right, 0, true, false, true, "lblSysVersion48", "", "aec5bd44-5eb0-488a-929b-128a784b84cb", "2bb1354b-fcce-4b41-b4a9-02a3f4bc6d5b", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.SysVersion48, "False", "SysVersion", this.Model.ViewSearch, this.Model.ViewSearch.FieldSysVersion, "ViewSearch");


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



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
コード例 #7
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "87042b9d-4b36-4be9-87e3-269a5713baa7");

            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(120, 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, 6, 0, 1, 1, "100", "7fb97e0d-d794-43d8-9b10-4ea28a2d6bd3", "4ae9ddc2-d9ca-437c-a3a0-22ac14378a4f");



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


            this.DDLCase = UIControlBuilder.BuilderDropDownList(_UFCard, "DDLCase", "", true, true, true, "Left", 0, 60, 0, 120, 20, 8, 0, 1, 1, "100", true, false, "", "", "921f1701-aa92-4b1c-bda2-e255d452e9b2");
            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, "7231208d-0bdd-48f6-b762-6e4514e905f6", "7231208d-0bdd-48f6-b762-6e4514e905f6", "006ec48e-b4b0-4e56-b0b8-f6ef513d0980");



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


            this.btnSaveCurrentQueryCase = UIControlBuilder.BuilderUFButton(_UFCard, true, "btnSaveCurrentQueryCase", true, true, 80, 20, 10, 0, 1, 1, "100", "", this.Model.ElementID, "btnSaveCurrentQueryCase", false, "afcbe413-8e22-4a97-880a-820d7dddeecf", "afcbe413-8e22-4a97-880a-820d7dddeecf", "47e09624-0464-4d3f-b2f7-5774353b468c");



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


            this.BtnDoRequest = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnDoRequest", true, true, 80, 20, 2, 0, 1, 1, "100", "", this.Model.ElementID, "BtnDoRequest", false, "469196e1-8713-48a8-8f8f-d63cf1fe933a", "469196e1-8713-48a8-8f8f-d63cf1fe933a", "e3ad6442-14a7-4eb2-aade-b5d03e132d3f");



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


            this.BtnShowContent = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnShowContent", true, true, 80, 20, 4, 0, 1, 1, "100", "", this.Model.ElementID, "BtnShowContent", false, "86c2c59e-a871-41c9-9699-02b02d9ee0bf", "86c2c59e-a871-41c9-9699-02b02d9ee0bf", "0e38e6a4-3637-4280-ac80-e7ccef08a886");



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



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
コード例 #8
0
        private IUFCard _BuilderControl_Card2(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card2", true, "none", true, true, "2", "ce361e30-ea37-4d65-89a7-4cde4454e29d", "84c7f67b-b0d5-4c5a-941c-f43d25fa5810");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 448, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 14, 18, 0, 5, 10, 0, 10, 0);
            InitViewBindingContainer(this, _UFCard, this.Model.WSLog, "WSLog", "", null, 1, "服务日志");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(5, bool.Parse("True")), new GridColumnDef(150, bool.Parse("True")), new GridColumnDef(20, bool.Parse("True")), new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(5, bool.Parse("True")), new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(20, bool.Parse("True")), new GridColumnDef(100, bool.Parse("True")), new GridColumnDef(5, bool.Parse("True")), new GridColumnDef(150, bool.Parse("True")), new GridColumnDef(20, bool.Parse("True")), new GridColumnDef(193, bool.Parse("True")), new GridColumnDef(1, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(19, bool.Parse("False")), new GridRowDef(20, bool.Parse("False")), });
            this.Card2 = _UFCard;

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



            this.lblID5 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblID5", "", "False", "True", "Right", 100, 20, 0, 0, 1, 1, "100", "ce361e30-ea37-4d65-89a7-4cde4454e29d", "104e749d-cd2b-4f26-a002-87a532378f67");



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


            this.ID5 = UIControlBuilder.BuilderNumberControl(_UFCard, "ID5", "False", "False", "True", "Left", 7, 60, 0, 150, 20, 0, 0, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                             , TextAlign.Right, 0, true, false, true, "lblID5", "19.0", "ce361e30-ea37-4d65-89a7-4cde4454e29d", "a1f0e77e-a539-43cd-b29b-fe3c5a93f6ba", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID5, "False", "ID", this.Model.WSLog, this.Model.WSLog.FieldID, "WSLog");


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


            this.lblSysVersion121 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblSysVersion121", "", "False", "True", "Right", 100, 20, 0, 0, 1, 1, "100", "deea45c5-810b-48a7-8dc4-fa130ce73181", "5448a988-4fb8-436c-991c-d1725d929c26");



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


            this.SysVersion121 = UIControlBuilder.BuilderNumberControl(_UFCard, "SysVersion121", "True", "False", "True", "Left", 7, 60, 0, 150, 20, 0, 0, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                       , TextAlign.Right, 0, true, false, true, "lblSysVersion121", "19.0", "deea45c5-810b-48a7-8dc4-fa130ce73181", "be78fd2a-ffc8-47ee-b165-d8541e7a92da", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.SysVersion121, "False", "SysVersion", this.Model.WSLog, this.Model.WSLog.FieldSysVersion, "WSLog");


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


            this.lblRequestUrl145 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblRequestUrl145", "", "True", "True", "Right", 100, 20, 0, 0, 1, 1, "100", "741c99b1-e180-4c83-9ec4-7c74342f3a0b", "71d64da9-a641-4eba-b883-75d23f882227");



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


            this.RequestUrl145 = UIControlBuilder.BuilderTextBox(_UFCard, "RequestUrl145", "True", "True", "True", "False", "Left", 0, 60, 0, 375, 20, 2, 0, 5, 1, "False", "100"
                                                                 , "", TextBoxMode.SingleLine, TextAlign.Left, true, false, "lblRequestUrl145", "", "500", "741c99b1-e180-4c83-9ec4-7c74342f3a0b", "89f1285c-926c-4d78-b4f6-3cc5f0b3f2e9");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.RequestUrl145, "False", "RequestUrl", this.Model.WSLog, this.Model.WSLog.FieldRequestUrl, "WSLog");



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


            this.lblClassName136 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblClassName136", "", "True", "True", "Right", 100, 20, 0, 1, 1, 1, "100", "dccc20ef-b198-4b11-9015-d0e5c06e423a", "e2c2b865-b506-4687-bdc0-da2111f36e7a");



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


            this.ClassName136 = UIControlBuilder.BuilderTextBox(_UFCard, "ClassName136", "True", "True", "True", "False", "Left", 0, 60, 0, 375, 20, 2, 1, 5, 1, "False", "100"
                                                                , "", TextBoxMode.SingleLine, TextAlign.Left, true, false, "lblClassName136", "", "100", "dccc20ef-b198-4b11-9015-d0e5c06e423a", "84f1a768-6040-4bc4-b0a2-0d5e1036e755");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ClassName136, "False", "ClassName", this.Model.WSLog, this.Model.WSLog.FieldClassName, "WSLog");



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


            this.lblMethodName121 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblMethodName121", "", "True", "True", "Right", 100, 20, 0, 2, 1, 1, "100", "3e45084e-3a4c-4856-93d5-53966c9d5077", "31f8e3eb-e089-41d4-8a66-064163ce601d");



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


            this.MethodName121 = UIControlBuilder.BuilderTextBox(_UFCard, "MethodName121", "True", "True", "True", "False", "Left", 0, 60, 0, 375, 20, 2, 2, 5, 1, "False", "100"
                                                                 , "", TextBoxMode.SingleLine, TextAlign.Left, true, false, "lblMethodName121", "", "100", "3e45084e-3a4c-4856-93d5-53966c9d5077", "a2801b19-fa0e-4771-9118-5e0f05c1e6ca");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.MethodName121, "False", "MethodName", this.Model.WSLog, this.Model.WSLog.FieldMethodName, "WSLog");



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


            this.lblStartTime148 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblStartTime148", "", "True", "True", "Right", 100, 20, 0, 4, 1, 1, "100", "8f5db037-3cc2-4077-a3b2-85c148b8ea7a", "9ea47f59-6582-4fd9-b340-87a8d8bcdce2");



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


            this.StartTime148 = UIControlBuilder.BuilderDatePicker(_UFCard, "StartTime148", true, true, true, "DateTime", "Left", 5, 60, 0, 375, 20, 2, 4, 5, 1, "100", true, false, "lblStartTime148", "8f5db037-3cc2-4077-a3b2-85c148b8ea7a", "c1c5722a-25ad-4020-a1fa-acae4a7d4a1d");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.StartTime148, "False", "StartTime", this.Model.WSLog, this.Model.WSLog.FieldStartTime, "WSLog");



            UIControlBuilder.BuilderUFControl(this.StartTime148, "11");


            this.lblEndTime163 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblEndTime163", "", "True", "True", "Right", 100, 20, 0, 5, 1, 1, "100", "7f743bc2-ffe1-456f-af0b-29b5c740a09d", "4d36e4c4-1569-476d-a0cc-9f23147ce296");



            UIControlBuilder.BuilderUFControl(this.lblEndTime163, "12");


            this.EndTime163 = UIControlBuilder.BuilderDatePicker(_UFCard, "EndTime163", true, true, true, "DateTime", "Left", 5, 60, 0, 375, 20, 2, 5, 5, 1, "100", true, false, "lblEndTime163", "7f743bc2-ffe1-456f-af0b-29b5c740a09d", "15a0fda5-f7b2-4f23-8793-8c3e30f06fed");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.EndTime163, "False", "EndTime", this.Model.WSLog, this.Model.WSLog.FieldEndTime, "WSLog");



            UIControlBuilder.BuilderUFControl(this.EndTime163, "13");


            this.lblElapsedSecond148 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblElapsedSecond148", "", "True", "True", "Right", 100, 20, 0, 6, 1, 1, "100", "02b4e5a8-81bc-4b21-ae82-dbdc93c87522", "933fc1ab-b12d-4dba-9770-27e617f90340");



            UIControlBuilder.BuilderUFControl(this.lblElapsedSecond148, "14");


            this.ElapsedSecond148 = UIControlBuilder.BuilderNumberControl(_UFCard, "ElapsedSecond148", "True", "True", "True", "Left", 8, 60, 0, 375, 20, 2, 6, 5, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                          , TextAlign.Right, 3, true, false, true, "lblElapsedSecond148", "24.9", "02b4e5a8-81bc-4b21-ae82-dbdc93c87522", "2c883b1e-b63b-4d0d-beb9-ddf2f9803882", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ElapsedSecond148, "False", "ElapsedSecond", this.Model.WSLog, this.Model.WSLog.FieldElapsedSecond, "WSLog");


            UIControlBuilder.BuilderUFControl(this.ElapsedSecond148, "15");


            this.lblCallResult259 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblCallResult259", "", "True", "True", "Right", 100, 20, 8, 1, 1, 1, "100", "12787766-dae4-4889-b322-897aa034a937", "1e86e85d-5da1-4878-b983-887deca30366");



            UIControlBuilder.BuilderUFControl(this.lblCallResult259, "16");


            this.CallResult259 = UIControlBuilder.BuilderDropDownList(_UFCard, "CallResult259", "UFIDA.U9.Cust.Pub.WSLogBE.CallResultEnum", true, true, true, "Left", 2, 60, 0, 363, 20, 10, 1, 3, 1, "100", true, false, "lblCallResult259", "12787766-dae4-4889-b322-897aa034a937", "cb73e2ca-b71a-4c9f-a36b-a4460943bdeb");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.CallResult259, "False", "CallResult", this.Model.WSLog, this.Model.WSLog.FieldCallResult, "WSLog");
            EnumTypeList.Add("UFIDA.U9.Cust.Pub.WSLogBE.CallResultEnum");
            EnumControlsMap.Add(this.CallResult259, _UFCard);



            UIControlBuilder.BuilderUFControl(this.CallResult259, "17");


            this.lblCallCount292 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblCallCount292", "", "True", "True", "Right", 100, 20, 8, 0, 1, 1, "100", "c1f059d4-17e6-481a-bb41-b2aaed45a759", "77e8dc11-94d2-40b1-92d0-26d8a3788f97");



            UIControlBuilder.BuilderUFControl(this.lblCallCount292, "18");


            this.CallCount292 = UIControlBuilder.BuilderNumberControl(_UFCard, "CallCount292", "True", "True", "True", "Left", 2, 60, 0, 363, 20, 10, 0, 3, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                      , TextAlign.Right, 0, true, false, true, "lblCallCount292", "10.0", "c1f059d4-17e6-481a-bb41-b2aaed45a759", "5ecb462d-2e4a-44db-b852-44b3a28a4118", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.CallCount292, "False", "CallCount", this.Model.WSLog, this.Model.WSLog.FieldCallCount, "WSLog");


            UIControlBuilder.BuilderUFControl(this.CallCount292, "19");


            this.lblMethodDescription175 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblMethodDescription175", "", "True", "True", "Right", 100, 20, 0, 3, 1, 1, "100", "79ba63c9-5a55-41f6-8086-44807bb3825e", "37c8834d-7cc7-49bc-8841-af2935bfb800");



            UIControlBuilder.BuilderUFControl(this.lblMethodDescription175, "20");


            this.MethodDescription175 = UIControlBuilder.BuilderTextBox(_UFCard, "MethodDescription175", "True", "True", "True", "False", "Left", 0, 60, 0, 375, 20, 2, 3, 5, 1, "False", "100"
                                                                        , "", TextBoxMode.SingleLine, TextAlign.Left, true, false, "lblMethodDescription175", "", "100", "79ba63c9-5a55-41f6-8086-44807bb3825e", "712736b3-3bce-44ca-b39a-b2fdba163133");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.MethodDescription175, "False", "MethodDescription", this.Model.WSLog, this.Model.WSLog.FieldMethodDescription, "WSLog");



            UIControlBuilder.BuilderUFControl(this.MethodDescription175, "21");


            this.lblErrorMessage172 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblErrorMessage172", "", "True", "True", "Right", 100, 20, 8, 2, 1, 1, "100", "6b95fd3e-78ad-4bd3-80c3-7133cc179349", "9464a4f1-2cb2-4b04-9b07-03e5e51a8b3c");



            UIControlBuilder.BuilderUFControl(this.lblErrorMessage172, "22");


            this.ErrorMessage172 = UIControlBuilder.BuilderTextBox(_UFCard, "ErrorMessage172", "True", "True", "True", "True", "Left", 0, 60, 0, 363, 120, 10, 2, 3, 5, "False", "100"
                                                                   , "", TextBoxMode.MultiLine, TextAlign.Left, true, false, "lblErrorMessage172", "", "2000", "6b95fd3e-78ad-4bd3-80c3-7133cc179349", "a3acf944-949f-40ab-b142-ffdac295bc9d");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ErrorMessage172, "False", "ErrorMessage", this.Model.WSLog, this.Model.WSLog.FieldErrorMessage, "WSLog");



            UIControlBuilder.BuilderUFControl(this.ErrorMessage172, "23");


            this.lblRequestContentView196 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblRequestContentView196", "", "True", "True", "Right", 100, 20, 0, 7, 1, 1, "100", "aefa9c08-db62-49b6-af0f-ded717af25cd", "d60f40c9-7db5-4ce9-a42d-a22cece3792e");



            UIControlBuilder.BuilderUFControl(this.lblRequestContentView196, "28");


            this.RequestContentView196 = UIControlBuilder.BuilderTextBox(_UFCard, "RequestContentView196", "True", "True", "True", "True", "Left", 0, 60, 0, 375, 269, 2, 7, 5, 11, "False", "100"
                                                                         , "", TextBoxMode.MultiLine, TextAlign.Left, true, false, "lblRequestContentView196", "", "5000", "aefa9c08-db62-49b6-af0f-ded717af25cd", "f78e0284-1cca-4dcd-b34f-b5569ba37f21");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.RequestContentView196, "False", "RequestContentView", this.Model.WSLog, this.Model.WSLog.FieldRequestContentView, "WSLog");



            UIControlBuilder.BuilderUFControl(this.RequestContentView196, "29");


            this.lblResponseContentView235 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblResponseContentView235", "", "True", "True", "Right", 100, 20, 8, 7, 1, 1, "100", "d64ca7ce-1baf-4b1c-892b-16d1232b7f66", "b0ef4ba8-2167-4ce3-a719-b751c64a5fe1");



            UIControlBuilder.BuilderUFControl(this.lblResponseContentView235, "30");


            this.ResponseContentView235 = UIControlBuilder.BuilderTextBox(_UFCard, "ResponseContentView235", "True", "True", "True", "True", "Left", 0, 60, 0, 363, 269, 10, 7, 3, 11, "False", "100"
                                                                          , "", TextBoxMode.MultiLine, TextAlign.Left, true, false, "lblResponseContentView235", "", "5000", "d64ca7ce-1baf-4b1c-892b-16d1232b7f66", "94e331ea-0b59-4e8b-a9cb-af72d4c48817");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ResponseContentView235, "False", "ResponseContentView", this.Model.WSLog, this.Model.WSLog.FieldResponseContentView, "WSLog");



            UIControlBuilder.BuilderUFControl(this.ResponseContentView235, "31");



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
コード例 #9
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "none", true, true, "1", "a40e4527-5e00-41fd-abf6-53b57a5d5a2e", "f82a324a-3b73-423d-b19b-f1206fa61340");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 610, 320, 0, 0, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 7, 13, 0, 5, 0, 0, 0, 0);
            InitViewBindingContainer(this, _UFCard, this.Model.CompleteApplyBarCode, "CompleteApplyBarCode", "", null, 1, "完工申报条码档案");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 5, new GridColumnDef[] { new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(5, bool.Parse("True")), new GridColumnDef(170, bool.Parse("True")), new GridColumnDef(20, bool.Parse("True")), new GridColumnDef(120, bool.Parse("True")), new GridColumnDef(5, bool.Parse("True")), new GridColumnDef(170, bool.Parse("True")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), new GridRowDef(20, bool.Parse("True")), });
            this.Card0 = _UFCard;

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



            this.lblID113 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblID113", "", "False", "True", "Right", 90, 20, 0, 0, 1, 1, "100", "a40e4527-5e00-41fd-abf6-53b57a5d5a2e", "49d1d1bf-cdee-4491-a62a-032e1bbc0a66");



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


            this.ID113 = UIControlBuilder.BuilderNumberControl(_UFCard, "ID113", "False", "False", "True", "Left", 7, 60, 0, 90, 20, 0, 0, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                               , TextAlign.Right, 0, true, false, true, "lblID113", "19.0", "a40e4527-5e00-41fd-abf6-53b57a5d5a2e", "60403483-1984-4b1d-9a5b-846d2b571241", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID113, "False", "ID", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldID, "CompleteApplyBarCode");


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


            this.lblSysVersion101 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblSysVersion101", "", "False", "True", "Right", 90, 20, 0, 0, 1, 1, "100", "a010b438-e547-420a-be2c-14aa47f6d971", "7cc1b455-0384-444d-908a-aa92cf644d0c");



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


            this.SysVersion101 = UIControlBuilder.BuilderNumberControl(_UFCard, "SysVersion101", "True", "False", "True", "Left", 7, 60, 0, 90, 20, 0, 0, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                       , TextAlign.Right, 0, true, false, true, "lblSysVersion101", "19.0", "a010b438-e547-420a-be2c-14aa47f6d971", "155186a0-6d52-46ca-a1cd-b4f629a1d59d", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.SysVersion101, "False", "SysVersion", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldSysVersion, "CompleteApplyBarCode");


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


            this.lblItem578 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblItem578", "", "True", "True", "Right", 120, 20, 0, 0, 1, 1, "100", "efc89e4f-e2de-4319-a1cd-cdef95f3bbd9", "85f92e21-c486-4e11-ab91-2147e795ed67");



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


            this.Item578 = UIControlBuilder.BuilderRefrenceControl(_UFCard, "Item578", false, true, true, 170, 20, 2, 0, 1, 1, "100", "13", false, false, true, "lblItem578", "efc89e4f-e2de-4319-a1cd-cdef95f3bbd9", "f21bde16-8b0a-433c-959e-55e4a681d418");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Item578, "False", "Item", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldItem, "CompleteApplyBarCode");
            UIControlBuilder.SetReferenceControlRefInfo(this.Item578, "b2ccf05d-c424-4574-af1c-469aa085f418", 580, 408, "Code", "Code", "ID", this.Model.CompleteApplyBarCode.FieldItem_Code, this.Model.CompleteApplyBarCode.FieldItem_Code);
            //foreach Reference's input filter parameter
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
            ScriptBuilder.BuildReferenceControlOuputScript(this.Item578, "Item578", new ReferenceOutputParam[] { new ReferenceOutputParam("", "ID", ""), new ReferenceOutputParam("", "Code", ""), new ReferenceOutputParam("Item_Name94", "Name", "Value"), new ReferenceOutputParam("Item_SPECS155", "SPECS", "Value"), new ReferenceOutputParam("Item_DescFlexField_PrivateDescSeg1124", "DescFlexField_PrivateDescSeg1", "Value"), });



            UIControlBuilder.BuilderUFControl(this.Item578, "13");


            this.lblItem_Name94 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblItem_Name94", "", "True", "True", "Right", 120, 20, 0, 1, 1, 1, "100", "6aa2daba-3c6d-4767-b633-99fa1e5b99a2", "edaef245-3b0d-46f3-a758-3beac5e6557b");



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


            this.Item_Name94 = UIControlBuilder.BuilderTextBox(_UFCard, "Item_Name94", "False", "True", "True", "False", "Left", 0, 60, 0, 170, 20, 2, 1, 1, 1, "False", "100"
                                                               , "", TextBoxMode.SingleLine, TextAlign.Left, true, true, "lblItem_Name94", "", "255", "6aa2daba-3c6d-4767-b633-99fa1e5b99a2", "b22874e4-e48e-42fa-a7f3-11bafa9e0e6f");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Item_Name94, "False", "Item_Name", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldItem_Name, "CompleteApplyBarCode");



            UIControlBuilder.BuilderUFControl(this.Item_Name94, "14");


            this.lblItem_SPECS155 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblItem_SPECS155", "", "True", "True", "Right", 120, 20, 0, 2, 1, 1, "100", "6fcbb7a9-0fa2-4f81-9f66-746feeb00979", "81ff97b5-ff58-4095-aca4-556ff9d661da");



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


            this.Item_SPECS155 = UIControlBuilder.BuilderTextBox(_UFCard, "Item_SPECS155", "True", "True", "True", "False", "Left", 0, 60, 0, 170, 20, 2, 2, 1, 1, "False", "100"
                                                                 , "", TextBoxMode.SingleLine, TextAlign.Left, true, true, "lblItem_SPECS155", "", "300", "6fcbb7a9-0fa2-4f81-9f66-746feeb00979", "7ab1f2d3-38da-4bd5-aa7b-7738ec2f90fe");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Item_SPECS155, "False", "Item_SPECS", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldItem_SPECS, "CompleteApplyBarCode");



            UIControlBuilder.BuilderUFControl(this.Item_SPECS155, "15");


            this.lblItem_DescFlexField_PrivateDescSeg1124 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblItem_DescFlexField_PrivateDescSeg1124", "", "True", "True", "Right", 120, 20, 0, 3, 1, 1, "100", "e6f05870-463e-45a6-b544-e88e4c64ebfb", "3a1dd517-ad64-4d07-8063-11e575f6bd0a");



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


            this.Item_DescFlexField_PrivateDescSeg1124 = UIControlBuilder.BuilderTextBox(_UFCard, "Item_DescFlexField_PrivateDescSeg1124", "True", "True", "True", "False", "Left", 0, 60, 0, 170, 20, 2, 3, 1, 1, "False", "100"
                                                                                         , "", TextBoxMode.SingleLine, TextAlign.Left, true, true, "lblItem_DescFlexField_PrivateDescSeg1124", "", "1000", "e6f05870-463e-45a6-b544-e88e4c64ebfb", "1f23231b-4192-49eb-829b-2169e5f9375d");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Item_DescFlexField_PrivateDescSeg1124, "False", "Item_DescFlexField_PrivateDescSeg1", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldItem_DescFlexField_PrivateDescSeg1, "CompleteApplyBarCode");



            UIControlBuilder.BuilderUFControl(this.Item_DescFlexField_PrivateDescSeg1124, "16");


            this.lblActualLength118 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblActualLength118", "", "True", "True", "Right", 120, 20, 0, 4, 1, 1, "100", "f13ef3bc-cfe1-4449-ab5a-44e451cbc921", "0c5abdde-f770-4803-a170-bacd2ca6acad");



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


            this.ActualLength118 = UIControlBuilder.BuilderNumberControl(_UFCard, "ActualLength118", "False", "True", "True", "Left", 2, 60, 0, 170, 20, 2, 4, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                         , TextAlign.Right, 0, true, false, true, "lblActualLength118", "10.0", "f13ef3bc-cfe1-4449-ab5a-44e451cbc921", "81126926-b5c8-47c9-949c-3f049a6f9838", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ActualLength118, "False", "ActualLength", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldActualLength, "CompleteApplyBarCode");


            UIControlBuilder.BuilderUFControl(this.ActualLength118, "17");


            this.lblBusinessDate110 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblBusinessDate110", "", "True", "True", "Right", 120, 20, 0, 5, 1, 1, "100", "8c27c721-3992-4766-b325-82cd965083cc", "f32bd1be-e86f-4bdf-a079-afb8bd192e4b");



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


            this.BusinessDate110 = UIControlBuilder.BuilderDatePicker(_UFCard, "BusinessDate110", false, true, true, "Date", "Left", 3, 60, 0, 170, 20, 2, 5, 1, 1, "100", true, false, "lblBusinessDate110", "8c27c721-3992-4766-b325-82cd965083cc", "68c975ff-fb64-434a-ac0b-cbb20427f2af");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.BusinessDate110, "False", "BusinessDate", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldBusinessDate, "CompleteApplyBarCode");



            UIControlBuilder.BuilderUFControl(this.BusinessDate110, "18");


            this.lblQty116 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblQty116", "", "True", "True", "Right", 120, 20, 0, 7, 1, 1, "100", "c7fa73e0-c717-4b0c-8286-cecaa8f87b20", "2012b706-7851-4826-aef4-b098cca94d7f");



            UIControlBuilder.BuilderUFControl(this.lblQty116, "12");


            this.Qty116 = UIControlBuilder.BuilderNumberControl(_UFCard, "Qty116", "True", "True", "True", "Left", 2, 60, 0, 170, 20, 2, 7, 1, 1, NumbericType.Numberic, "100", 79228162514264337593543950335m, -79228162514264337593543950335m
                                                                , TextAlign.Right, 0, true, false, true, "lblQty116", "10.0", "c7fa73e0-c717-4b0c-8286-cecaa8f87b20", "d3eaf2d5-4c95-4588-8749-68118fe73a45", null, null, null, null);
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Qty116, "False", "Qty", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldQty, "CompleteApplyBarCode");


            UIControlBuilder.BuilderUFControl(this.Qty116, "20");


            this.lblOperators118 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblOperators118", "", "True", "True", "Right", 120, 20, 4, 0, 1, 1, "100", "98072be1-8c91-470a-919d-6884d6384f38", "c264c1b4-eed2-49d0-9674-7989772aba01");



            UIControlBuilder.BuilderUFControl(this.lblOperators118, "21");


            this.Operators118 = UIControlBuilder.BuilderRefrenceControl(_UFCard, "Operators118", false, true, true, 170, 20, 6, 0, 1, 1, "100", "23", false, false, true, "lblOperators118", "98072be1-8c91-470a-919d-6884d6384f38", "2a5b2d94-50fa-413a-a8e1-0694f4bb77b6");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Operators118, "False", "Operators", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldOperators, "CompleteApplyBarCode");
            UIControlBuilder.SetReferenceControlRefInfo(this.Operators118, "e295a02e-32f3-44c1-9648-b2c189a2f18c", 580, 408, "Name", "Code", "ID", this.Model.CompleteApplyBarCode.FieldOperators_Code, this.Model.CompleteApplyBarCode.FieldOperators_Name);
            //foreach Reference's input filter parameter
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
            ScriptBuilder.BuildReferenceControlOuputScript(this.Operators118, "Operators118", new ReferenceOutputParam[] { new ReferenceOutputParam("", "ID", ""), new ReferenceOutputParam("", "Code", ""), new ReferenceOutputParam("", "Name", ""), new ReferenceOutputParam("", "Dept_Code", ""), new ReferenceOutputParam("", "Dept_Name", ""), });



            UIControlBuilder.BuilderUFControl(this.Operators118, "23");


            this.lblMemo164 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblMemo164", "", "True", "True", "Right", 120, 20, 4, 1, 1, 1, "100", "456accbe-5afe-42fb-9e71-51b0f5db4a02", "4a70e2b6-5034-4632-9b6d-545f463f2f1a");



            UIControlBuilder.BuilderUFControl(this.lblMemo164, "22");


            this.Memo164 = UIControlBuilder.BuilderTextBox(_UFCard, "Memo164", "True", "True", "True", "True", "Left", 0, 60, 0, 170, 70, 6, 1, 1, 3, "False", "100"
                                                           , "", TextBoxMode.MultiLine, TextAlign.Left, true, false, "lblMemo164", "", "1000", "456accbe-5afe-42fb-9e71-51b0f5db4a02", "6e13d719-f535-4e29-8022-ee3605fbb226");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.Memo164, "False", "Memo", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldMemo, "CompleteApplyBarCode");



            UIControlBuilder.BuilderUFControl(this.Memo164, "24");


            this.FlexFieldPicker0 = UIControlBuilder.BuilderFlexFieldPicker(_UFCard, "FlexFieldPicker0", "True", "True", "True", "Left", 0, "", '.', 60, 0, 170, 20, 6, 4, 1, 1, "100"
                                                                            , FlexFieldType.Description, false, false, "", "", "", "c369a74d-e20e-4c52-ac65-3aee8544352f");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.FlexFieldPicker0, "False", "", null, null, "");
            if (this.FlexFieldPicker0.FlexFieldType == FlexFieldType.Key)
            {
            }
            else
            {
            }



            UIControlBuilder.BuilderUFControl(this.FlexFieldPicker0, "25");


            this.lblIsPrintWrapper238 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblIsPrintWrapper238", "", "True", "True", "Right", 120, 20, 0, 6, 1, 1, "100", "96142854-33ed-4a9b-95df-3f54181f180d", "0146faeb-02c2-4895-8229-a522011104a9");



            UIControlBuilder.BuilderUFControl(this.lblIsPrintWrapper238, "25");


            this.IsPrintWrapper238 = UIControlBuilder.BuilderUFCheckbox(_UFCard, "IsPrintWrapper238", true, true, "Left", 60, 0, 170, 20, 2, 6, 1, 1, "100", false, "lblIsPrintWrapper238", "96142854-33ed-4a9b-95df-3f54181f180d", "ed6ea009-7f28-4128-a3af-e08283918055");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.IsPrintWrapper238, "False", "IsPrintWrapper", this.Model.CompleteApplyBarCode, this.Model.CompleteApplyBarCode.FieldIsPrintWrapper, "CompleteApplyBarCode");



            UIControlBuilder.BuilderUFControl(this.IsPrintWrapper238, "26");



            this.Item578.IsMultiOrg = false;
            this.lblItem578.SetMultiOrgInfo(this.Item578, false);


            this.Operators118.IsMultiOrg = false;
            this.lblOperators118.SetMultiOrgInfo(this.Operators118, false);



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
コード例 #10
0
        private IUFCard _BuilderControl_Card4(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card4", false, "none", true, true, "1", "", "25268dd1-d13d-4227-93fd-5cd0a6953be6");

            CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 560, 20, 0, 0, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 11, 1, 0, 0, 0, 0, 0, 0);
            InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
            UIControlBuilder.BuildContainerGridLayout(_UFCard, 0, new GridColumnDef[] { new GridColumnDef(45, bool.Parse("False")), new GridColumnDef(5, bool.Parse("False")), new GridColumnDef(120, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(180, bool.Parse("False")), new GridColumnDef(15, bool.Parse("False")), new GridColumnDef(80, bool.Parse("False")), new GridColumnDef(5, bool.Parse("False")), new GridColumnDef(30, bool.Parse("False")), new GridColumnDef(10, bool.Parse("False")), new GridColumnDef(60, bool.Parse("False")), }, new GridRowDef[] { new GridRowDef(20, bool.Parse("False")), });
            this.Card4 = _UFCard;

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



            this.Label0 = UIControlBuilder.BuilderUFLabel(_UFCard, "Label0", "", "True", "True", "Right", 45, 20, 0, 0, 1, 1, "100", "9bf97f14-74b9-4a4f-b2fc-d5bfb9c95e3a", "424295a2-7cc3-4691-95a9-f33fb4cbcf30");



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


            this.SelectList = UIControlBuilder.BuilderDropDownList(_UFCard, "SelectList", "", true, true, true, "Left", 0, 60, 0, 120, 20, 2, 0, 1, 1, "100", true, false, "", "", "da883f32-7d81-4169-b246-392c8b5fa44f");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.SelectList, "False", "", null, null, "");
            EnumControlsMap.Add(this.SelectList, _UFCard);



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



            _BuilderControl_WizardControl0(_UFCard);


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


            this.lblContinueCheckBox = UIControlBuilder.BuilderUFLabel(_UFCard, "lblContinueCheckBox", "", "False", "True", "Right", 80, 20, 6, 0, 1, 1, "100", "0aead14b-b05a-4582-9aca-34da4f4bf7a0", "f0a733f4-d4a4-4384-b523-1961ea043541");



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


            this.ContinueCheckBox = UIControlBuilder.BuilderUFCheckbox(_UFCard, "ContinueCheckBox", false, true, "Left", 60, 0, 30, 20, 8, 0, 1, 1, "100", true, "lblContinueCheckBox", "", "132a70d5-7e8a-494b-9e59-2fef489dbd70");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.ContinueCheckBox, "False", "", null, null, "");



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


            this.FindButton = UIControlBuilder.BuilderUFButton(_UFCard, true, "FindButton", true, true, 60, 20, 10, 0, 1, 1, "100", "R", this.Model.ElementID, "", false, "27621430-7bc7-4c0e-979e-f0108439d13e", "27621430-7bc7-4c0e-979e-f0108439d13e", "ef4250e0-b0e9-43d5-ade9-c79a48419d65");



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


            this.CheckBox = UIControlBuilder.BuilderUFCheckbox(_UFCard, "CheckBox", false, true, "Left", 60, 0, 30, 20, 0, 0, 1, 1, "100", false, "", "", "4850b4e3-a5fc-425a-bec6-0934721bf5be");
            UIControlBuilder.BuilderUIFieldBindingControl(this, this.CheckBox, "False", "", null, null, "");



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



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