码迷,mamicode.com
首页 > Windows程序
ArcGIS api fo silverlight学习一(silverlight加载GeoServer发布的WMS地图)
最好的学习资料ArcGIS api fo silverlight官网:http://help.arcgis.com/en/webapi/silverlight/samples/start.htm一、GeoServer环境搭建及数据发布参考:http://www.cnblogs.com/beniao/...
分类:Windows程序   时间:2015-05-19 18:35:48    阅读次数:618
在 C# 控制台中记录异常日志并输出
最近做了一个小程序,要求在控制台中记录程序运行的异常并输出到指定的文件夹中,以下是我的具体的程序代码: public static void ErrorLog(Exception ex) { string FilePath = "/ErrorLog.txt"; ...
分类:Windows程序   时间:2015-05-19 18:35:05    阅读次数:306
window.open完美代替window.showModalDialog
var url = "http//:www.baidu.com/" var name = "百度"; var iWidth = 1100;//弹窗宽度 var iHeight = 700; //弹窗高度 var iTop = (window.screen.availH...
分类:Windows程序   时间:2015-05-19 18:29:15    阅读次数:431
Window Position
IE, Safari, Opera, and Chrome all provide screenLeft and screenTop properties that indicate the window's location in relation to the left and top of.....
分类:Windows程序   时间:2015-05-19 18:25:51    阅读次数:210
C# Exception 对象的属性
关于 C# 中 Exception 对象的属性,在程序出现异常时,需要记录异常的信息,并把信息保存起来或输出,以方便准确定位异常的根源,以下是 Exception 对象的属性名称 说明公共属性 Data 获取一个提供用户定义的其他异常信息的键/值对的集合。公共属性 HelpLink 获取...
分类:Windows程序   时间:2015-05-19 18:19:59    阅读次数:247
C#操作xml SelectNodes,SelectSingleNode总是返回NULL 与 xPath 介绍
一. SelectNodes,SelectSingleNode总是返回NULL 下面以一个简单的xml为例: Invalid Login 下面尝试读取error节点的内容XmlNode errorNode = xmldoc.SelectSingleNode("/message/error"); .....
分类:Windows程序   时间:2015-05-19 18:17:58    阅读次数:230
Window Relationships and Frames
If a page contains frames, each frame has its own window object and is stored in the frames collection. Within the frames collection, the window obj.....
分类:Windows程序   时间:2015-05-19 18:17:32    阅读次数:196
WPF 快捷键统一管理 改进篇
感谢@zhoumy,提的建议。使用指定命名规则确实是个好方案!以下直接给出修改后的代码。如需查看前篇点击跳转1、修改后的规则实体 public class KeyboardShortcutsRule { public KeyboardShortcutsRule() ...
分类:Windows程序   时间:2015-05-19 18:11:12    阅读次数:166
一键GHOST优盘版安装XP/win7系统
系统的安装方法有各种各样,一键GHOST优盘版也是其中的一种系统安装方法,也是俗称的U盘系统安装。下面豆豆来详细介绍下使用一键GHOST优盘版系统安装方法。一、安装:所谓"优盘",本软件特指所有USB磁盘,包括普通U盘、读卡器+存储卡、移动硬盘等。安装步骤:1_初始化 (一般情况下,U盘出厂时已经做...
分类:Windows程序   时间:2015-05-19 18:08:56    阅读次数:324
一键清理Windows垃圾的BAT文件代码
@echo off color 0atitle win7一键清理系统垃圾echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★echo.★☆ ☆★echo.★☆ ☆★echo.★☆ 清理系统垃圾文件,请稍等.....
分类:Windows程序   时间:2015-05-19 18:09:12    阅读次数:187
windows 缓冲区溢出漏洞-不安全函数
#include<stdio.h> //#definesz1"hello" intmain(intargc,char*argv[]) { //charsz1[8]="hello"; //constchar*sz1="hello"; charsz1[8]; charsz2[8]; memset(sz1,0x00,sizeof(sz1)); strcpy(sz1,"hello"); printf("sz1=[%s]\n",sz1); while(1) { memset(sz2,0x00,sizeof(..
分类:Windows程序   时间:2015-05-19 16:56:04    阅读次数:230
在Windows上使用Eclipse配置Hadoop MapReduce开发环境
在Windows上使用Eclipse配置Hadoop MapReduce开发环境1. 系统环境及所需文件 windows 8.1 64bit Eclipse (Version: Luna Release 4.4.0) hadoop-eclipse-plugin-2.7.0.jar hadoop.dll & winutils.exe 2. 修改Master节点的hdfs-site.xml添加如下内容<...
分类:Windows程序   时间:2015-05-19 16:36:38    阅读次数:294
windows服务定时任务
public partial class TimerByThread : ServiceBase { public TimerByThread() { InitializeComponent(); } Thread...
分类:Windows程序   时间:2015-05-19 16:26:25    阅读次数:182
C#实现仿QQ震动
前提:新建winForm窗体应用程序,放置一个Button,设置按钮的单击事件1 for (int i = 0; i < 3; i++)2 {3 Point p = this.FindForm().Location;4 ...
分类:Windows程序   时间:2015-05-19 16:24:26    阅读次数:133
Delphi Json
superobject.pas单元对json的解析非常方便, 力荐procedure TForm1.btn1Click(Sender: TObject);var s:String; i: Integer; jfields,jitems,jo:ISuperObject;begin jitems...
分类:Windows程序   时间:2015-05-19 16:21:56    阅读次数:217
C# == 和equals()区别
如以下代码:?12345intage = 25;shortnewAge = 25;Console.WriteLine(age == newAge); //trueConsole.WriteLine(newAge.Equals(age)); //falseConsole.ReadLine(); A.....
分类:Windows程序   时间:2015-05-19 16:21:47    阅读次数:197
C# 利用BarcodeLib.dll生成条形码(一维,zxing,QrCodeNet/dll二维码)
原文:http://blog.csdn.net/kongwei521/article/details/17588825首先效果:1:首先下载BarcodeLib.dll 下载地址 http://pan.baidu.com/share/link?shareid=2590968386&uk=214889...
分类:Windows程序   时间:2015-05-19 16:18:53    阅读次数:306
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!