摘要:
BackgroundWorker是一个在System.ComponentModel命名空间下的帮助类,用于管理工作线程。它提供了以下几个重要的特性:1)“cancel”标记,可以在不使用Abort的情况下给工作线程打信号终止工作线程(调用CancelAsync方法)。2)提供报告进度、完成度和退出的... 阅读全文
posted @ 2015-04-22 14:42
GladCoder
阅读(202)
评论(0)
推荐(0)
摘要:
首先新建一个XtraReport类。根据需要设计报表页面布局;子报表需要添加DetailReport布局设计完毕后,写代码绑定数据;using System;using System.Drawing;using System.Collections;using System.ComponentMod... 阅读全文
posted @ 2015-04-22 13:15
GladCoder
阅读(4899)
评论(1)
推荐(0)
摘要:
RepositoryItemMemoEdit repoMemo = new RepositoryItemMemoEdit(); repoMemo.WordWrap = true; repoMemo.AutoHeight = true; this.gridControl1.RepositoryI... 阅读全文
posted @ 2015-04-22 13:11
GladCoder
阅读(1367)
评论(0)
推荐(0)
摘要:
USE WSS_Content SELECT * FROM dbo.utTable32 WHERE DB0461A IN (SELECT DB0461A FROM dbo.utTable32 WHERE ID IN('1','2','2'))---Row_NUMBER() OVER()SELECT ... 阅读全文
posted @ 2015-04-22 13:08
GladCoder
阅读(311)
评论(0)
推荐(0)
摘要:
printPreviewControl1通常与printDocument1控件配合使用,利用printPreviewControl1的属性Document与一个printDocument1绑定,即(this.printPreviewControl1.Document = this.printDocu... 阅读全文
posted @ 2015-04-22 13:01
GladCoder
阅读(4392)
评论(0)
推荐(0)
摘要:
1 private void button1_Click(object sender, EventArgs e) 2 { 3 //...处理事件 4 for (int i = 0; i < 5; i++) 5 ... 阅读全文
posted @ 2015-04-22 11:40
GladCoder
阅读(275)
评论(0)
推荐(0)

浙公网安备 33010602011771号