2014年12月24日

sql server

摘要: 启动sql server 配置管理器出现请求失败或服务未及时响应解决方案:停用“VIA协议”问题解决。"VIA协议"停用方法:开始->程序->Microsoft SQL Server 2005->配置工具->SQL Server Configuration Manager ->打开后找到"SQL S... 阅读全文

posted @ 2014-12-24 21:17 连一粝 阅读(213) 评论(0) 推荐(0) 编辑

2014年12月13日

C#中的结构,练习

摘要: namespace STRUCT_TEST{ class Program { struct A { public int X;//不能直接对其进行赋值 public int Y; public static string str = null;//静态变量可以初始化 public... 阅读全文

posted @ 2014-12-13 22:26 连一粝 阅读(136) 评论(0) 推荐(0) 编辑

2014年12月10日

datagridview实现复制粘贴

摘要: private void StepArtDgv_KeyUp(object sender, KeyEventArgs e) { //粘贴 if (e.KeyCode == Keys.V && e.Control) { // 获取剪切板的内容,并按行分割 string pasteText = Clip... 阅读全文

posted @ 2014-12-10 16:59 连一粝 阅读(1617) 评论(0) 推荐(0) 编辑

2014年12月3日

VS.NET2010水晶报表安装部署[VS2010]

摘要: 水晶报表VS2010版IDE安装标准版SAP Crystal Reports, version for Visual Studio 2010 - Standard:下载地址:http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13... 阅读全文

posted @ 2014-12-03 21:49 连一粝 阅读(300) 评论(0) 推荐(0) 编辑

2014年11月24日

C#中基础知识积累

摘要: C#中,获取容器中所有控件foreach (Control contr in this.palchangepassword.Controls) { contr.Visible = true; }C#中,获取容器中某种控件foreach (Control con in this.Controls) {... 阅读全文

posted @ 2014-11-24 11:56 连一粝 阅读(150) 评论(0) 推荐(0) 编辑

2014年10月30日

C#捕获全局异常

摘要: using System; using System.Collections.Generic; using System.Windows.Forms; using System.IO; namespace GobalException { static class Program { /// ... 阅读全文

posted @ 2014-10-30 12:58 连一粝 阅读(256) 评论(0) 推荐(0) 编辑

2014年10月22日

unity3d 嵌入 winform程序中 src路径设置问题

摘要: AxUnityWebPlayerAXLib.AxUnityWebPlayer _Unity = axUnityWebPlayer1; Controls.Add(_Unity); ((System.ComponentModel.ISupportInitialize)(_Unity)).EndIn... 阅读全文

posted @ 2014-10-22 14:28 连一粝 阅读(685) 评论(0) 推荐(0) 编辑

C# WinForm程序中使用Unity3D控件

摘要: 很多的用户还是比较习惯WinForm或者WPF中的UI形式,于是在网上搜了一下WinForm和Unity3D如何集成,结果不是非常令人满意,绝大多数的回答是“No Way”,也有人给出了使用WebBrowser控件的形式,说实话这种还算是比较靠谱的,以前也这么干过类似的事情;后来搜到一篇帖子说是可以... 阅读全文

posted @ 2014-10-22 14:26 连一粝 阅读(1206) 评论(0) 推荐(0) 编辑

2014年10月20日

MSComm32.ocx控件的使用(串口通信)

摘要: 1.注册MSComm32控件,网上下载这个控件,然后把它拷贝到到C:\Windows\system32文件夹下,我装的是64位的Win7系统,是在C:\Windows\sysWOW64文件夹下,然后打开cmd,写入代码 regsvr32 C:\Windows\system32\MSComm32.oc... 阅读全文

posted @ 2014-10-20 19:26 连一粝 阅读(1519) 评论(0) 推荐(0) 编辑

2014年10月11日

C#中程序启动窗口没有注册类

摘要: 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))解决方法:出现这个问题主要是因为32位操作系统和64位操作系统存在兼容性问题。解决方案:1、鼠标右击解决方案,点击属性按钮调出属性窗口。2、点击配置标签,把平台改为X86。3、如果上图的位置没有... 阅读全文

posted @ 2014-10-11 09:32 连一粝 阅读(1717) 评论(0) 推荐(0) 编辑

导航