Add the Scheduler Module 添加计划程序模块
Important 重要
Scheduler requires the Event business class to be in your XAF application model. Follow the steps described in the Add a Class from the Business Class Library (EF/XPO ) lesson to learn how to add it.
计划程序要求事件业务类位于 XAF 应用程序模型中。按照从商务舱库 (EF/XPO) 中添加类课程中描述的步骤,了解如何添加它。
The eXpressApp Framework (XAF) supplies the Scheduler module. When this module is referenced, the Event List View is displayed via a special control. In WinForms applications, this control is supplied by the XtraScheduler Suite; in ASP.NET applications, the control supplied by the ASPxScheduler Suite is used. Both of these controls provide a number of features that will be helpful if you need to switch between different date views, use a date navigator and various appointment techniques, print and export source data, or customize the appearance. For details, refer to the ASP.NET Scheduling Demosand the Scheduler's Main Features topic. More examples of using XAF extra modules are provided in the Extra Modules section of this tutorial.
eXpressApp 框架 (XAF) 提供计划程序模块。引用此模块时,事件列表视图将通过特殊控件显示。在 WinForms 应用程序中,此控件由 Xtra计划程序套件提供;在ASP.NET应用程序中,使用 ASPx计划程序套件提供的控件。如果您需要在不同日期视图之间切换、使用日期导航器和各种约会技术、打印和导出源数据或自定义外观,这两个控件都提供了许多功能,这些功能将非常有用。有关详细信息,请参阅ASP.NET计划演示和计划程序的主要功能主题。本教程的"额外模块"部分提供了使用 XAF 额外模块的更多示例。
To use the Scheduler module in the WinForms application, add it to the WinForms module project. For this purpose, find the WinModule.cs (WinModule.vb) file in the MySolution.Module.Win application project displayed in the Solution Explorer. Double-click this file to invoke the Module Designer. In the Toolbox, navigate to the DX.19.2: XAF Modules section. Drag the SchedulerWindowsFormsModule item to the Designer's Required Modules panel, and build the project.
要在 WinForms 应用程序中使用计划程序模块,请将其添加到 WinForms 模块项目中。为此,在 MySolution.module.win 应用程序项目中查找解决方案资源管理器中显示的WinModule.cs (WinModule.vb) 文件。双击此文件以调用模块设计器。在工具箱中,导航到 DX.19.2:XAF 模块部分。将计划程序Windows窗体模块项目拖动到设计器的"必需模块"面板,然后生成项目。

To use the Scheduler module in an ASP.NET application, add it to the ASP.NET module project. To do this, invoke the Module Designer by double-clicking the WebModule.cs (WebModule.vb) file. Then, drag the SchedulerAspNetModule item from the Toolbox to the RequiredModules panel.
要在ASP.NET应用程序中使用计划程序模块,请将其添加到ASP.NET模块项目中。为此,请通过双击WebModule.cs(WebModule.vb)文件来调用模块设计器。然后,将计划程序AspNet模块项目从工具箱拖动到"必需模块"面板。

Run the WinForms or ASP.NET application. Select the Scheduler Event item in the Navigation Control. The Event object list (called the "Event List View") will be displayed using the Scheduler control. You can create new Event objects by clicking the New (
) button on the toolbar. Alternatively, you can select an area in the timeline view, right-click it and choose New Appointment.运行 WinForms 或ASP.NET应用程序。在导航控件中选择计划程序事件项。事件对象列表(称为"事件列表视图")将使用计划程序控件显示。您可以通过单击工具栏上的"新建(btn_new)"按钮创建新的事件对象。或者,您可以在时间线视图中选择一个区域,右键单击它并选择"新建约会"。


Note 注意
The new Event's default start and end times correspond to the interval selected in the scheduler control. Additionally, you can create events with the New command in the control's context menu.
新事件的默认开始和结束时间对应于计划程序控件中选择的时间间隔。此外,您可以在控件的上下文菜单中使用"新建"命令创建事件。
Tip 提示
XAF has a special Notifications module that allows to set notifications for events. Refer to the How to: Use Notifications with the Scheduler Event help topic to learn how to use it in your application.
XAF 具有一个特殊的通知模块,允许设置事件通知。请参阅"如何:将通知与计划程序事件一起使用"帮助主题,了解如何在应用程序中使用它。
Add the Scheduler Module 添加计划程序模块的更多相关文章
- Linux系统下使用crontab添加计划任务的方法
在服务器中添加定期执行的任务,在很多情况下是非常必要的.比如,每天清理一次/tmp目录下的文件;没几分钟检查某一守护进程是否正常等等.这样计划任务就显得尤为方便.下面将介绍如何在Linux系统中 ...
- git add --all 为啥不能添加空文件夹,这样设计的初衷是
git add --all 为啥不能添加空文件夹,这样设计的初衷是? 好多项目还得弄个假文件在空文件夹里面占位 这个算设计失误吧,见 https://git.wiki.kernel.org/index ...
- Add a Simple Action添加简单按钮
In this lesson, you will learn how to create a Simple Action. For this purpose, a new View Controlle ...
- Add a Parametrized Action 添加带参数的按钮
In this lesson, you will learn how to add a Parametrized Action. These types of Actions are slightly ...
- thinkPHP add、save无法添加、修改不起作用
案例:数据库新添加一字段,修改值不成功.解决方案:将Runtime/Data/_fields/下面的字段缓存删除,或者直接删除整个Runtime文件也是可以的分析:由于Thinkphp,采用字段缓存机 ...
- Linux module 添加到bashrc 和临时ifort编译器 以及python2和3的配置
第一步vim ~/.bashrc按键盘的i然后source /home/export/online1/bjpara/para/modules/scripts/cn-module.sh最后:x! bas ...
- MVC与单元测试实践之健身网站(七)-添加计划
计划的制定涉及到周期-动作包-动作的关联操作,在上一篇<计划的添加与重置>完成了周期的设置.动作包的添加,现在要完成的是动作的添加操作. 一 具体功能 a) 在选定了一个大周期具有的天数 ...
- git add , git commit 添加错文件 撤销
1. git add 添加 多余文件 这样的错误是由于, 有的时候 可能 git add . (空格+ 点) 表示当前目录所有文件,不小心就会提交其他文件 git add 如果添加了错误的文件的话 撤 ...
- 使用crontab命令添加计划任务
Ubuntu 16.04, 计划任务 就是 有(时间)计划地执行(做)任务,有计划 包括 定时执行(在哪些时间点执行任务).按照周期执行(每隔多少时间执行任务). 那么,什么是任务呢?就是 自己想要干 ...
随机推荐
- 《吊打面试官》系列-HashMap
你知道的越多,你不知道的越多 点赞再看,养成习惯 本文 GitHub https://github.com/JavaFamily 上已经收录,有一线大厂面试点思维导图,也整理了很多我的文档,欢迎Sta ...
- js中innerHTML和outerHTML的相同与不同
innerHTML 属性设置或返回表格行的开始和结束标签之间的 HTML,包括标签. outerHTML 设置或获取对象及其内容的HTML形式,也就是标签和文本内容全都显示出来 innerText ...
- Reactive(3)5分钟理解 SpringBoot 响应式的核心-Reactor
目录 一.前言 二. Mono 与 Flux 构造器 三. 流计算 1. 缓冲 2. 过滤/提取 3. 转换 4. 合并 5. 合流 6. 累积 四.异常处理 五.线程调度 小结 参考阅读 一.前言 ...
- Could not resolve dependencies for project, Failed to read artifact descriptor for
一个可能的原因是由于你的网络从局域网(比如实验室网)切换到了代理网络(比如校园公共网). 方法一:重新切换到非代理网络 办法二:repository 或 dependency 名称不对,比如新repo ...
- 简而意赅 HTTP HTTPS SSL TLS 之间有什么不同
HTTP HTTPS SSL TLS 之间有什么不同? SSL是Secure Sockets Layer的缩写.SSL的作用是为网络上的两台机器或设备提供了一个安全的通道. TLS是SSL的一个新的名 ...
- goal
线段树进阶,主席树,莫队,相似kmp,悬线,单调栈,单调队列,ac自动机,后缀数组,后缀自动机 图论:最短路,差分约束,二分图,网络流,连通分量 不学图论了我太难了 三分找,单调增+max+单调减 ...
- 理解web服务器和数据库的负载均衡以及反向代理
这里的“负载均衡”是指在网站建设中应该考虑的“负载均衡”.假设我们要搭建一个网站:aaa.me,我们使用的web服务器每秒能处理100条请求,而aaa.me这个网站最火的时候也只是每秒99条请求,那么 ...
- Mechanical Design Optimization with Abaqus and Isight
一.项目背景 本项目为"ME327机械优化设计方法"课程项目. 如何合理利用更轻更强的材料,是机器人结构设计值得深究的问题.在驱动的功率一定的情况下,更轻的机械结构意味着电机承受更 ...
- 【Html JS】使用问题记录
[Html JS]使用问题记录 ================================================================ 1.td 文字换行 2.正则表达式 = ...
- Xcode 三方库管理工具 CocoaPods 的安装流程
1. 移除现有 Ruby 默认源: $ gem sources --remove https://rubygems.org/ 2. 使用新的 Ruby 源: $ gem sources -a http ...