//Open dialog to edit new solution
        public void InsertSolution(string pdfSimpleText)
        {
            OpenDocument fm_Document = new OpenDocument(OpenDocument.OpenMode.Insert, null, this);

            fm_Document.txt_document.Text = pdfSimpleText;
            fm_Document.Text = "New Solution";
            fm_Document.grid_parameters.DataSource = null;
            fm_Document.ShowDialog(this);
        }
        //Edit specific solution
        public void EditSolution(string pdfSimpleText)
        {
            OpenDocument fm_Document = new OpenDocument(OpenDocument.OpenMode.Edit, CurrentSolution.Clone(), this);

            fm_Document.txt_document.Text = pdfSimpleText;
            fm_Document.Text = "Edit Solution";
            fm_Document.grid_parameters.DataSource = CurrentSolution.Parameters;
            //fm_Document.CurrentSolution = CurrentSolution.Clone();
            //fm_Document.CurrentParameterList = fm_Document.CurrentSolution.Parameters;
            fm_Document.txt_solutionName.Text = CurrentSolution.Name;
            fm_Document.txt_solutionDesc.Text = CurrentSolution.Description;
            fm_Document.ShowDialog(this);
        }