zoukankan      html  css  js  c++  java
  • ComboBox.DoubleClick事件

    先在窗口中加个Timer,

    private void Form1_Load(object sender, System.EventArgs e)
            
    {
                
    this.timer1.Interval = SystemInformation.DoubleClickTime;

            }
    private void timer1_Tick(object sender, System.EventArgs e)
            
    {
                
    this.timer1.Enabled = false;
            }
    private void comboBox1_Click(object sender, System.EventArgs e)
            
    {
                
    if(this.timer1.Enabled)
                
    {
                    MessageBox.Show(
    "hell");
                }

                
    else
                
    {
                    
    this.timer1.Start();
                }

            
            }
  • 相关阅读:
    Annotation
    injector
    Java容器(container)
    build tool(构建工具)maven和gradle安装方法
    version control(版本控制)
    函数式编程
    URI与URL
    超文本传输协议HTTP
    annotation的理解
    Injection
  • 原文地址:https://www.cnblogs.com/bearhb/p/143318.html
Copyright © 2011-2022 走看看