I have a form [frmNotes] that is called via different forms in my Windows Application. Depending on which form calls it, I want the title of frmNotes to change and also I have a few different controls that I want to set as visible depending on the form which called it. For example:
if frmMain calls frmNotes:
frmNotes.Text = "General Notes"
button1.Visible = True
if frmSub calls frmNotes:
frmNotes.Text = "Sub Notes"
button2.Visible = True
I am not sure how to determine which form has called the frmNotes.
Thanks for the help.