摘要: 第一步:设置基本配置AppID:app_idAppSecret:app_secret用户ID:user_id设备ID:device_id第二步:创建WebSokect服务,取得session_id(SessionID)第三部:更新用户(SessionID)信息#msim-search 搜索#temp 阅读全文
posted @ 2018-04-20 10:28 microsoftzhcn 阅读(326) 评论(0) 推荐(0) 编辑
摘要: public void OpenTabTip(){ bool bt = true; Process[] processes = Process.GetProcesses(); foreach (Process p in processes) { //if (p.ProcessName.ToLower 阅读全文
posted @ 2018-04-20 10:24 microsoftzhcn 阅读(278) 评论(0) 推荐(0) 编辑
摘要: using System;using System.ServiceProcess;namespace GoShopService{ public partial class Service1 : ServiceBase { protected override void OnStart(string 阅读全文
posted @ 2018-04-20 10:23 microsoftzhcn 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ServiceProcess;using System.Configuration.Install;static class Program{ /// <summary> /// 应 阅读全文
posted @ 2018-04-20 10:21 microsoftzhcn 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: mydic_ShuiFei = new Dictionary<string, string>() { {"00000336","南京市自来水公司"} };cboxJFDW.ItemsSource = mydic_ShuiFei; cboxJFDW.SelectedValuePath = "Key"; 阅读全文
posted @ 2018-04-20 10:21 microsoftzhcn 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 方法一:xaml中:<控件> <控件.Background><ImageBrush ImageSource="/程序集;component/images/xxx.jpg"/></控件.Background></控件> 方法二:xx.cs中:ImageBrush ib = new ImageBrush 阅读全文
posted @ 2018-04-20 10:19 microsoftzhcn 阅读(2206) 评论(0) 推荐(0) 编辑
摘要: 前台新建一个控件ProgressBar控件,并命名为pbDown WebRequest request = WebRequest.Create("http://files.cnblogs.com/fornet/404.rar"); WebResponse respone = request.GetR 阅读全文
posted @ 2018-04-20 10:19 microsoftzhcn 阅读(3126) 评论(0) 推荐(0) 编辑
摘要: 头部调用程序集xmlns:sys="clr-namespace:System;assembly=mscorlib"<Window.Resources><!--定义一个字符串资源--><sys:String x:Key="nameStr"> 字符串</sys:String></Window.Resou 阅读全文
posted @ 2018-04-20 10:18 microsoftzhcn 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 方式一、Window.Resources<Window.Resources> <Style TargetType="控件类型" x:Key="样式名"> <Setter Property="属性名" Value="属性值"/> </Style> 例如: <Style TargetType="Butt 阅读全文
posted @ 2018-04-20 10:17 microsoftzhcn 阅读(825) 评论(0) 推荐(0) 编辑
摘要: 添加script标签 var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?e72ef138e02a09642f378f0fe01 阅读全文
posted @ 2018-04-20 10:07 microsoftzhcn 阅读(1185) 评论(0) 推荐(0) 编辑