摘要: sing System;using System.Linq;using System.Runtime.InteropServices;namespace ConTest{ class Program { public EventHandler ContentViewActive = delegate { }; static void Main(string[] args) { Program p = new Program(); p.ContentViewActive += delegate { Console.WriteLine("Welcome"); Console.W 阅读全文
posted @ 2013-04-26 19:44 Predator 阅读(84) 评论(0) 推荐(0) 编辑
摘要: private static void ShowReverse(string t, int len) { int index = 0; int count = 0; string str = string.Empty; count = t.Length / len; for (int i = 0; i < len; i++) { str = string.Empty; index = i; for (int j = 0; j < count; j++) { str += t.Substring(index, 1); index += 5; } Console.WriteLine(s 阅读全文
posted @ 2013-04-26 19:43 Predator 阅读(192) 评论(0) 推荐(0) 编辑
摘要: <PlugIn name="CustomMyViewPad" autor="MrGan" url="http://www.baidu.com" description=""> <Manifest><Identity name=""/> </Mainifest> <Runtime> <Import assembly=":CustomMyViewPad"/> </Runtime> <Exte 阅读全文
posted @ 2013-04-26 19:42 Predator 阅读(169) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConTest{ class AccountEventArgs : EventArgs { private string name; public string Name { get { return name; } } public AccountEventArgs(string name) { this.name = name; } } class AccountItemEventArgs:AccountEv 阅读全文
posted @ 2013-04-26 19:39 Predator 阅读(102) 评论(0) 推荐(0) 编辑