zoukankan      html  css  js  c++  java
  • 文本框和列表框的click事件

    #region 文本框和列表框的click事件
            private void tbORcbb_click(object sender, EventArgs e)
            {
                if (typeof(TextBox).IsInstanceOfType(sender))
                {
                    if (!ifSelected)
                    {
                        ((TextBox)sender).SelectAll();
                        ifSelected = true;
                    }
                }
                else if  (typeof(ComboBox).IsInstanceOfType(sender))
                {
                    if (!ifSelected)
                    {
                        ((ComboBox)sender).SelectAll();
                        ifSelected = true;
                    }
                }
            }
            #endregion

  • 相关阅读:
    LDD3 第7章 Time,Delays and Deferred Work
    4412 gpio读取pwm
    LDD快速参考
    4412 4路pwm输出
    PCB六层板学习(一)
    STM32 TIM3 PWM输出 4路
    4412 学习目录总结
    4412 Linux定时器
    4412 SPI驱动
    4412 i2c驱动
  • 原文地址:https://www.cnblogs.com/swtool/p/3840190.html
Copyright © 2011-2022 走看看