上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 63 下一页
摘要: namespace ConTest{ class DataSeries { public double[] Datas { get; set; } public DataSeries(int len) { this.Datas = new double[len]; } public DataSeries() { this.Datas = new double[0] { }; } }} 阅读全文
posted @ 2013-05-22 21:07 Predator 阅读(156) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConTest{ class Teacher { private Dictionary<string, Student> students = new Dictionary<string, Student>(); public Student this[string name] { get { return students[name]; } set { students[name] = 阅读全文
posted @ 2013-05-22 21:06 Predator 阅读(237) 评论(0) 推荐(0) 编辑
摘要: MouseDownFilter mouseFilter = new MouseDownFilter(); Application.AddMessageFilter(mouseFilter); class MouseDownFilter:IMessageFilter { public bool PreFilterMessage(ref Message m) { if (m.Msg==0x201) { return true; } else { return false; } } } 阅读全文
posted @ 2013-05-14 19:35 Predator 阅读(116) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConTest{ class Pan { public string Name { get; set; } public double Price { get; set; } public int Total { get; set; } /// <summary> /// 深圳平底锅的价格信息 /// </summary> public static Pan SZ { get { retu 阅读全文
posted @ 2013-05-14 19:34 Predator 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 63 下一页