コード例 #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
        public static void SetWaterMark(UFSoft.UBF.UI.MD.Runtime.IUIView ModelView, string StatusName, IUFFldDropDownList IUIDocStatus)
        {
            UFWaterMark waterMark = new UFWaterMark();

            waterMark.TargetControl = IUIDocStatus;
            if (ModelView.FocusedRecord != null)
            {
                if ((int)ModelView.FocusedRecord[StatusName] == DocumnetSate.ApprovedSate.Value)
                {
                    waterMark.WaterMarkType = enuMarkType.Approved;
                }
                else if ((int)ModelView.FocusedRecord[StatusName] == DocumnetSate.ApprovingState.Value)
                {
                    waterMark.WaterMarkType = enuMarkType.Approving;
                }
                else if ((int)ModelView.FocusedRecord[StatusName] == DocumnetSate.OpenState.Value)
                {
                    waterMark.WaterMarkType = enuMarkType.Open;
                }
                else
                {
                    waterMark.Visible = false;
                }
            }
        }
コード例 #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_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);
        }