Hi , I am new in C# programming and I am trying to implementate something like site in c#.
On the top of my form1 I have four LinkLabels and when an user clicks one , he goes to another form but the initial form1 still exists.
I am trying this code :
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
form2 form= new form2();
form1 new_form = new form1();
form.show();
new_form.Close(); //or new_form.Hide(); is the same ??
}
What is my fault ???
Thank you