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
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top