随笔分类 -  高校排课模块

摘要:1.课表控件当在该课表控件点击(如行:星期一、列:上午第一节课),则可将教学班安排在该时段上课或删除上课时段2.合并多行列内容相同的DataGrid下图中专业描述相同的行自动合并3.跨多行显示同一条记录的DataGrid在上图中,教师ID为22的教室有三条不同的排课记录,该DataGrid自动将相同ID的记录合并显示在一起,并去除了水平线,让人看起来就像一条记录4.DataGrid中实现checkbox列在智能监控系统中的设置窗口中的DataGrid,除合并多行相同内容的列外,还实现了在数据列中绑定CheckBox控件5.在DataGrid列中绑定Multi-Column ComboBox控件 阅读全文
posted @ 2012-07-18 10:51 simplefrog 阅读(889) 评论(0) 推荐(0)
摘要:在高校排课模块中有这样一个需求:一条教学班记录有多列信息,满屏显示也无法显示完所有列,在DataGrid中出现水平滚动条其中教学班代码、课程名称、星期一到星期五这七列的信息需要同时在窗口中全部显示,如下图所示而从课程代码到授课教师22列是参考信息,不必全部列同时显示在窗口中,如下面的三幅图片所示在这不必全部列同时显示的22列中,如需要参考某列信息可使用调整列显示顺序功能拖动靠左的位置为了解决拖动水平滚动条查看不必同时显示的22列教学班信息时需要同时在窗口中全部显示的教学班代码、课程名称、星期一到星期五这七列信息不被隐藏这个问题笔者使用了两个DataGrid,同时全部显示的七列放在左边的Data 阅读全文
posted @ 2012-07-14 19:08 simplefrog 阅读(2544) 评论(1) 推荐(0)
摘要:应用遗传算法很有趣的一个示例参见MSDNhttp://msdn.microsoft.com/en-us/magazine/cc163934.aspx 阅读全文
posted @ 2012-07-14 16:44 simplefrog 阅读(365) 评论(0) 推荐(0)
摘要:Genetic programming is a branch of genetic algorithms. The main difference between genetic programming and genetic algorithms is the representation of the solution. Genetic programming creates computer programs in the lisp or scheme computer languages as the solution. Genetic algorithms create a st. 阅读全文
posted @ 2012-07-14 16:37 simplefrog 阅读(896) 评论(0) 推荐(0)
摘要:One of the most enduring challenges in writing user interfaces is figuring out how to display large amounts of data efficiently and intuitively without bewildering the user. The problem becomes particularly thorny when the interface must reflect hierarchical relationships within the data that the us 阅读全文
posted @ 2012-07-14 15:51 simplefrog 阅读(180) 评论(0) 推荐(0)
摘要:详细讲解了如何自定义DataGrid控件,将多种控件(如:进度条、按钮、下拉框)绑定到数据列中参考MSDNPart 1:http://msdn.microsoft.com/en-us/library/ms996449Part 2:http://msdn.microsoft.com/en-us/library/ms996453.aspx 阅读全文
posted @ 2012-07-14 15:38 simplefrog 阅读(178) 评论(0) 推荐(0)
摘要:This sample contains the code and demonstrates the use of a Grid control that is modelled after the Microsoft Money transaction register view. It provides an editable grid that can bind to fields and/or properties of a the row type object that can layout those fields in multiple lines per row. It al 阅读全文
posted @ 2012-07-14 15:28 simplefrog 阅读(187) 评论(0) 推荐(0)
摘要:在管理信息系统(MIS)的数据维护的界面中,一些数据字段往往包含多重信息,如性别编码01代表男、02代码女,此时Multi-Column ComboBox就派上用场了NET框架默认提供的ComboBox只能显示一列的信息,Multi-Column ComboBox可以同时显示多列,如上图中显示了代码和代码描述两列的信息 实现代码:因涉及到实际应用中的项目,暂不提供下载,请谅解 阅读全文
posted @ 2012-07-14 15:20 simplefrog 阅读(371) 评论(0) 推荐(0)
摘要:下图是高校排课模块中使用Dragging and Dropping DataGrid的效果其实现思路和代码参见MSDN http://msdn.microsoft.com/en-us/library/ms996459.aspx 阅读全文
posted @ 2012-07-14 14:33 simplefrog 阅读(227) 评论(0) 推荐(0)
摘要:Crownwood公司专注于提供用户界面控件以改善您应用程序的外观。使用这些控件将节省开发人员的时间和提供效率,同时为项目节省费用Magic UI Library 1.7.4.0是Crownwood公司开放源代码、免费的控件库下图是Magic UI Library 1.7.4.0的源代码截图在高校排课模块中使用了Crownwood Magic UI Library 1.7.4.0中的Dock控件使排课模块具有了Visual Studio IDE一样的Docking功能除了Dock控件Magic UI Library 1.7.4.0还提供了其他功能非常强大的控件 阅读全文
posted @ 2012-07-14 11:16 simplefrog 阅读(1286) 评论(0) 推荐(0)