2个半小时弄懂了自定义控件是怎么回事儿。在silverlight中创建一个UserControl,把上面sliderbar的外观和功能都封装在里面。以自定义控件mapslider控件为例:1、首先在sl工程中新建sl用户控件(silverlight user control)2、在.xaml中设计好...
分类:
Web程序 时间:
2015-07-08 18:24:19
阅读次数:
180
static void Main(string[] args) { SortedList sl = new SortedList(); sl.Add("001", "Zara Ali"); sl.Add("002", "Abida Rehma...
分类:
编程语言 时间:
2015-06-29 20:12:41
阅读次数:
175
头文件:
#include
using namespace std;
#define MAX 10
typedef struct
{
int r[MAX+1];
}Sqlist;
// 比较大小并插入
void InsertSort(Sqlist &sl, int n)
{
int j;
for (int i = 2; i < 7; ++i)
{
if (sl.r[i...
分类:
编程语言 时间:
2015-06-23 20:06:28
阅读次数:
403
首先引入jquery.sl-error-verifycode { background-image: url("images/icons.png"); background-position: -26px 0; background-repeat: no-repeat; display: block...
分类:
Web程序 时间:
2015-06-22 22:17:29
阅读次数:
248
源:Atmega162串行外设接口SPI一、Atmega162的SPI接口基本概念与工作原理SPI接口的全称是"Serial Peripheral Interface",意为串行外围接口。SPI主要使用4个信号:MOSI(master in slave out)、MISO(master out sl...
分类:
其他好文 时间:
2015-06-16 12:31:49
阅读次数:
565
http://docs.unity3d.com/460/Documentation/Manual/SL-BuiltinValues.htmlhttp://docs.unity3d.com/Manual/SL-BuiltinMacros.htmlhttp://docs.unity3d.com/Manu...
分类:
编程语言 时间:
2015-06-11 16:45:17
阅读次数:
126
在SL项目中 做复选框 我的做法是通过DataGrid或者ListBox 配合CheckBox 绑定数据源生成ListBoxItem数据源是用ADO.NET EF6.0生成的实体模型然后就遇到了一个SL3的时候就存在的BUG当ListBox中的项太多,控件自动会添加滚动条,这时候随便拖动滚动条以后就...
分类:
Web程序 时间:
2015-06-04 13:18:49
阅读次数:
166
//部分方法只适用于WPF,在SL中不能用using System.Windows.Media;1、String转换成Color Color color = (Color)ColorConverter.ConvertFromString(string);2、String转换成Brush BrushC...
p221.8 1 #include 2 #include 3 #include 4 using namespace std; 5 const int SLEN = 30; 6 struct student{ 7 char fullname[SLEN]; 8 char hobby[SL...
分类:
编程语言 时间:
2015-05-26 18:20:17
阅读次数:
132
ssh:secureshell,应用层协议,tcp,22端口通信过程及认证过程是加密的,还能实现主机认证主机密钥:非对称加密:secretkeypublickey密钥交换使用对称密钥传输数据认证过程:基于口令认证基于密钥认证linux:openSSHC/Sl架构服务商:sshd,配置文件/etc/sshd_config客户端:ssh,配..
分类:
其他好文 时间:
2015-05-22 19:23:29
阅读次数:
142