MVP? MVP!

i love C#
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

09 2008 档案

摘要:List aa = new List(new string[] { "a", "b", "c", "d" }); List bb = new List(new string[] { "a", "c" });目的:判断一个数组中的每个值是否都存在于另一个数组中.例: bool ret=bb.TrueForAll(delegate(string s) { return aa.Cont... 阅读全文

posted @ 2008-09-24 16:37 renhb 阅读(521) 评论(2) 推荐(0)

摘要:delegate\event的方法:类X:using System;using System.Collections.Generic;using System.Windows.Forms;using System.Text;namespace WindowsFormsApplication1{ public class ClassX { public delegate v... 阅读全文

posted @ 2008-09-20 12:01 renhb 阅读(171) 评论(0) 推荐(0)

摘要:System.Diagnostics.Process.Start(@"D:\晓娜\Storm.exe", @"D:\晓娜\111.mp3"); 阅读全文

posted @ 2008-09-18 10:53 renhb 阅读(570) 评论(0) 推荐(0)

摘要:Process p = new Process(); p.StartInfo.FileName = @"C:\windows\system32\command.com"; p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardInput = true; ... 阅读全文

posted @ 2008-09-18 10:50 renhb 阅读(285) 评论(0) 推荐(0)

摘要:using System;using System.Drawing;using System.Web.UI;using Dundas.Charting.WebControl; namespace Web{ public partial class WebForm1 : Page { private void Page_Load(object sender, EventA... 阅读全文

posted @ 2008-09-04 15:37 renhb 阅读(356) 评论(0) 推荐(0)

摘要:foreach (SortType s in System.Enum.GetValues(typeof(SortType))) { this.sort.Items.Add(new ListItem(s.ToString(), ((int)s).ToString())); } 阅读全文

posted @ 2008-09-03 17:19 renhb 阅读(176) 评论(0) 推荐(0)