惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
罗磊的独立博客
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Last Week in AI
Last Week in AI
美团技术团队
Google Online Security Blog
Google Online Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
月光博客
月光博客
L
LINUX DO - 最新话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
W
WeLiveSecurity
H
Heimdal Security Blog
Vercel News
Vercel News
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
A
About on SuperTechFans
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
WordPress大学
WordPress大学
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Help Net Security
Help Net Security
博客园_首页
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
Intezer
K
Kaspersky official blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
G
GRAHAM CLULEY
P
Palo Alto Networks Blog

博客园 - 云的恬淡,风的自由

现在我空仓!随时出击,不是现在,是在将来,要知什么时候,常来这里看看! 沪市,深市创近年来最大走跌幅 理解ASP.NET中的三层中的DAL、BLL和USL(转自51aspx) 隐藏的文件夹 基本应用程序的创建和部署 创建部署项目 汇编代码 照片尺寸 ASCII 基本字符对照表 button的command和click事件的区别 c#编写QQ群发器 datagridview分页时直接到指定页 世界各地域名后缀对照表 建立隐藏帐号 网络扫描器 端口服务对照表 GridView学习 csdn中的一些asp.net2.0好文章 Asp.net学习资源收藏
一个函数控制多个按纽的两种方法 - 云的恬淡,风的自由 - 博客园
云的恬淡,风的自由 · 2007-09-20 · via 博客园 - 云的恬淡,风的自由

1:onclick事件
    button1_click(sender,e)
{
        Button temp=(button)sender;
        switch(temp.id)
        {
            case"button1": 
            ///code;
            break;
            case"button2":
            //code;
            break;
            ....
            default:
                break;
        }
}
///////记得把各个button的onclick事件设成button1-click
2:oncommand事件
   button1-command(sender,e)
{
      switch(e.commandnam)
       {
            
            case"button1": 
            ///code;
            break;
            case"button2":
            //code;
            break;
            ....
            default:
                break;
        }

}
///////记得把各个button的oncommand事件设成button1_command