工作原因,需要将进度信息显示,并可以保存所以写了个小控件,有需要的朋友可以看下

我只做了正确与错误的显示,其它的可以跟据枚举操作
环境: .NET 2.0
代码

我只做了正确与错误的显示,其它的可以跟据枚举操作
环境: .NET 2.0
1
using System;
2
using System.Collections;
3
using System.ComponentModel;
4
using System.Drawing;
5
using System.Windows.Forms;
6
using System.IO;
7
8
9
namespace ProCtrlLib
10
{
11
/// <summary>
12
/// 描述:采用LISTVIEW形式加载消息
13
/// 作者:ForrestSun
14
/// 日期: 2006-7-17
15
/// </summary>
16
17
[ToolboxBitmap(typeof(ProMessageBox), "ProMessageBox")]
18
public partial class ProMessageBox : UserControl
19
{
20
21
public ProMessageBox()
22
{
23
InitializeComponent();
24
}
25
26
27
private void cmnuClearInfo_Click(object sender, EventArgs e)
28
{
29
ClearInfo();
30
}
31
32
function
143
144
private void cmnuExportInfo_Click(object sender, EventArgs e)
145
{
146
this.ExportToTxt();
147
}
148
}
149
150
151
}
152
using System;2
using System.Collections;3
using System.ComponentModel;4
using System.Drawing;5
using System.Windows.Forms;6
using System.IO;7

8

9
namespace ProCtrlLib10
{11
/// <summary>12
/// 描述:采用LISTVIEW形式加载消息13
/// 作者:ForrestSun14
/// 日期: 2006-7-1715
/// </summary>16

17
[ToolboxBitmap(typeof(ProMessageBox), "ProMessageBox")]18
public partial class ProMessageBox : UserControl19
{20

21
public ProMessageBox()22
{23
InitializeComponent();24
}25

26
27
private void cmnuClearInfo_Click(object sender, EventArgs e)28
{29
ClearInfo();30
}31

32
function143

144
private void cmnuExportInfo_Click(object sender, EventArgs e)145
{146
this.ExportToTxt();147
}148
}149

150
151
}152

代码


浙公网安备 33010602011771号