Need to set controls inside UserControl from another window
I have this user control that I have programmaticaly added to my main form. My control also inherits from a base user control. This base user control contains date and time textboxes with buttons to enable manually setting the date and time. One button formats the system time and date and displays them in the appropriate textboxes. The code for this is contained in the control.
Now for my problem. I need to be able to launch another form which contains controls which allow me to increment or decrement the hour or minutes in my usercontrol. (It also contains a Callendar control) I am unable to access the textbox controls inside the usercontrol to set the value of each textbox. I've tried Public Property but it does not show up when I call either the baseUsercontrol or the target user controlfrom my form. It's the user control which launches the "Updating Form".
I've looked on the NET for ideas but what I found was written in C#. My code is VB.net. I know enough about c# to understand the jist of the code but not enough to be able to convert the code to vb.
What I found and thought had possabilities was raising my own events. Great idea, but how can my main form know about the event until after the app is compiled and running? Remember, the control is added by code. I tried pasting the code I found into my control (modified to what I thought would make it work in my app) and wrote an event procedure in the MainForm as a test. It didn't work.
It's late at night and I'm tired and frustrated so please, if I'm rambling and my explanation isn't clear, ask me some questions. I need help.