zlb

2011年3月28日

WPF 中使用Hook

摘要: public DocumentWindow() { InitializeComponent(); this.SourceInitialized += new EventHandler(OnSourceInitialized); } void OnSourceInitialized(object sender, EventArgs e) { HwndSource source = (HwndSour... 阅读全文

posted @ 2011-03-28 15:26 zlb 阅读(1461) 评论(0) 推荐(0) 编辑

ASP.Net DropDownList绑定树状结构

摘要: 获取父节点 开始调用 listSource 是List<> 数据集合 (有父子关系) foreach (ModelInfo Item in listSource) { if (Item.ParentID == 0) { ListItem li = new ListItem(); li.Text = Item.Item; li.Value = Item.ID.ToString(); YouDrop... 阅读全文

posted @ 2011-03-28 11:22 zlb 阅读(516) 评论(0) 推荐(0) 编辑

导航