public String return_IDNO() { return IDNO.Text; //IDNO is a texbox in MainForm() } I call the above in class frmCustomers:UserControl as following: MainForm cust = new MainForm(); String temp_id=cust.return_IDNO();