![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#技术
liaomu
这个作者很懒,什么都没留下…
展开
-
重载ProcessCmdKey实现回车转换焦点
protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Enter) { System.Windows.Forms.SendKeys.Send("{tab}");原创 2006-07-21 09:19:00 · 871 阅读 · 0 评论 -
取网络上SQL服务器列表(C#)
private void button1_Click_1(object sender, System.EventArgs e){string[] servers = DBGrep.SqlLocator.GetServers();foreach ( string s in servers ){this.listBox1.Items.Add(s); }}类:using System;using Sy原创 2006-07-21 09:28:00 · 661 阅读 · 0 评论