Disable execution in designer time

  • Thread starter Thread starter thiago
  • Start date Start date
T

thiago

Hi! I did a form that inherits from one wich load data through a
datagriddatasource. I need to change only the name of the table on form
that inherits, but in designer time (of this form that inherits), the
VS try to load data based on parameters of parent form. How can I
disable it?

Thanks in advance!
 
thiago said:
I did a form that inherits from one wich load data through a
datagriddatasource. I need to change only the name of the table on form
that inherits, but in designer time (of this form that inherits), the
VS try to load data based on parameters of parent form. How can I
disable it?


\\\
If Not Me.DesignTime Then
LoadData()
End If
///
 
Back
Top