1
Answer

page navigation

reginald knight

reginald knight

16y
2.6k
1

I need help regarding this error when trying navigate from page to page . I have a next and back button with the following code and error. Will anyone help me with my error? I'm using Visual Studio 2005 professional edition.

private void backButton_Click(object sender, EventArgs e)

{

FrmReg1 frm = new FrmReg1();

frm.Show();

frm.Hide();

frm.Close();

private void btnNext_Click(object sender, EventArgs e)

{

FrmReg2 frm = new FrmReg2();

frm.Show();

frm.Hide();

frm.Close();

Error : The type or namespace name 'FrmReg2' could not be found (are you missing a using directive or an assembly reference?) 

 

Answers (1)