private void settingsbutton_Click(object sender, EventArgs e) { MailClient__.Forms.Form3 f3 = new MailClient__.Forms.Form3(); f3.ShowDialog(); // Shows Form2 }