public void Setup(IObjectSpace objectSpace, XafApplication application) { if (helper == null) { helper = new ObjectEditorHelper(MemberInfo.MemberTypeInfo, Model); } _application = application; _objectSpace = objectSpace; }
private void showObjectAction_CustomizePopupWindowParams(object sender, CustomizePopupWindowParamsEventArgs args) { args.DialogController.Cancelling += DialogController_Cancelling; args.View = ObjectEditorHelper.CreateDetailView(Properties.Application, Properties.ObjectSpace, EditValue, Properties.EditValueTypeInfo.Type, Properties.ReadOnly); }
public override void Setup(IObjectSpace os, XafApplication app) { base.Setup(os, app); if (_helper == null) { _helper = new ObjectEditorHelper(MemberInfo.MemberTypeInfo, Model); } }
public void Setup(IObjectSpace objectSpace, XafApplication application) { if (helper == null) { helper = new ObjectEditorHelper(MemberInfo.MemberTypeInfo, Model); } _application = application; _objectSpace = objectSpace; }
public override void Setup(IObjectSpace space, XafApplication app) { base.Setup(space, app); if (_helper == null) { _helper = new ObjectEditorHelper(MemberInfo.MemberTypeInfo, Model); _popupWindowHelper = new ReleaseSequencePopupWindowHelper() { Model = Model }; } }
public override void Setup(IObjectSpace space, XafApplication app) { base.Setup(space, app); if (helper == null) { helper = new ObjectEditorHelper(MemberInfo.MemberTypeInfo, Model); } }