.Net com组件操作excel(不建议采用Com组件操作excel)
摘要:添加"Microsoft Office 12.0 Object Library" com组件 1 using System; 2 using System.Data; 3 using System.Data.OleDb; 4 using System.IO; 5 using System....
阅读全文
posted @
2014-10-29 13:53
JustYong
阅读(635)
推荐(0) 编辑
Zebra - zebra command to get printer status
摘要:/// /// determine whether the network printer is in pause. /// /// /// /// /// private ...
阅读全文
posted @
2014-10-28 16:49
JustYong
阅读(467)
推荐(0) 编辑
Zebra - zebra command to get printer error and warning status
摘要:1 Flag2 Nibble 16-93 Nibble 8-44 Nibble 35 Nibble 26 Nibble 1
阅读全文
posted @
2014-10-27 16:29
JustYong
阅读(295)
推荐(0) 编辑
user32的使用
摘要:通过代码查询特定的窗口,并在文本框中输入文字然后单击"OK"按钮需要查找的Dialog使用Spy++查看窗口信息通过代码实现功能 1 class Program 2 { 3 //define method 4 5 /// 6 ///...
阅读全文
posted @
2014-10-24 16:43
JustYong
阅读(540)
推荐(0) 编辑
Winform常用知识总结
摘要:Label中的文字自动换行设置MaximumSize的width为正确的值,设置height为0,设置AutoSize为true.绘制线条放置一个Panel,设置size的高度为1,设置BorderStyle重新加载窗体OnLoad(EventArgs e)DataGridView添加自动序号列1 ...
阅读全文
posted @
2014-10-21 17:47
JustYong
阅读(295)
推荐(0) 编辑
DataView RowFilter Syntax [C#]
摘要:RowFilter语法 1 private void btnEnquiry_Click(object sender, EventArgs e) 2 { 3 string filterExpression = string.Empty; 4 ...
阅读全文
posted @
2014-10-20 16:02
JustYong
阅读(263)
推荐(0) 编辑