I've looked at a few different threads and tried to find the proper answer, none have worked. I am trying to hide the current Form. I know how to do that, but when I do ProjectName.Form2.Visible() it gives me an error and says to just use Visible(), unfortunately, that makes Form1 visible.
You would need to create a new instance of the form and call
.Visible() on that instance.
var newForm = new ProjectName.Form2(); newForm.Visible();
When you call
ProjectName.Form2.Visible() it looks for a static method on the class called
Visible which does not exist.