Exemple #1
0
        public override void AfterInit(UFSoft.UBF.UI.IView.IPart part, EventArgs args)
        {
            #region 获取相关强类型数据

            _strongPart = part as BaseWebForm;
            if (_strongPart == null)
            {
                return;
            }

            #endregion

            #region 添加控件模板事件方法部分

            //实例化控件
            UFSoft.UBF.UI.ControlModel.IUFContainer Card0
                = (UFSoft.UBF.UI.ControlModel.IUFContainer)part.GetUFControlByName(part.TopLevelContainer, "CardPlusFunction");


            //增加查询库存按钮
            this.btnQueryWhQoh              = UIControlBuilder.BuilderUFButton(Card0, true, "btnQueryWhQoh", true, true, 80, 20, 2, 0, 1, 1, "100", "", "", "btnQueryWhQoh", false, "", "", "7a847b62-5778-42db-abed-e41fb6130a76");
            this.btnQueryWhQoh.Text         = "库存查询";
            this.btnQueryWhQoh.AutoPostBack = true;
            this.btnQueryWhQoh.Click       += new EventHandler(btnQueryWhQoh_Click);

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

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

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



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



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


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



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



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

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

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



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



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


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



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



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

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

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



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



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



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Exemple #5
0
        private IUFCard _BuilderControl_Card1(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card1", false, "FunctionBar", true, true, "2", "", "925602a0-a0fe-4e90-8628-d8f18877e337");

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

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



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



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


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



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



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Exemple #6
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);
        }
Exemple #7
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);
        }
Exemple #8
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);
        }
        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);
        }
Exemple #10
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);
        }
Exemple #11
0
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container, "Card0", false, "FunctionBar", true, true, "3", "", "4a099cf6-e186-4292-bfc8-62b44d25272a");

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

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



            _BuilderControl_DDBtnOperation(_UFCard);


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



            _BuilderControl_DDBtnActivity(_UFCard);


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



            _BuilderControl_DDBtnQuery(_UFCard);


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



            _BuilderControl_DDBtnTaskLink(_UFCard);


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


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



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


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



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



            _BuilderControl_DropDownButton11(_UFCard);


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



            _BuilderControl_DropDownButton13(_UFCard);


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



            _BuilderControl_DropDownButton15(_UFCard);


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



            _BuilderControl_DropDownButton12(_UFCard);


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



            container.Controls.Add(_UFCard);
            return(_UFCard);
        }
Exemple #12
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);
        }
Exemple #13
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);
        }
Exemple #14
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);
        }