/// <summary>
 /// Инициализация списка коннектов
 /// </summary>
 /// <returns></returns>
 private bool InitConnections()
 {
     _lstConnections = new List<Connection>();
     if (_dtConnections != null)
     {
         Connection tempConnection;
         foreach (DataRow dr in _dtConnections.Rows)
         {
             try
             {
                 tempConnection = new Connection();
                 tempConnection.DataBaseName = dr["Base"].ToString();
                 tempConnection.ID = Convert.ToInt16(dr["ID"].ToString());
                 tempConnection.isWinAuth = Convert.ToBoolean(dr["WinAuth"].ToString());
                 tempConnection.Password = dr["Password"].ToString();
                 tempConnection.RusName = dr["RusName"].ToString();
                 tempConnection.ServerName = dr["Server"].ToString();
                 tempConnection.UserName = dr["User"].ToString();
                 tempConnection.isActive = Convert.ToBoolean(dr["isActive"].ToString());
                 if (_dtConnections.Columns.Contains("Role"))
                 {
                     tempConnection.Role = dr["Role"].ToString();
                 }
                 tempConnection.BuildConnection();
                 tempConnection.sqlConnection.InfoMessage += new System.Data.SqlClient.SqlInfoMessageEventHandler(sqlConnection_InfoMessage);
                 if ((_intActiveIndex == -1)
                     && (tempConnection.isActive))
                     _intActiveIndex = _lstConnections.Count;
                 _lstConnections.Add(tempConnection);
             }
             catch { }
         }
     }
     return true;
 }