码迷,mamicode.com
首页 > Windows程序
Windows Phone中扩展WebBrowser使其支持绑定html内容
在WP开发中,有时候会用到WebBrowser控件来展示一些html内容,这个控件有很多局限性,比如不支持绑定内容,这样的MVVM模式中就无法进行内容的绑定。为了实现这个目的,需要扩展一下,具体代码如下:/// /// 用于绑定WebBrowser控件的html内容 用法:ext:WebBr...
分类:Windows程序   时间:2014-10-28 23:38:06    阅读次数:294
WPF控件 在XP下获得焦点有虚线框
所有 Button、ListBox等控件获得焦点时有虚线框。如图:选中523这个按钮就出线虚框。 我在App.xaml中添加适应所有按钮的样式,无效 目前的解决方法只能在没有控件或控件样式 里添加代码: 稍微麻烦了点,谁有更好的方法? 本文来自星星工作室的博客,原文地址:http://w...
分类:Windows程序   时间:2014-10-28 23:33:51    阅读次数:373
C# 密封类使用sealed修饰
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace @sealed{ class Program { static void Main(str...
分类:Windows程序   时间:2014-10-28 23:28:36    阅读次数:273
wamp在win7-64位下Unable to load dynamic library php_c
wamp在win7-64位下Unable to load dynamic library php_curl.dll 网上很多资料都类似这个: PHP在Windows下启动时提示Unable to load dynamic library php_curl.dll问题解决 作者:朦朧中的罪惡 发布于:2012-3-...
分类:Windows程序   时间:2014-10-28 21:55:58    阅读次数:425
winform button设计(一)
对于winform的button设计来说,vs真心没有...
分类:Windows程序   时间:2014-10-28 21:41:29    阅读次数:414
C# 面向对象的base的使用
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplicationTest{ class Program { stati...
分类:Windows程序   时间:2014-10-28 21:34:07    阅读次数:178
WPF中的动画——(四)缓动函数
缓动函数可以通过一系列公式模拟一些物理效果,如实地弹跳或其行为如同在弹簧上一样。它们一般应用在From/To/By动画上,可以使得其动画更加平滑。 var widthAnimation = new DoubleAnimation(){From = 0,To = 320,Duration = Time...
分类:Windows程序   时间:2014-10-28 21:29:42    阅读次数:291
搭建自己的SIPserver:开源sipserveropensips的搭建及终端TwInkle的使用
先下载源代码:这里我下载的是1.8.2,由于这个是眼下的最稳定版本号,(尽管已经有1.9及2.0了)http://opensips.org/pub/opensips/1.8.2/src/opensips-1.8.2_src.tar.gz编译前须要安装例如以下软件:apt-get install pe...
分类:Windows程序   时间:2014-10-28 21:24:42    阅读次数:286
C# - is
?? Checks if an object is compatible with a given type. An is expression evaluates to true if the provided expression is non-null, and the provided object can be cast to the provided type without c...
分类:Windows程序   时间:2014-10-28 20:08:44    阅读次数:183
C# - as
?? You can use the as operator to perform certain types of conversions between compatible reference types or nullable types. The as operator is like a cast operation. However, if the conversion i...
分类:Windows程序   时间:2014-10-28 20:10:04    阅读次数:272
uestc 250 windy数 【数位dp】
题目:uestc 250 windy数 题意: windy定义了一种windy数。 不含前导零且相邻两个数字之差至少为2的正整数被称为windy数。 分析:首先定义dp【i】【j】:有 i 位最高位为 j 的出现次数。 首先通过暴力预处理出dp值来。 很明显其满足区间减法,通过求0---x的值通过区间减法求x---y 的。 那么假如我们要求0---257的, ...
分类:Windows程序   时间:2014-10-28 20:06:17    阅读次数:218
使用Autofac在ASP.NET Web API上实现依赖注入
在ASP.NET Web API里使用Autofac1.通过NuGet安装Autofac.WebApi(当时安装的是Autofac 3.1.0)PM > Install-Package Autofac.WebApi2.在App_Start文件夹下新建AutofacWebApiConfig类 publ...
分类:Windows程序   时间:2014-10-28 19:59:44    阅读次数:271
用C#将XML转换成JSON
本文旨在介绍如果通过C#将获取到的XML文档转换成对应的JSON格式字符串,然后将其输出到页面前端,以供JavaScript代码解析使用。或许你可以直接利用JavaScript代码通过Ajax的方式来读取XML,然后直接对其中的内容进行解析,这样或许更直接一些。但本文中给出的代码旨在说明如何通过.....
分类:Windows程序   时间:2014-10-28 19:40:02    阅读次数:354
Windows Mobile 6.0 SDK和中文模拟器下载
【转】 Windows Mobile 6.0 SDK和中文模拟器下载 Windows Mobile 6.5 模拟器2010年12月06日 星期一 07:48转载自 zhangyanle86终于编辑 zhangyanle86Windows Mobile 6.0 SDK和中文模拟器下载SDK 6.0下载...
分类:Windows程序   时间:2014-10-28 19:40:36    阅读次数:214
.Net与CTS,CLS,CIL,CLR和C#
解释.Net与CTS,CLS,CIL,CLR和C#
分类:Windows程序   时间:2014-10-28 19:35:27    阅读次数:273
在 Windows系统中编译node.js 源代码
Node.js在Windows下只能通过Microsoft Visual Studio编译,因此你需要首先安装VisualStudio或者免费的Visual Studio Express。你还需要安装Python 2(2.5以上的版本,但要小于3.0),可以在http://python.org/取得...
分类:Windows程序   时间:2014-10-28 19:36:13    阅读次数:238
Windows环境搭建Web自动化测试框架Watir(基于Ruby) 第1章
一、前言 Web自动化测试一直是一个比较迫切的问题,对于现在web开发的敏捷开发,却没有相对应的敏捷测试,故开此主题,一边研究,一边将Web自动化测试应用于工作中,进而形成能够独立成章的博文,希望能够为国内web自动化测试的发展做一点绵薄的贡献吧,笑~ 二、Watir搭建流程 图1-1 需要安装的工...
分类:Windows程序   时间:2014-10-28 19:33:33    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!