private void buttonEditParamsNonRigid_Click(object sender, EventArgs e)
        {
            InitializeNonRigidParameterMap();

            using (EditParametersForm paramForm = new EditParametersForm(RegistrationParametersNonRigid.ParamMapToUse))
            {
                DialogResult result = paramForm.ShowDialog();

                if (result == DialogResult.OK)
                {
                    RegistrationParametersNonRigid.ParamMapToUse = paramForm.Parametermap;
                }
            }
        }
        private void buttonShowFile_Click(object sender, EventArgs e)
        {
            if (treeViewParamFiles.SelectedNode != null)
            {
                string name = treeViewParamFiles.SelectedNode.Text;

                if (MultipleParameterFiles.ContainsKey(name))
                {
                    string path = MultipleParameterFiles[name];

                    if (File.Exists(path))
                    {
                        using (EditParametersForm form = new EditParametersForm(path))
                        {
                            form.ShowDialog();
                        }
                    }
                }
            }
        }