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, 计划任务 就是 有(时间)计划地执行(做)任务,有计划 包括 定时执行(在哪些时间点执行任务).按照周期执行(每隔多少时间执行任务). 那么,什么是任务呢?就是 自己想要干 ...
随机推荐
- 用墨卡托和GPS坐标计算距离时误差测试
iOS墨卡托和GPS坐标计算距离时误差测试,测试结果: 墨卡托和gps坐标来回转换没有误差. 墨卡托坐标计算出的距离比gps坐标计算出的距离大,100/92*100 = 108米,每100米多算出8米 ...
- DevOps on DevCloud|如何实现应用接口的混合驱动测试
引言:在"DevOps能力之屋(Capabilities House of DevOps)"中,华为云DevCloud提出(工程方法+最佳实践+生态)×工具平台=DevOps能力. ...
- 【玩转MLS系列】基础教程
1.申请华为机器学习服务MLS标准版服务: 1.如果还未注册华为云,请先进入华为云官网https://www.huaweicloud.com/进行注册:如果已注册,请登录,转第2步. 2.在华为云官网 ...
- jenkins的部署
一.jenkins相关工具安装 基于tomcat安装iptables -F setenforce 0 systemctl stop firewalld.service Jdk安装 wgt htt ...
- MySQL必知必会(组合Where子句,Not和In操作符)
SELECT prod_id, prod_price, prod_name FROM products ; SELECT prod_id, prod_price, prod_name FROM pro ...
- std::unique_ptr的用法
std::ofstream("demo.txt") << 'x'; // 准备要读的文件 { std::unique_ptr<std::FILE, decltyp ...
- php mysql_connect 在同一host下多数据库mysql_select_db()的bug .
操作方法 创建两个数据库test1 test2 同一个host下面 分别在两个数据库中创建表 -- ---------------------------- -- Table structure fo ...
- hibernate查询方式(三)
QBC查询 (Query By Criteria) *****QBC查询有三个特点 **查询时不写sql语句 而是用方法来查询 **操作实体类和属性 **通过criteria对象来实现 1.查询所有 ...
- HDU-1274
在纺织CAD系统开发过程中,经常会遇到纱线排列的问题. 该问题的描述是这样的:常用纱线的品种一般不会超过25种,所以分别可以用小写字母表示不同的纱线,例如:abc表示三根纱线的排列:重复可以用数字和 ...
- BZOJ1002 [FJOI2007]轮状病毒(最小生成树计数)
Time Limit: 1 Sec Memory Limit: 162 MBSubmit: 7125 Solved: 3878[Submit][Status][Discuss] Descripti ...