I have two forms Login and Main Menu. I want to retrieve the username from the textbox1 from login and put it in the status strip in the main menu. However, when i change the modifier of textbox1 with this code
TextBox textBox1;
public Login(TextBox txtBox);
or any other code i found to change the modifier of textbox1 i come up with this error in the login form
Error 1 Ambiguity between 'GOGREEN.Login.textBox1' and 'GOGREEN.Login.textBox1'
i even changed it from the properties window but that does not work! please help me out thanks