|
-
Oct 15th, 2013, 10:30 AM
#2
Re: Warning due to conflict between Form's Shared Function and its Default Instance
You could add a constructor that takes an argument. If you do that, then the default constructor will be removed by the constructor and no default instance can be created because there won't be a constructor that takes no arguments.
However, does your method really belong in the form to begin with? It seems likely that it doesn't HAVE to be in the form, since it's a shared member. So, the easiest solution might be to move that method to a Module.
My usual boring signature: Nothing
 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|