I am kind of new to C#... using Visual Studio, creating a large project with multiple forms. Having an issue with wanting to open an existing form when clicking a button.
I have the following code...
private void newButton_Click(object sender, EventArgs e)
{
myNewForm.Show();
}
But keep getting one error:
"The type or namespace name "...." cannot be found (are you missing a using directive or an assembly reference?" The other form is added to the project, I am just confused as to what exactly I need to reference. Probably a silly error, but it is driving me crazy! Any help is appreciated - Thanks!

New Topic/Question
Reply




MultiQuote








|