Results 1 to 9 of 9

Thread: Calling an UserClass object in a different Project and manipulating it on a Form

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2007
    Posts
    28

    Calling an UserClass object in a different Project and manipulating it on a Form

    Please see the attached project....

    'Here is the problem..... I don't know how to call Me.UserControl.DataGridUserControl from the main form... What I did is connect two projects, one has a UserClass in it and in it I have a GridView on the UserClass form. What I want to do is be able to load the data into it after I place it on Form1, (in the other project), as I did with the DataGridView1 which is directly on Form1.
    'any ideas how to do this? I am thinking that I need to declare it somehow to get it accessable in the Form1

    Notice above I declared a "testform" as a usercontrol... I am thinking that somehow I need to declare a variable as UserControl1 but I don't have that selection choice. On top of that I think somehow I am supposed have something like testform.DataGridUserControl so that I can call the DataGridUserControl which is embedded on the UserControl.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width