I created a form and added some buttons. when I click the button labeled "RESIDENTS". I want to open that form. I started this by inserting another form which is currently labeled Form2 but I changed the property under Design to "residents". I double clicked the "residents" button in Form1 and inserted this code
the error says, "type or Namespace could not be foundCode:private void residentsBtn_Click(object sender, EventArgs e) { var residents = new Form2(); residents.Show(); }