sneeri_c
asked on
Determining Sending Form
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or create a constructor that does the same thing...