Hello Everyone, I sit with a problem opening a form from another form. Hope I can explain this properly...
From my Form1 I open a second form "NewFault"...
private void btnNewFault_Click(object sender, EventArgs e)
{
string strDoing = "New";
NewFault NF = new NewFault(this, strDoing);
NF.Show();
}
I need to open the same "NewFault" Form from another form "ViewFault"...
private void btnEditFault_Click(object sender, EventArgs e)
{
string strDoing = "Edit";
NewFault NF = new NewFault(this, strDoing);
NF.Show();
My error is below and I just can't get past it...
Error CS1503 Argument 1: cannot convert from 'GameTech.ViewFault' to 'GameTech.Form1'
I am a total newbie and learn as I go. Please can someone point me in the correct direction. This is driving my nuts!
Thank you in advance.