Referencing a Main Form control in a different class

Viewed 37

I am a hobby programmer in VB.Net. Have fairly good knowledge in that. However I got stuck in a place I need help.

  1. I have a main form called BTC_Main
  2. I have a different class called ClientID
  3. I would like to refer to the main form control in Client ID class file
  4. My Line in client ID "BTC_Main.Lvw_ClientID" gives an error "Reference to a non-shared member requires an object reference"

Could anyone help me?

Thanks in Advance.

0 Answers
Related