Remove the space to the left of DataGridView1

如何移除Datagirdview1 左邊的空格

如下圖,本來datagirdview1是這樣子

datagirdview1 左邊空格取消

接下來,輸入程式碼 

 DataGridView1.RowHeadersVisible = False

左邊空格就不見啦

datagirdview1左邊空格不見

arrow
arrow

    JL8051 發表在 痞客邦 留言(0) 人氣()