上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 问题描述:未能加载文件或程序集“file:///C:/Program Files/SAP BusinessObjects/Crystal Reports for .NET Framework 4.0/Common/SAP BusinessObjects Enterprise XI 4.0/win32... 阅读全文
posted @ 2011-06-10 11:11 liancs 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1、首先下载安装水晶报表for vs 20102、新建wpf项目3、在工具箱新建选项卡“水晶报表for vs2010”,在选择卡下添加水晶报表for vs2010提供的控件(程序集都以SAPBusinessObjects开头),其中包括CrystalReportsViewer控件。4、需要注意的一点... 阅读全文
posted @ 2011-06-07 19:28 liancs 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 代码如下: string mode = "([-+]?[0-9]+//.?[0-9]+)"; Regex reg=new Regex(mode); Match match = reg.Match(textBox3.Text.Trim()); if (match.Success) { MessageB... 阅读全文
posted @ 2011-06-03 19:54 liancs 阅读(891) 评论(0) 推荐(0) 编辑
摘要: 假如有一个wpf控件CheckBox chkBox,执行其单击事件的代码如下: chkBox.RaiseEvent(new RoutedEventArgs(CheckBox.ClickEvent, chkBox)); 阅读全文
posted @ 2011-06-01 17:04 liancs 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 说明:首先在窗体上放一个PictrueBox控件,命名为pb1,拖动完整代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Draw... 阅读全文
posted @ 2011-05-23 17:12 liancs 阅读(1112) 评论(1) 推荐(1) 编辑
摘要: 下面以在Wpf中添加ZedGraph(用于创建任意数据的二维线型、条型、饼型图表的一个开源类库)控件,说明在WPF中使用Winform控件的方法。1、 首先添加对如下两个dll文件的引用:WindowsFormsIntegration.dll,System.Windows.Forms.dll。2、 ... 阅读全文
posted @ 2011-05-12 17:08 liancs 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application(); try { excelApp.Visible = false; //Cria... 阅读全文
posted @ 2011-05-11 19:04 liancs 阅读(1992) 评论(0) 推荐(0) 编辑
摘要: 现在两个datagridview控件gridview1和gridview2,gridview1中有数据行,gridview2中无数据行,代码如下:for (int i = 0; i < gridview1.Rows.Count; i++) { gridview2.Rows.Add();//在grid... 阅读全文
posted @ 2011-04-15 19:26 liancs 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 1、实现窗体全屏显示方法:在全屏方法中进行如下操作this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;this.WindowState = System.Windows.Forms.FormWindowState.Maxi... 阅读全文
posted @ 2011-04-15 11:31 liancs 阅读(1931) 评论(0) 推荐(0) 编辑
摘要: http://www.uml.org.cn/jmshj/201004265.asp 阅读全文
posted @ 2011-03-27 19:25 liancs 阅读(119) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页