Beispiel #1
0
 public override void InitEditors(Entity entity)
 {
     base.InitEditors(entity);
     StatusCodeLookUpEdit.BindPickList(entity);
     ManagerSearchLookUpEdit.InitEdit("User", "Department", false);
     ContractIdSearchLookUpEdit.Bind(entity);
     ContractIdSearchLookUpEdit.AddDetailButton("Contract");
     CustomerIdSearchLookUpEdit.Bind(entity);
     CustomerIdSearchLookUpEdit.AddDetailButton("Account");
     projectTypeCodeLookUpEdit.BindPickList(entity);
     technologyCodeLookUpEdit.BindComboBoxList(entity, "TechnologyCode");
     probabilityLookUpEdit.BindPickList(entity);
     OwnerIdSearchLookUpEdit.InitEdit("User", "Department", false);
 }
Beispiel #2
0
        public override void InitEditors(Entity entity)
        {
            base.InitEditors(entity);
            StatusCodeLookUpEdit.BindPickList(entity);
            string defaultLayoutPath = "Katrin.Win.MainModule.DefaultLayout";

            ManagerSearchLookUpEdit.InitEdit("User", "Department", false);
            ContractIdSearchLookUpEdit.Bind(entity);
            ContractIdSearchLookUpEdit.AddDetailButton <ContractDetailView>(OpenDetail, "Contract");
            CustomerIdSearchLookUpEdit.Bind(entity);
            CustomerIdSearchLookUpEdit.AddDetailButton <AccountDetailView>(OpenDetail, "Account");
            projectTypeCodeLookUpEdit.BindPickList(entity);
            technologyCodeLookUpEdit.BindPickList(entity);
            probabilityLookUpEdit.BindPickList(entity);
            OwnerIdSearchLookUpEdit.InitEdit("User", "Department", false);
        }