I have seen a lot of tutorials online but none of them worked for me.....
this->Hide(); programGUI::Form_second objsec; objsec.Show