0
I have a standard form, with a textbox
, a search button and a grid; as I intend to use it for several searches, I left an abstract Search() method and at the same time the form as abstract...
When inheriting this form, I implement in the child form the Search() method that works normally while running, but this child form is not loaded by the visual studio designer and returns the following error:
The designer must make an instance of type 'Formpesquisa`2[[Formfilho System.Retaguarda.Model, Version=1.0.0.0, Culture=neutral, Publickeytoken=null], but it cannot because the type has been declared as abstract.
Just leave the method as abstract
– Jéf Bueno