private void selectPattern()
 {
     Pattern _newPat = new Pattern();
     _newPat.ComID = this._comID;
     PatternSelect _patternSelect = new PatternSelect(_newPat);
     try
     {
         _patternSelect.selectPattern();
         this._ds = _patternSelect.Ds;
     }
     catch (Exception ex)
     {
         ex.Message.ToString();
     }
     finally
     {
         _patternSelect = null;
     }
 }