Datagridview shall disappear when clicking on the Form in the background

后端 未结 3 1245
别跟我提以往
别跟我提以往 2020-12-21 23:31

As described in the title, I have a Form with a Datagridview on the front. The datagridview is smaller than my form in the back and I want the Datagridview to disappear when

3条回答
  •  一生所求
    2020-12-22 00:08

    Change the event handler assigning to:

    this.dataGridView1.Leave += new System.EventHandler(fokussiert);
    

    Worked for me when focusing on a textbox

提交回复
热议问题