Public Class Form1 Inherits System.Windows.Forms.Form Public Sub InitLayout(dgv As DataGridView) End Sub End Class