private void AnalysisToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); frmAnalysis nextForm = new frmAnalysis(this); nextForm.Show(); }
//close this and open analysis form public void closeAndOpenAnalysisForm() { this.Close(); frmAnalysis analysisForm = new frmAnalysis(); analysisForm.Show(); }