地址:http://www.tracefact.net/CSharp-Programming/Delegates-and-Events-in-CSharp.aspx
Part One-Add:Step4: Add the new service to windows service:$commandLine = 'D:\IMS\2.16.0.42-DataServices\Service\Eze.Shell.exe -r=ziyezhang_22'New-Ser...
之前用的win7,安装虚机没遇到这问题,换了win8.1后,再安装虚机,就会出现下面的错误。没办法,还是记录一下吧。Error:This product may not be installed on a comuputer that has Microsoft HyperV installed在w...
一、开发ActiveX控件1、新建类库,命名类库名称“user.cs”;2、在类库中添加自定义用户控件“UserControl1”,实现各种自定义功能;3、为了解决浏览器安全设置对控件的影响,必须在组件中加入IObjectSafety接口,所以再添加一个接口类“IObjectSafety.cs”us...
Vici WinService是是Windows平台下使用C#开发的轻量级用于创建,删除服务的类库,您只需简单的几行代码即可实现多线程异步服务的创建,删除,运行废话不多说,直接上代码/**********************************************************...
代码编辑器或者文本编辑器,对于程序员来说,就像剑与战士一样,谁都想拥有一把可以随心驾驭且锋利无比的宝剑,而每一位程序员,同样会去追求最适合自己的强大、灵活的编辑器,相信你和我一样,都不会例外。我用过的编辑器不少,真不少~但却没有哪款让我特别心仪的,直到我遇到了SublimeText2!如果说“神器”...
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication1
{
classProgram
{
staticvoidMain(string[]args)
{
intvar=1;
if(var==1)
{
Console.WriteLine("var=1");
}
elseif(var==2)
{..
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication1
{
classProgram
{
staticvoidMain(string[]args)
{
ushortdestinationVar;
ushortdestinationVar2;
charSourceVar=‘a‘;
desti..
windows8.1左下角,右键功能失效win+x快捷键失效解决方法如下:1.C:\Users\用户\AppData\Local\Microsoft\Windows目录下的WinX目录是否为隐藏目录,如是隐藏目录操作如下:右键WinX目录--->属性确定WinX目录不是隐藏目录后重启系统,然后再进行测试是否恢复,如还是无法恢复..
前言由于服务器安全问题,防止别人暴力破解,同时也为了让管理员免除记录多个复杂的密码,所以使用证书登录服务器愈来愈显的重要。首先下载puttygen.exe。运行点击generyte生成一对秘钥把publickey复制保存为一个名为authorized_keys的文件保存私钥,命名为*.ppk结尾创建一个普..
制定一个脚本使其可以固定时间结束某个window的进程。脚本内容如下:(需结合计划任务)注意:此脚本要放在你要结束的软件的进程的安装目录里面。例如:我要结束etermproxy软件的进程,就要把此脚本放在此软件安装目录下。不然在执行startetermproxy.exe命令的时候会提示找不到..
本次实验要演示的是强制卸载域控制器并且在其他域控制器上删除不需要的服务器对象,这种情况在现实的生产使用环境中经常使用,每个企业每年都会有增减域控制器的时候,而且在减少了域控制器之后,原本的域还会继续使用,这样就需要在其他域控制器删除不需要的服务器对象。首先..
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication1
{
classProgram
{
staticvoidMain(string[]args)
{
//string类型变量可以看作只读数组
stringmyString="AString";
charmyCha..
签名指的是返回值和参数。比如 :public void A ( int p1,int p2){}public void B ( int q1,int q2){}的签名相同。而public int C (int m1,int m2){}则和方法A签名不同,因为C的返回值为int
作为一名死coder,每天最常见的动作就是查看各种API文档,你一定也有过同时打开N个窗口(HTML、PDF、CHM),不停的在编辑器与文档之间切换的感受吧?怎么说呢,其实我很讨厌这种枯燥无味的动作,那么如何才能提高效率,减少无用功呢?下面就给大家介绍一款非常好用的Mac小工具:Dash,相比这个英...
RAR registration data
Federal Agency for Education
1000000 PC usage license
UID=b621cca9a84bc5deffbf
6412612250ffbf533df6db2dfe8ccc3aae5362c06d54762105357d
5e3b1489e751c76bf6e0640001014be50a52303...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
...