public class AESHelper { /// <summary> /// 获取密钥 /// </summary> private static string Key { get { return "abcdef1234567890"; ////必须是16位 } } //默认密钥向量 pr ...
分类:
其他好文 时间:
2016-07-12 21:11:55
阅读次数:
141
#region 写入文件 /// <summary> /// 写入文件 /// </summary> /// <param name="TXTName">文件名称</param> /// <param name="Message">写入内容</param> private static void W ...
分类:
其他好文 时间:
2016-07-12 21:00:49
阅读次数:
136
using UnityEngine;using System.Collections;using UnityEngine.UI;using System; /// <summary>/// 主界面场景选择切换/// /// 触摸让物体跟随手指手势转动,触摸停止后,物体都居中显示在屏幕上,3秒后让物体 ...
分类:
其他好文 时间:
2016-07-12 19:02:47
阅读次数:
152
/// <summary> /// 格式化输入文本框(只允许输入字母且每隔两个字符添加空格空位) /// </summary> public class FormatTextBox : RadTextBox { #region define、attribute /// <summary> /// 是 ...
分类:
其他好文 时间:
2016-07-12 13:42:38
阅读次数:
156
方式一:通过类构建 /// <summary> /// 链接 /// </summary> public class Link : WidgetBase { /// <summary> /// 链接名称 /// </summary> [Display(Name = "链接名称")] [Field(L ...
分类:
其他好文 时间:
2016-07-12 09:07:20
阅读次数:
141
一、面向对象最核心的机制——动态绑定,也叫多态 1.1.通过下面的例子理解动态绑定,即多态 1 package javastudy.summary; 2 3 class Animal { 4 /** 5 * 声明一个私有的成员变量name。 6 */ 7 private String name; 8 ...
分类:
其他好文 时间:
2016-07-12 00:02:30
阅读次数:
190
using System; using System.Collections.Generic; using System.Text; using System.Security.Cryptography; namespace AIMSCommon { /// <summary> /// 加密、解密帮 ...
分类:
其他好文 时间:
2016-07-11 19:07:56
阅读次数:
98
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Mail; namespace AIMSCommon { /// <summary> /// ...
分类:
其他好文 时间:
2016-07-11 18:58:11
阅读次数:
124
using System; using System.Collections.Generic; using System.Text; namespace AIMSCommon { /// <summary> /// Rmb 的摘要说明。 /// </summary> public class Rmb ...
分类:
其他好文 时间:
2016-07-11 16:53:55
阅读次数:
124
using System; using System.Collections.Generic; using System.Text; namespace AIMSCommon { public class Ctpin { #region 汉字转拼音(完全模式) /// <summary> /// 汉 ...
分类:
其他好文 时间:
2016-07-11 15:18:50
阅读次数:
185