How to disable TabIndex?

前端 未结 2 2038
时光取名叫无心
时光取名叫无心 2020-12-16 10:54

Is there a way to disable TabIndex for controls in a Form (C# winForms) that never need focus?

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 11:27

    private void Form1_Load(object sender, EventArgs e)
        {
            button1.TabStop = false;
        }
    

提交回复
热议问题