码迷,mamicode.com
首页 > Windows程序 > 周排行
C#操作符??和?:
string strParam = Request.Params["param"];if ( strParam== null ){ strParam= "";}string strParam= Request.Params["param"] == null ? "": Request.Para...
分类:Windows程序   时间:2015-09-26 23:56:09    阅读次数:268
C# EPL USB 指令打印
private void btnPrinter_Click(object sender, EventArgs e) { #region ESC 热敏图像点阵像素点读取打印 //Bitmap bitmap = new Bitmap...
分类:Windows程序   时间:2015-09-28 13:03:36    阅读次数:1051
开心网的账号登录及api操作
1.kaixin.phpclient_id=$client_id; $this->client_secret=$client_secret; $this->access_token=$access_token; } function login_url($c...
分类:Windows程序   时间:2015-09-28 16:05:23    阅读次数:323
Windows Server 笔记(六):Active Directory域服务:域信任
域使一个安全边界,在有些情况下,我们需要越过这个边界,那么这个时候,我们就需要使用域信任了。举个例子,有两个域,nswl.local和xuelan.local这两个域,如果当nswl.local域的用户需要访问xuelan.local域中的资源,或xualan.local域中账户需要在nswl.local的域中进行账户验..
分类:Windows程序   时间:2015-09-29 14:54:18    阅读次数:343
C#获取枚举描述代码
public class MusterEnum { /// 获取枚举的描述信息 /// /// 传入枚举对象 /// 得到对应描述信息 public String GetEnumDesc(Enum e) { ...
分类:Windows程序   时间:2015-09-29 18:31:43    阅读次数:226
win7下硬盘安装ubuntu13.10(一定能成功安装)
安装前的准备 ? 右键‘我的电脑’点击‘管理’,选择磁盘管理。 先看下我安装ubuntu后的磁盘分区图(红色文字先不管它) 下面就开始安装前配置 最好在windows分区的最后一个分区压缩出空白区域用于安装ubuntu,这...
分类:Windows程序   时间:2015-09-30 14:53:50    阅读次数:288
VS2013创建Windows服务
一、创建服务1、文件-》新建-》项目-》windows桌面-》windows服务,修改你要的项目名称。我这不改名,仍叫WindowsService1,确定。2、其中的Program.cs文件是入口,Service1.cs是服务文件,所有的逻辑都在这。Service1.cs包含两部分,一部分是Desi...
分类:Windows程序   时间:2015-09-30 15:57:47    阅读次数:276
zw版【转发·台湾nvp系列Delphi例程】HALCON ClipRegion
zw版【转发·台湾nvp系列Delphi例程】HALCON ClipRegionprocedure TForm1.Button1Click(Sender: TObject);var img : HImageX; w, h : OleVariant; rg : HRegionX;begin i...
分类:Windows程序   时间:2015-10-01 15:20:17    阅读次数:231
zw版【转发·台湾nvp系列Delphi例程】HALCON FastThreshold2
zw版【转发·台湾nvp系列Delphi例程】HALCON FastThreshold2 FastThreshold_Delphi_2.PNG procedure TForm1.Button1Click(Sender: TObject);var op : HOperatorSetX; img :.....
分类:Windows程序   时间:2015-10-01 16:30:07    阅读次数:239
zw版【转发·台湾nvp系列Delphi例程】HALCON SetComprise1
zw版【转发·台湾nvp系列Delphi例程】HALCON SetComprise1procedure TForm1.Button1Click(Sender: TObject);var image0, image1 : HImageX; w, h : OleVariant;begin imag...
分类:Windows程序   时间:2015-10-01 16:35:00    阅读次数:225
zw版【转发·台湾nvp系列Delphi例程】HALCON color_fuses1
zw版【转发·台湾nvp系列Delphi例程】HALCON color_fuses1procedure TForm1.Button1Click(Sender: TObject);var w, h : OleVariant; hv_Fuse, hv_i : Integer;begin Op.Re...
分类:Windows程序   时间:2015-10-01 17:48:54    阅读次数:301
zw版【转发·台湾nvp系列Delphi例程】HALCON HImage与Bitmap格式转换
zw版【转发·台湾nvp系列Delphi例程】HALCON HImage与Bitmap格式转换 (Delphi Prism)namespace HImage_Bitmap_Prism;interfaceuses System.Drawing, System.Collections, Syste...
分类:Windows程序   时间:2015-10-01 20:32:58    阅读次数:612
C#后台程序重启IIS,发邮件通知
应用场景:IIS网站挂掉,系统自动重启IIS,通知相关联系人;主要代码:监控类public class monitoringiis { EmailSend send = new EmailSend(); public void MonitoringISSAppPoo...
分类:Windows程序   时间:2015-10-02 12:29:01    阅读次数:205
VIM在Win7上的安装教程
1.下载 目前VIM在其官网上的最新版本为7.4,Windows版本名称为GVIM,在百度软件中可以下载GVIM的最新版本,建议在百度上下载,因为比较快。在百度上搜索"GVIM"就可以找到下载链接。下图为VIM官网下载方法。2.安装 GVIM的安装十分简单,点next就可以了。3.设置 安装完...
分类:Windows程序   时间:2015-10-02 18:44:11    阅读次数:306
关于uefi的机器win8下安装CentOS双系统
在老机器上win7上装过ubuntu,可以直接用easyBCD,无需U盘,顺利S装上。这次在win8下无法使用easyBCD,上网搜索,搜到需要用rEFInd这个软件。安装方法:下载地址:http://refit.sourceforge.net/#downloadwindows下安装下载压缩包后解压...
分类:Windows程序   时间:2015-10-02 23:50:19    阅读次数:1380
nginx for windows中的一项缺陷
按照官网上的说法,使用 start nginx 启动 nginx,使用 nginx -s quit 可以优雅地退出。经实验,使用 start nginx 之后,会启动两个 nginx 的进程,据官网上说,一个是控制进程,一个是工作进程(One of the processes is the mast...
分类:Windows程序   时间:2015-10-04 15:51:42    阅读次数:267
Operating System: Three Easy Pieces --- API (Note)
Aside: RTFM --- Read The Man PagesMany times in this book, when referring to a particular system call or library call, we willtell you to read the man...
分类:Windows程序   时间:2015-10-05 12:51:37    阅读次数:200
C#--readlyonly关键字
字段可以使用readyonly修饰符声明。其作用类似声明一个字段为const,一旦值被设定就不能改变。const字段只能在字段的声明语句中初始化,而readyonly字段可以在下列任何位置设置它的值字段声明语句,如同const;类的任何构造函数,如果是static字段,初始化必须在static构造函...
分类:Windows程序   时间:2015-10-05 12:56:03    阅读次数:205
Step-By-Step Installation of RAC with RAW Datafiles on Windows 2000
??Step-By-Step Installation of RAC with RAW Datafiles on Windows 2000PurposeThis document will provide the reader with step-by-step instructions on ho...
分类:Windows程序   时间:2015-10-05 18:10:36    阅读次数:429
c# 中virtual与abstract
在C#的学习中,容易混淆virtual方法和abstract方法的使用,现在来讨论一下二者的区别。二者都牵涉到在派生类中与override的配合使用。一、Virtual方法(虚方法) virtual 关键字用于在基类中修饰方法。virtual的使用会有两种情况: 情况1:在基类中定义了virtual...
分类:Windows程序   时间:2015-10-06 15:17:15    阅读次数:216
86459条   上一页 1 ... 62 63 64 65 66 67 68 ... 4323 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!