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, 计划任务 就是 有(时间)计划地执行(做)任务,有计划 包括 定时执行(在哪些时间点执行任务).按照周期执行(每隔多少时间执行任务). 那么,什么是任务呢?就是 自己想要干 ...
随机推荐
- 性能达到原生 MySQL 七倍,华为云 Taurus 技术解读【华为云技术分享】
版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/devcloud/article/detai ...
- Python面试的一些心得,与Python练习题分享
关于基础 项目打算招聘一个自动化运维,主要需求是python.Linux与shell脚本能力.但面试几天发现一些问题: 简历虚假 这个不管哪行,简历含水量大都是普遍存在的,看简历犀利的一比,一面是能力 ...
- 华为ARM64服务器上手体验--不吹不黑,用实际应用来看看TaiShan鲲鹏的表现
背景 中美贸易冲突以来,相信最大的感受,并不是我对你加多少关税,而是我有,可我不卖给你."禁售"成了市场经济中最大的竞争力. 相信也是因为这个原因,华为"备胎转正&quo ...
- 一条Top10热销品牌MySQL语句
表t_alibaba_data的数据结构如下: 各列含义分别是: 用户id(user_id),品牌id(brand_id),用户行为(type, 其中,点击为0,购买为1,加入收藏为2,加入购物车为3 ...
- CodeForces985G Team Players
G. Team Players time limit per test 2 seconds memory limit per test 256 megabytes input standard inp ...
- .net core 3.1简体中文语言包,英文只能提示变成中文!
.net core 3.1简体中文语言包,英文只能提示变成中文!这个是我自己手动用谷歌翻译翻译的一批文档,已经把.net core3.1完全翻译了,由于是翻译器翻译,所以怕翻译有错漏,所以没有去掉英文 ...
- 递归的实际业务场景之MySQL 递归查询
喜欢就点个赞呗! 源码<--请点击此处查看 引入 当我看到一些评论时,例如下面的样子.我挺好奇这个功能是怎么样做出来的.进过查阅资料,发现这其实是 MySQL 的递归操作.下面就让我操作一下怎么 ...
- JS基础-事件队列
为什么JavaScript是单线程? JavaScript语言的一大特点就是单线程,也就是说,同一个时间只能做一件事.那么,为什么JavaScript不能有多个线程呢?这样能提高效率啊. JavaSc ...
- go1.13 mod 实践和常见问题
实践建议 0,go mod 要求所有依赖的 import path 的path 以域名开头,如果现有项目转1.13的go mod 模式,且不是以域名开头则需要修改. eg: code.be.mingb ...
- 学习构建调试Linux内核网络代码的环境MenuOS系统
构建调试Linux内核网络代码的环境MenuOS系统 一.前言 这是网络程序设计的第三次实验,主要是学习自己编译linux内核,构建一个具有简易功能的操作系统,同时在系统上面进行调试linux内核网络 ...