Define Proper ClassApplication ArchitectureDefine the components appropriately for the application and create project for each one.What is Class?3 Thi...
分类:
Windows开发 时间:
2016-01-05 20:29:27
收藏:
0 评论:
0 赞:
0 阅读:
232
C#托付。我看了非常长时间的资料和帖子,曾经对托付的理解就是托付事实上就是将一个方法作为參数传递给第一个方法。如今对托付的认识则变了一些的,托付能够实现: 1.在两个不能直接调用的方法之间做为桥梁 2.当不知详细实现什么的时...
分类:
Windows开发 时间:
2016-01-05 20:21:07
收藏:
0 评论:
0 赞:
0 阅读:
206
curl -i \ -H "Content-Type: application/json" \ -d '{ "auth": { "identity": { "methods": ["password"], "password": { "user": { "name": "demo", "domain...
分类:
Windows开发 时间:
2016-01-05 18:46:57
收藏:
0 评论:
0 赞:
0 阅读:
238
在excel中,工作表是工作薄的组成部分,一个工作薄可以由一个或多个工作表组成,一个工作薄也可以说是一个excel文档,正因为如此,excel工作表的复制也就分为两种类型:在同一文档之内复制和在不同文档之间复制。本文主要介绍如何用C#在同一文档内或不同文档间原样复制excel工作表(包括数据、图片和...
分类:
Windows开发 时间:
2016-01-05 18:34:27
收藏:
0 评论:
0 赞:
0 阅读:
611
Today, I want to install a Genghis server on my windows server, and I thought it would be easy. (Indeed, it is easy), but a little bit tricky.1. Downl...
分类:
Windows开发 时间:
2016-01-05 18:32:07
收藏:
0 评论:
0 赞:
0 阅读:
233
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 const string printerName = "Print to file"; 6 ...
分类:
Windows开发 时间:
2016-01-05 18:29:27
收藏:
0 评论:
0 赞:
0 阅读:
297
方法一:使用线程互斥变量. 通过定义互斥变量来判断是否已运行实例.把program.cs文件里的Main()函数改为如下代码:说明:程序中通过语句 System.Threading.Mutex run = new System.Threading.Mutex(true, "single_test",...
分类:
Windows开发 时间:
2016-01-05 18:13:47
收藏:
0 评论:
0 赞:
0 阅读:
208
下面给大家分享一种通过 DataGridRowHeader 自动生成 DataGrid 数据行行号的方式。只需一个 ValueConverter 就能搞定。值转换器 1 class AutoNumberValueConverter : IMultiValueConverter 2 ...
分类:
Windows开发 时间:
2016-01-05 18:07:47
收藏:
0 评论:
0 赞:
0 阅读:
337
两种php发信方式在许多php程序中通常都需要发邮件比如discuz需要选择sendmail发信,wordpress评论回复需要发信,然而发送邮件则有两种不同的方式。一是直接通过php中的mail()函数进行发信,而则是通过写一些程序来通过stmp服务来进行发信。前者需要程序所在服务器的支持,通常l..
分类:
Windows开发 时间:
2016-01-05 15:42:27
收藏:
0 评论:
0 赞:
0 阅读:
294
环境介绍:Cisco2960x-24TS-L2台DellR720(Broadcom网卡)2台操作系统WindowsServer2008R2配置部分:Cisco交换机堆叠:堆叠1:
switch1priority15
copyrunstartup-config
reloadslot1
堆叠2:
switch1renumber2
switch1priority15
copyrunstartup-config
reloadslot1
连接堆叠线缆(Sta..
分类:
Windows开发 时间:
2016-01-05 15:38:57
收藏:
0 评论:
0 赞:
0 阅读:
636
1zabbix支持自定义脚本的功能,对于windows,除了有限的perfcounter,我们还可以请教bat大神监控windows的自定义参数,之前有位网友正好用了bat,出了些问题,发现网上的内容很少,我就把这个博客当做记录。2zabbix自定义脚本的步骤想必大家已经熟悉,按部就班来做吧2.1写自定..
分类:
Windows开发 时间:
2016-01-05 15:37:37
收藏:
0 评论:
0 赞:
0 阅读:
1091
效果:代码:/// /// 格式化数据/// private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e){ if (e.ColumnIndex == 3 ) //...
分类:
Windows开发 时间:
2016-01-05 15:34:07
收藏:
0 评论:
0 赞:
0 阅读:
504
看了苹果消息推送文档,感觉推送很简单的,但是还是按个人习惯把这些简单知识记录下来,在需要时候再查看一下! 在开发之前,要准备以下的资料 1、证书(包括产生证书和调试证书) 2、证书密码 3、唯一标识(手机同意接收消息推送之后,苹果服务端会生成一个唯一标识给客户) ...
分类:
Windows开发 时间:
2016-01-05 15:24:57
收藏:
0 评论:
0 赞:
0 阅读:
221
实现功能: datatable绑定comboBox,在下拉菜单中显示对应数据实现方法: //dataSet 转 dataTable 1、生成datatable,并为combox绑定数据源: comboBox1.DataSource = dt1; ...
分类:
Windows开发 时间:
2016-01-05 15:23:07
收藏:
0 评论:
0 赞:
0 阅读:
341
#if($GoodsData.Count==0) #else #foreach($goods in $GoodsData) #end ...
分类:
Windows开发 时间:
2016-01-05 15:17:57
收藏:
0 评论:
0 赞:
0 阅读:
176
远程连接Linux云服务器-命令行模式1、远程连接工具。目前Linux远程连接工具有很多种,您可以选择顺手的工具使用。下面使用的是名为Putty(putty.rar)的Linux远程连接工具。该工具是免费的,且不需要安装,在网上方便地下载到。2、启动Putty.exe程序,进入Putty主界面。在P...
分类:
Windows开发 时间:
2016-01-05 15:14:36
收藏:
0 评论:
0 赞:
0 阅读:
725
HANDLE hWndTaskBar = ::FindWindow(TEXT("HHTaskBar"), NULL);if(::IsWindowVisible(hWndTaskBar )==FALSE){ //假设任务栏隐藏,就把任务栏显示出来 ::ShowWindow(hWndTaskBar , ...
分类:
Windows开发 时间:
2016-01-05 15:06:47
收藏:
0 评论:
0 赞:
0 阅读:
240
几个经常用到的字符串的截取string str="123abc456";int i=3;1 取字符串的前i个字符 str=str.Substring(0,i); // or str=str.Remove(i,str.Length-i);2 去掉字符串的前i个字符: str=str.Remove(0,...
分类:
Windows开发 时间:
2016-01-05 13:57:26
收藏:
0 评论:
0 赞:
0 阅读:
180
安装了vs2015想试试传说中的asp.net5,结果建立web application时遇到DNXSDK版本“dnx-clr-win-x86.1.0.0-beta5”无法安装”错误,解决办法如下1,运行CMD@powershell -NoProfile -ExecutionPolicyunrest...
分类:
Windows开发 时间:
2016-01-05 13:56:16
收藏:
0 评论:
0 赞:
0 阅读:
395
继昨晚之后,决定更新系统自带的svn。自带的svn版本是1.7,看官网svn:http://www.wandisco.com/subversion/download#osx 最新版本是1.9.13,决定升级下。没想到因为EI Capitan SIP的问题折腾了好大一会。本来不想记录的,但因为SIP这个蛋疼的玩意决定还是记录下。步骤如下:1,which svn找到系统自带的svn路径,应该在/usr...
分类:
Windows开发 时间:
2016-01-05 12:45:37
收藏:
0 评论:
0 赞:
0 阅读:
416