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

            plotForm.PlotRequest += OnPotentialPlotRequest;

            plotForm.ShowDialog();
        }
Пример #2
0
        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);
        }