private void buttonFillVars_Click(object sender, EventArgs e)
        {
            varsNames = new string[variables];

            for (int i = 0; i < variables; i++)
            {
                var nameInputFomr = new NameInputForm(i, false);
                nameInputFomr.Owner = this;

                if (nameInputFomr.ShowDialog() != DialogResult.OK)
                {
                    return;
                }
            }
            SetVarsNames(dataGridViewsA);
        }
        private void ButtonFillCrits_Click(object sender, EventArgs e)
        {
            criterionsNames = new string[criterions];

            for (int i = 0; i < criterions; i++)
            {
                var nameInputFomr = new NameInputForm(i, true);
                nameInputFomr.Owner = this;

                if (nameInputFomr.ShowDialog() != DialogResult.OK)
                {
                    return;
                }
            }
            SetCriterionsNames(labelsA);
        }