I have the following code :
This call the second form
private void updateToolStripMenuItem_Click(object sender, EventArgs e) { Up
Maybe hide it first, then only show it if funct() == "1":
private void Form_Load(object sender, EventArgs e) { this.Close(); if (funct() == "1") MessageBox.Show("Something"); }