private void newSolutionToolStripMenuItem_Click(object sender, EventArgs e) { NewSolution ns = new NewSolution(); if (ns.ShowDialog() == DialogResult.OK) { solution.updatedetails(ns.getsolution()); solution.Serialize(); } }