private void exitToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); DashBoard db = new DashBoard(); db.Closed += (s, args) => this.Close(); db.Show(); }