Pokaż
Ignoruj:
Data:
2009-09-30 15:49:14 (17 years ago)
Autor:
marek
Opis:

re #195 - merged with latest trunk

Lokalizacja:
branches/Emisje
Pliki:
2 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/Emisje

    • Property svn:mergeinfo
      •  

        old new  
         1/branches/AutoShopper:815-818 
        12/branches/ReklamaReorganizacja:568-731 
        2 /trunk:774-810 
         3/tags/BazaReklam_1.1.28:831 
         4/trunk:774-837 
  • branches/Emisje/TruckExpoCDN/ExportForm.cs

    r482 r838  
    4848        private void ExportForm_Load(object sender, EventArgs e) 
    4949        { 
    50             refresh(); 
    51         } 
    52  
    53         private void refresh() 
     50            RefreshView(); 
     51        } 
     52 
     53        private void RefreshView() 
    5454        { 
    5555            fAKTURYTableAdapter.FillByNotExported(eXPODataSet.FAKTURY); 
     
    133133                        { 
    134134                            transaction.Rollback(); 
    135                             conn.Close(); 
     135 
    136136                            //Send Email 
    137137                            StringBuilder stringBuilder = new StringBuilder(); 
     
    139139                            stringBuilder.AppendLine("Szczegoly:"); 
    140140                            stringBuilder.AppendLine(exception.ToString()); 
     141 
     142                            conn.Close(); 
     143                            bazaReklamConn.Close(); 
     144 
    141145                            EmailSender.Send(stringBuilder.ToString()); 
     146 
    142147                            throw; 
    143148                        } 
     
    155160                else 
    156161                { 
    157                     
    158162                    conn.Close(); 
    159163                    e.Cancel = true;                
     
    209213            } 
    210214 
    211             refresh(); 
     215            RefreshView(); 
    212216        } 
    213217 
     
    224228            if (!backgroundWorker1.IsBusy) 
    225229            { 
    226                 refresh(); 
     230                RefreshView(); 
    227231            } 
    228232        }