![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
转载
随心码
这个作者很懒,什么都没留下…
展开
-
C#读写app.config中的数据
读语句: String str = ConfigurationManager.AppSettings["DemoKey"]; 写语句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);转载 2012-06-12 11:10:59 · 1870 阅读 · 0 评论 -
从程序员到项目经理
从程序员到项目经理(一) “从程序员到项目经理”,这个标题让我想起了很久以前一本书的名字《从Javascript到Java》。然而,从Javascript到Java充其量只是工具的更新,而从程序员到项目经理,却是一个脱胎换骨的过程。从Javascript到Java,是一个取巧的方法;而从程序员到项目经理,却并无捷径可走,必须从内而外的改变和提升。一.为什么要当项目经理1. 问转载 2012-09-17 15:28:47 · 3755 阅读 · 0 评论 -
C#获取机器码
/// 2 /// 机器码 3 /// 4 public class MachineCode 5 { 6 /// 7 /// 获取cpu序列号 8 /// 9 /// string转载 2012-09-16 10:19:35 · 727 阅读 · 0 评论 -
机器码
[c-sharp] view plaincopyusing System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using转载 2012-09-16 10:06:36 · 908 阅读 · 0 评论 -
web获取MAC
http://www.cnblogs.com/heaiping/archive/2010/01/19/1651864.html转载 2012-09-14 16:16:57 · 350 阅读 · 0 评论 -
installshiell
http://blog.csdn.net/emma_he/article/details/5392508http://blog.csdn.net/ntting/article/details/7011808http://www.google.com.hk/#hl=zh-CN&newwindow=1&safe=strict&q=installshield+batch+build&oq=i转载 2012-09-05 00:18:11 · 378 阅读 · 0 评论 -
installshield中常用prq文件的下载地址
VC 2010 redist X86: http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2010 redistributable package (x86).prqVC 2010 redist X86 64: http://saturn.installshield.com/is/prerequis转载 2012-09-05 00:11:56 · 2105 阅读 · 0 评论 -
c#中调用SQLIITET部署在非开发机器中
http://s.yanghao.org/program/viewdetail.php?i=106326http://www.cnblogs.com/mrytsr/archive/2011/07/07/2099929.htmlhttp://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wikihttp://w转载 2012-09-04 23:53:04 · 597 阅读 · 0 评论 -
app.config项目配置文件读写
使用.Net2.0中的ConfigurationManager可以方便的实现对配置app.config的读取和写入。ConfigurationManager默认没有自动载入项目,使用前必须手动添加,方法如下:项目->引用->添加引用->选择System.configuration1.使用ConfigurationManager读配置文件我们可以将简单的配置内容放到a转载 2012-06-14 14:15:01 · 537 阅读 · 0 评论 -
如何利用SendMessage实现C#进程间通信?
进程之间通讯的几种方法:在Windows程序中,各个进程之间常常需要交换数据,进行数据通讯。常用的方法有使用内存映射文件通过共享内存DLL共享内存使用SendMessage向另一进程发送WM_COPYDATA消息比起前两种的复杂实现来,WM_COPYDATA消息无疑是一种经济实惠的一中方法.(ZT)WM_COPYDATA消息的主要目的是允许在进程间传递只读数据。Wind转载 2012-06-13 13:35:35 · 467 阅读 · 0 评论 -
在C#隐藏主窗口的几种方法
写过一个程序,要求在程序启动的时候主窗口隐藏,只在系统托盘里显示一个图标。一直以来采用的方法都是设置窗口的ShowInTaskBar=false, WindowState=Minimized。但是偶然发现尽管这样的方法可以使主窗口隐藏不见,但是在用Alt+Tab的时候却可以看见这个程序的图标并把这个窗口显示出来。因此这种方法其实并不能满足要求。经过研究,又找到两个方法。方法一: 重转载 2012-06-13 10:47:39 · 450 阅读 · 0 评论 -
WebBrowser禁止右键
//禁用脚本错误等类似的窗口信息 this.webBrowser1.ScriptErrorsSuppressed = true; //禁用右键菜单 this.webBrowser1.IsWebBrowserContextMenuEnabled = false; //禁用键盘快捷键转载 2012-09-17 11:12:02 · 2990 阅读 · 0 评论