每当我在 VB.NET 中更改任何控件的任何属性值时,其他控件访问修饰符都会自动更改。像“ Friend WithEvents dgvQuestion As System.Windows.Forms.DataGridView”到“ Private WithEvents dgvQuestion As System.Windows.Forms.DataGridView”。
可能是什么原因,我该如何避免?
每当我在 VB.NET 中更改任何控件的任何属性值时,其他控件访问修饰符都会自动更改。像“ Friend WithEvents dgvQuestion As System.Windows.Forms.DataGridView”到“ Private WithEvents dgvQuestion As System.Windows.Forms.DataGridView”。
可能是什么原因,我该如何避免?