all my groupboxes is black

dezreena

Member
Joined
Mar 29, 2007
Messages
20
Programming Experience
Beginner
hello people,
i need help with my programm.

i have 2 form to display form1 and form 2.

##########################################
public class form1

sub addition()
.........
................
form2.show()
end sub

end class
#####################################
Form2 was displayed but all my groupboxes is black.
i can't even see my those groupboxex in form2.

what should i do?
thanks! :)
 
Hi there...

Do it like this
assuming form1 and form2 is the name of the two said forms, add the following code...

VB.NET:
Public class Form1
  Private objFrm2 As New Form2
  Private Sub Form1_Load(ByVal Sender as object, ...................)
    objFrm2.show()
  End Sub
End class

Thank You
 
Last edited by a moderator:
Back
Top