private void buttonTest_Click(object sender, EventArgs e)
        {
            DataBase.Test test = new DataBase.Test();
            string        result;

            if (test.TestCurrentConnection(currentDataGridViewIndex))
            {
                result = "Database is checked!";
            }
            else
            {
                result = "Error! " + test.LastError;
            }
            MessageBox.Show(result, "Result", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
        private void buttonTestAllDB_Click(object sender, EventArgs e)
        {
            int size = SettingsSave.single.dataBase_WorkSettings.dataBaseSettings.Count;

            int[] index = new int[size];
            index = Enumerable.Range(0, size).ToArray();
            DataBase.Test test = new DataBase.Test();
            string        result;

            if (test.TestAllConnection(index))
            {
                result = "All databases are checked!";
            }
            else
            {
                result = "Error! " + test.LastError;
            }
            MessageBox.Show(result, "Result", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }