06 2014 档案
摘要:.NET技术交流群 199281001 .欢迎加入。using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Security.Permissions; using System.Text; u...
阅读全文
摘要:CentOS Repositories https://centos.pkgs.org/ 1.防火墙开放端口 1.1 开启端口 # firewall-cmd --zone=public --add-port=80/tcp --permanent 1.2 删除开启端口 # firewall-cmd -
阅读全文
摘要:如果在这时就进行配置安装Mono的话,会在make阶段得到一个“找不到 Microsoft.Portable.Common.targets 文件”的错误提示,所以需要先进行如下处理:#> cd (mono安装路径的前缀)/mono-3.4.0/mcs/tools/xbuild/targets#> c...
阅读全文
摘要:http://www.linuxdot.net/bbsfile-3500
阅读全文
摘要:1. 服务端返回数据给客户端报错 在客户端配置文件中,主要是配置maxReceivedMessageSize 2. 客户端传数据给服务端报错 修改服务端web.config,主要也是配置maxReceivedMessageSize 要修改所有的服务,不管是服务端还是客户端,Binding那边增加一个
阅读全文
摘要:http://download.mono-project.com/sources/mono/
阅读全文
摘要:http://www.cnblogs.com/shanyou/archive/2012/01/07/2315982.htmlshanyou 博客
阅读全文
摘要:1 // 纯JS省市区三级联动 2 // 2011-11-30 by http://www.cnblogs.com/zjfree 3 var addressInit = function (_cmbProvince, _cmbCity, _cmbArea, defaultProvince, ...
阅读全文
摘要:List ipList = new List(); foreach (IPAddress _IPAddress in Dns.GetHostEntry(Dns.GetHostName()).AddressList) { ...
阅读全文
摘要:/// /// 复制或剪切文件到剪切板 /// /// 文件路径数组 /// true:剪切;false:复制 public static void CopyToClipboard(string[] f...
阅读全文
摘要:Action a = () => { i += 1; var timer = new System.Timers.Timer(800) { Interval = 600 }; ...
阅读全文
摘要:/// /// 设置鼠标的坐标 /// /// 横坐标 /// 纵坐标 [DllImport("User32")] public extern stat...
阅读全文
摘要:1 user32.dll中的所有函数 2 3 4 5 6 using System; 7 using System.Collections.Generic; 8 using System.Linq; 9 using System.Text; ...
阅读全文
摘要:1 using System; 2 using System.IO; 3 using System.Net; 4 using System.Text; 5 using System.Web.Script.Serialization; 6 7 namespace IpUtils 8 { 9 ...
阅读全文
摘要:1 //开启线程加载 2 Action a = () => 3 { 4 var row = 7; 5 var column = 9; 6 7 var p...
阅读全文
摘要:1 using System; 2 using System.IO; 3 using System.Collections.Generic; 4 using System.Windows; 5 using System.Windows.Controls; 6 using System....
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Common 7 { 8 //Author:GaoBin...
阅读全文
摘要:.NET技术交流群 199281001 .欢迎加入。1.配置类1 public class Log4NetConfig2 {3 public static string SqlServer = "ADONetAppender_SqlServer";4 public static st...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Runtime.InteropServices; 5 using System.Text; 6 using S...
阅读全文
摘要:.NET技术交流群 199281001 .欢迎加入。 1 //自定义窗体拉伸 2 3 public HwndSource _HwndkaifaSource; 4 private const int WM_SYSCOMMAND = 0x112; 5 ...
阅读全文
摘要:直接上代码。 Point brp = SystemParameters.WorkArea.BottomRight;//当前桌面右下角的位置
阅读全文
摘要:1 private const int SC_SCREENSAVE = 0xF140;2 private const int WM_QUERYENDSESSION = 0x0011;3 private bool IsScreenSave = false;4 ...
阅读全文