所调用的Form不属于Container,而属于控件本省

解决方案 »

  1.   

    Ok.  Let me try to understand the question.  You have a user control, in which you have a couple of forms.  So in a VB application you use this user control, you want to pass some parameters to the user control thru the forms.If that is correct, it is rather simple to achieve that.  You can use add a number of public Properties to the form.  In the Property's Get and Let/Set methods you can save/retrieve the values to/from private variables.  You can also do some other things (Calculations, etc.) with the values in the Get/Let/Set methods.