private void btnWybierz_Click(object sender, RoutedEventArgs e)
 {
     _testid = _mysqlManager.GetTestIDFromTestBySN(_printerSN);
     _buttonListManager.ClearList();
     if (_testid == 0)
     {
         this.lblInfo.Content = "BLAD: Drukarka nie zostala jeszcze przetestowana!";
     }
     else
     {
         _mysqlManager.SetDismantled(_testid);
         //ComponentWindowThumbnailsFullHD _componentWindowThumbnailsFullHD = new ComponentWindowThumbnailsFullHD(_testid, _mysqlManager.GetMTFromPrintersWherePrinterID(_mysqlManager.GetPrinterIDFromTestBySN(_printerSN)), _mysqlManager.GetTestStatusFromTestBySN(_printerSN), _login);
         ComponentWindowThumbnailsFullHD _componentWindowThumbnailsFullHD = new ComponentWindowThumbnailsFullHD(_testid, _mysqlManager.GetMTFromPrintersWherePrinterID(_mysqlManager.GetPrinterIDFromTestBySN(_printerSN)), _mysqlManager.GetPrinterIDFromTestBySN(_printerSN), _mysqlManager.GetTestStatusFromTestBySN(_printerSN), _login);
         this.Close();
         _componentWindowThumbnailsFullHD.Show();
     }
 }