private void MenuItemPlotPotential_Click(object sender, EventArgs e)
        {
            PotentialPlotParamForm plotForm = PlotterUITool.CreatePotentialPlotParamForm(
                ControlsValues);

            plotForm.PlotRequest += OnPotentialPlotRequest;

            plotForm.ShowDialog();
        }
        private PotentialPlotParamForm CreatePotentialPlotParamForm()
        {
            PotentialPlotParamForm plotForm = new PotentialPlotParamForm(
                "Plot QQ-Interaction Potential", PotentialTypes, PotentialType, AlphaSoft, Sigma,
                ColorStates, ColorState, Temperature, DebyeMass, SpinStates, SpinState,
                SpinCouplingRange, SpinCouplingStrength, MinRadius, MaxRadius, Samples, DataFileName);

            plotForm.PlotRequest += OnPlotRequest;

            return(plotForm);
        }