Below is a snippet of the Student Name Form code that I tried most recently just to see if I could get any change to happen to the other 2 Forms when the Accept Name button was clicked. As of yet, I cannot get a change to happen at all in the groupboxes of the other Forms.
Public Class frmStudentName
Dim mainForm As New frmMain
Dim scheduleForm As New frmSchedule
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click
'Closes the Form
Me.Close()
End Sub
Private Sub btnAccept_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAccept.Click
'Changes gbxSchedule.Text to Course information for "txtStudentName.Text"
If txtStudentName.Text = "" Then
mainForm.gbxSchedule.Text = "Course Information for " And
scheduleForm.gbxSchedule.Text = "Schedule for "
End If
Me.Close()
End Sub
End Class
ANY HELP WOULD BE GREATLY APPRECIATED!!! AND MODS, PLS JUST LET ME GET SOME HELP HERE WITHOUT SHUTTING ME DOWN REPEATEDLY. I HAVE NOWHERE ELSE TO TURN AT THIS POINT OR I WOULDN'T BE HERE ASKING FOR HELP. THERE IS NO TUTOR AVAILABLE FOR THIS CLASS AND I ACTUALLY WANT TO LEARN IT, NOT JUST HAVE IT DONE FOR ME. I APOLOGIZE IF IT CAME OFF THAT WAY IN THE PREVIOUS THREAD.
Thank you,
ALL CAPS
[quote name='daddydonkykong' date='10 April 2012 - 05:03 PM' timestamp='1334102611' post='1597134']
Sorry couldn't find the edit button to add the
to the bottom i forgot...
Public Class frmStudentName
Dim mainForm As New frmMain
Dim scheduleForm As New frmSchedule
Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCancel.Click
'Closes the Form
Me.Close()
End Sub
Private Sub btnAccept_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAccept.Click
'Changes gbxSchedule.Text to Course information for "txtStudentName.Text"
If txtStudentName.Text = "" Then
mainForm.gbxSchedule.Text = "Course Information for " And
scheduleForm.gbxSchedule.Text = "Schedule for "
End If
Me.Close()
End Sub
End Class
Attached File(s)
-
ScheduleBuilderStudent.zip (111.49K)
Number of downloads: 39

New Topic/Question
Reply



MultiQuote




|