Zbiór zmian 553

Pokaż
Ignoruj:
Data:
2009-04-08 09:21:32 (17 years ago)
Autor:
marek
Opis:

re #157

Lokalizacja:
branches/ErrorLog
Pliki:
7 dodane
28 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/ErrorLog/BazaReklam/AddClient.cs

    r549 r553  
    162162        private void btnCancel_Click(object sender, EventArgs e) 
    163163        { 
    164             throw new ApplicationException("My test application exception"); 
    165  
    166  
    167164            rEKLAMADataSet.KLIENCI.RejectChanges(); 
    168165            Close(); 
  • branches/ErrorLog/BazaReklam/Baza Reklam.csproj

    r549 r553  
    107107    <Compile Include="Classes\BoundItem.cs" /> 
    108108    <Compile Include="Classes\DBBindings.cs" /> 
     109    <Compile Include="Classes\EmailSender.cs" /> 
    109110    <Compile Include="Classes\ExcelHelper.cs" /> 
    110111    <Compile Include="Classes\FakturaHelper.cs" /> 
     112    <Compile Include="Classes\Helpers\ConfigurationHelper.cs" /> 
    111113    <Compile Include="Classes\InvoiceProvider.cs" /> 
    112114    <Compile Include="Classes\InvoiceProviderFactory.cs" /> 
  • branches/ErrorLog/BazaReklam/Classes/Logger.cs

    r549 r553  
    11using System; 
    2 using System.Collections.Generic; 
     2using System.Data; 
    33using System.Data.SqlClient; 
    4 using System.Text; 
    54 
    65namespace Baza_Reklam.Classes 
     
    87    public class Logger 
    98    { 
    10         public static void LogException(Exception ex, string userName, DateTime dateTime) 
     9        public static void LogException(Exception exception, string userName, DateTime dateTime) 
    1110        { 
    12             SqlConnection conn = new SqlConnection(ConnString.getConnString().Value); 
     11            SqlConnection conn = null; 
     12            SqlCommand cmd = null; 
    1313 
     14            try 
     15            { 
     16                conn = new SqlConnection(ConnString.getConnString().Value); 
     17                conn.Open(); 
     18                cmd = new SqlCommand("dbo.sp_LogException", conn); 
     19                cmd.CommandType = CommandType.StoredProcedure; 
     20                cmd.Parameters.AddWithValue("@errorMessage", exception.Message); 
     21                cmd.Parameters.AddWithValue("@userName", userName); 
     22                cmd.Parameters.AddWithValue("@dateTime", dateTime); 
     23                cmd.Parameters.AddWithValue("@errorDetails", exception.ToString()); 
     24                cmd.ExecuteNonQuery(); 
     25            } 
     26            catch (Exception ex) 
     27            { 
     28                EmailSender.SendNotification(ex, exception, userName, dateTime); 
     29            } 
     30            finally 
     31            { 
     32                if (cmd != null) 
     33                    cmd.Dispose(); 
     34 
     35                if (conn != null && conn.State == ConnectionState.Open) 
     36                { 
     37                    conn.Close(); 
     38                    conn.Dispose(); 
     39                } 
     40            } 
    1441        } 
    1542    } 
  • branches/ErrorLog/BazaReklam/Classes/PrintDGV.cs

    r65 r553  
    3838        private static bool PrintAllRows = true;   // True = print all rows,  False = print selected rows     
    3939        private static bool FitToPageWidth = true; // True = Fits selected columns to page width ,  False = Print columns as showed     
    40         private static int HeaderHeight = 0; 
     40        private static int HeaderHeight; 
    4141 
    4242 
     
    4444        { 
    4545            PrintPreviewDialog ppvw; 
    46             try  
    47                 {        
    48                 // Getting DataGridView object to print 
    49                 dgv = dgv1; 
    50  
    51                 // Getting all Coulmns Names in the DataGridView 
    52                 AvailableColumns.Clear(); 
    53                 foreach (DataGridViewColumn c in dgv.Columns) 
    54                 { 
    55                     if (!c.Visible) continue; 
    56                     AvailableColumns.Add(c.HeaderText); 
    57                 } 
    58  
    59                 // Showing the PrintOption Form 
    60                 PrintOptions dlg = new PrintOptions(AvailableColumns); 
    61                 if (dlg.ShowDialog() != DialogResult.OK) return; 
    62  
    63                 PrintTitle = dlg.PrintTitle; 
    64                 PrintAllRows = dlg.PrintAllRows; 
    65                 FitToPageWidth = dlg.FitToPageWidth; 
    66                 SelectedColumns = dlg.GetSelectedColumns(); 
    67  
    68                 printDoc.DefaultPageSettings.Landscape = dlg.Landscape; 
    69                 printDoc.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(margins, margins, margins, margins); 
    70  
    71                 RowsPerPage = 0; 
    72  
    73                 ppvw = new PrintPreviewDialog(); 
    74                 ppvw.Document = printDoc; 
    75  
    76                 // Showing the Print Preview Page 
    77                 printDoc.BeginPrint +=new System.Drawing.Printing.PrintEventHandler(PrintDoc_BeginPrint); 
    78                 printDoc.PrintPage +=new System.Drawing.Printing.PrintPageEventHandler(PrintDoc_PrintPage); 
    79                 if (ppvw.ShowDialog() != DialogResult.OK) 
    80                 { 
    81                     printDoc.BeginPrint -= new System.Drawing.Printing.PrintEventHandler(PrintDoc_BeginPrint); 
    82                     printDoc.PrintPage -= new System.Drawing.Printing.PrintPageEventHandler(PrintDoc_PrintPage); 
    83                     return; 
    84                 } 
    85  
    86                 // Printing the Documnet 
    87                 printDoc.Print(); 
    88                 printDoc.BeginPrint -= new System.Drawing.Printing.PrintEventHandler(PrintDoc_BeginPrint); 
    89                 printDoc.PrintPage -= new System.Drawing.Printing.PrintPageEventHandler(PrintDoc_PrintPage); 
    90                 } 
    91                 catch (Exception ex) 
    92                 { 
    93                 MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);                        
    94                 } 
    95             finally 
    96             { 
    97  
    98             } 
     46            // Getting DataGridView object to print 
     47            dgv = dgv1; 
     48 
     49            // Getting all Coulmns Names in the DataGridView 
     50            AvailableColumns.Clear(); 
     51            foreach (DataGridViewColumn c in dgv.Columns) 
     52            { 
     53                if (!c.Visible) continue; 
     54                AvailableColumns.Add(c.HeaderText); 
     55            } 
     56 
     57            // Showing the PrintOption Form 
     58            PrintOptions dlg = new PrintOptions(AvailableColumns); 
     59            if (dlg.ShowDialog() != DialogResult.OK) return; 
     60 
     61            PrintTitle = dlg.PrintTitle; 
     62            PrintAllRows = dlg.PrintAllRows; 
     63            FitToPageWidth = dlg.FitToPageWidth; 
     64            SelectedColumns = dlg.GetSelectedColumns(); 
     65 
     66            printDoc.DefaultPageSettings.Landscape = dlg.Landscape; 
     67            printDoc.DefaultPageSettings.Margins = new System.Drawing.Printing.Margins(margins, margins, margins, margins); 
     68 
     69            RowsPerPage = 0; 
     70 
     71            ppvw = new PrintPreviewDialog(); 
     72            ppvw.Document = printDoc; 
     73 
     74            // Showing the Print Preview Page 
     75            printDoc.BeginPrint +=PrintDoc_BeginPrint; 
     76            printDoc.PrintPage +=PrintDoc_PrintPage; 
     77            if (ppvw.ShowDialog() != DialogResult.OK) 
     78            { 
     79                printDoc.BeginPrint -= PrintDoc_BeginPrint; 
     80                printDoc.PrintPage -= PrintDoc_PrintPage; 
     81                return; 
     82            } 
     83 
     84            // Printing the Documnet 
     85            printDoc.Print(); 
     86            printDoc.BeginPrint -= PrintDoc_BeginPrint; 
     87            printDoc.PrintPage -= PrintDoc_PrintPage; 
    9988        } 
    10089 
     
    10291                    System.Drawing.Printing.PrintEventArgs e)  
    10392        { 
    104             try 
    105                 { 
    106                 // Formatting the Content of Text Cell to print 
    107                 StrFormat = new StringFormat(); 
    108                 StrFormat.Alignment = StringAlignment.Near; 
    109                 StrFormat.LineAlignment = StringAlignment.Center; 
    110                 StrFormat.Trimming = StringTrimming.EllipsisCharacter; 
    111  
    112                 // Formatting the Content of Combo Cells to print 
    113                 StrFormatComboBox = new StringFormat(); 
    114                 StrFormatComboBox.LineAlignment = StringAlignment.Center; 
    115                 StrFormatComboBox.FormatFlags = StringFormatFlags.NoWrap; 
    116                 StrFormatComboBox.Trimming = StringTrimming.EllipsisCharacter; 
    117  
    118                 ColumnLefts.Clear(); 
    119                 ColumnWidths.Clear(); 
    120                 ColumnTypes.Clear(); 
    121                 CellHeight = 0; 
    122                 RowsPerPage = 0; 
    123  
    124                 // For various column types 
    125                 CellButton = new Button(); 
    126                 CellCheckBox = new CheckBox(); 
    127                 CellComboBox = new ComboBox(); 
    128  
    129                 // Calculating Total Widths 
    130                 TotalWidth = 0; 
    131                 foreach (DataGridViewColumn GridCol in dgv.Columns) 
    132                 { 
    133                     if (!GridCol.Visible) continue; 
    134                     if (!PrintDGV.SelectedColumns.Contains(GridCol.HeaderText)) continue; 
    135                     TotalWidth += GridCol.Width; 
    136                 } 
    137                 PageNo = 1; 
    138                 NewPage = true; 
    139                 RowPos = 0;                      
    140                 } 
    141                 catch (Exception ex) 
    142                 { 
    143                 MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);                        
    144                 } 
     93            // Formatting the Content of Text Cell to print 
     94            StrFormat = new StringFormat(); 
     95            StrFormat.Alignment = StringAlignment.Near; 
     96            StrFormat.LineAlignment = StringAlignment.Center; 
     97            StrFormat.Trimming = StringTrimming.EllipsisCharacter; 
     98 
     99            // Formatting the Content of Combo Cells to print 
     100            StrFormatComboBox = new StringFormat(); 
     101            StrFormatComboBox.LineAlignment = StringAlignment.Center; 
     102            StrFormatComboBox.FormatFlags = StringFormatFlags.NoWrap; 
     103            StrFormatComboBox.Trimming = StringTrimming.EllipsisCharacter; 
     104 
     105            ColumnLefts.Clear(); 
     106            ColumnWidths.Clear(); 
     107            ColumnTypes.Clear(); 
     108            CellHeight = 0; 
     109            RowsPerPage = 0; 
     110 
     111            // For various column types 
     112            CellButton = new Button(); 
     113            CellCheckBox = new CheckBox(); 
     114            CellComboBox = new ComboBox(); 
     115 
     116            // Calculating Total Widths 
     117            TotalWidth = 0; 
     118            foreach (DataGridViewColumn GridCol in dgv.Columns) 
     119            { 
     120                if (!GridCol.Visible) continue; 
     121                if (!PrintDGV.SelectedColumns.Contains(GridCol.HeaderText)) continue; 
     122                TotalWidth += GridCol.Width; 
     123            } 
     124            PageNo = 1; 
     125            NewPage = true; 
     126            RowPos = 0; 
    145127        } 
    146128 
    147129        private static void PrintDoc_PrintPage(object sender,  
    148                     System.Drawing.Printing.PrintPageEventArgs e)  
     130                    System.Drawing.Printing.PrintPageEventArgs e) 
    149131        { 
    150132            int tmpWidth, i; 
     
    152134            int tmpLeft = e.MarginBounds.Left; 
    153135 
    154             try  
    155                 {                
    156                 // Before starting first page, it saves Width & Height of Headers and CoulmnType 
    157                 if (PageNo == 1)  
     136            // Before starting first page, it saves Width & Height of Headers and CoulmnType 
     137            if (PageNo == 1) 
     138            { 
     139                foreach (DataGridViewColumn GridCol in dgv.Columns) 
    158140                { 
    159                     foreach (DataGridViewColumn GridCol in dgv.Columns) 
     141                    if (!GridCol.Visible) continue; 
     142                    // Skip if the current column not selected 
     143                    if (!PrintDGV.SelectedColumns.Contains(GridCol.HeaderText)) continue; 
     144 
     145                    // Detemining whether the columns are fitted to page or not. 
     146                    if (FitToPageWidth) 
     147                        tmpWidth = (int) (Math.Floor((double) ((double) GridCol.Width/ 
     148                                                               (double) TotalWidth*(double) TotalWidth* 
     149                                                               ((double) e.MarginBounds.Width/(double) TotalWidth)))); 
     150                    else 
     151                        tmpWidth = GridCol.Width; 
     152 
     153                    HeaderHeight = (int) (e.Graphics.MeasureString(GridCol.HeaderText, 
     154                                                                   GridCol.InheritedStyle.Font, tmpWidth).Height) + 11; 
     155 
     156                    // Save width & height of headres and ColumnType 
     157                    ColumnLefts.Add(tmpLeft); 
     158                    ColumnWidths.Add(tmpWidth); 
     159                    ColumnTypes.Add(GridCol.GetType()); 
     160                    tmpLeft += tmpWidth; 
     161                } 
     162            } 
     163 
     164            // Printing Current Page, Row by Row 
     165            while (RowPos <= dgv.Rows.Count - 1) 
     166            { 
     167                DataGridViewRow GridRow = dgv.Rows[RowPos]; 
     168                if (GridRow.IsNewRow || (!PrintAllRows && !GridRow.Selected)) 
     169                { 
     170                    RowPos++; 
     171                    continue; 
     172                } 
     173 
     174                CellHeight = GridRow.Height; 
     175 
     176                if (tmpTop + CellHeight >= e.MarginBounds.Height + e.MarginBounds.Top) 
     177                { 
     178                    DrawFooter(e, RowsPerPage); 
     179                    NewPage = true; 
     180                    PageNo++; 
     181                    e.HasMorePages = true; 
     182                    return; 
     183                } 
     184                else 
     185                { 
     186                    if (NewPage) 
    160187                    { 
    161                         if (!GridCol.Visible) continue; 
    162                         // Skip if the current column not selected 
    163                         if (!PrintDGV.SelectedColumns.Contains(GridCol.HeaderText)) continue; 
    164  
    165                         // Detemining whether the columns are fitted to page or not. 
    166                         if (FitToPageWidth)  
    167                             tmpWidth = (int)(Math.Floor((double)((double)GridCol.Width /  
    168                                        (double)TotalWidth * (double)TotalWidth *  
    169                                        ((double)e.MarginBounds.Width / (double)TotalWidth)))); 
    170                         else 
    171                             tmpWidth = GridCol.Width; 
    172  
    173                         HeaderHeight = (int)(e.Graphics.MeasureString(GridCol.HeaderText, 
    174                                     GridCol.InheritedStyle.Font, tmpWidth).Height) + 11; 
    175                          
    176                         // Save width & height of headres and ColumnType 
    177                         ColumnLefts.Add(tmpLeft); 
    178                         ColumnWidths.Add(tmpWidth); 
    179                         ColumnTypes.Add(GridCol.GetType()); 
    180                         tmpLeft += tmpWidth; 
     188                        // Draw Header 
     189                        e.Graphics.DrawString(PrintTitle, new Font(dgv.Font, FontStyle.Bold), 
     190                                              Brushes.Black, e.MarginBounds.Left, e.MarginBounds.Top - 
     191                                                                                  e.Graphics.MeasureString(PrintTitle, 
     192                                                                                                           new Font( 
     193                                                                                                               dgv.Font, 
     194                                                                                                               FontStyle 
     195                                                                                                                   .Bold), 
     196                                                                                                           e. 
     197                                                                                                               MarginBounds 
     198                                                                                                               .Width). 
     199                                                                                      Height - 13); 
     200 
     201                        String s = DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToShortTimeString(); 
     202 
     203                        e.Graphics.DrawString(s, new Font(dgv.Font, FontStyle.Bold), 
     204                                              Brushes.Black, e.MarginBounds.Left + (e.MarginBounds.Width - 
     205                                                                                    e.Graphics.MeasureString(s, 
     206                                                                                                             new Font( 
     207                                                                                                                 dgv. 
     208                                                                                                                     Font, 
     209                                                                                                                 FontStyle 
     210                                                                                                                     . 
     211                                                                                                                     Bold), 
     212                                                                                                             e. 
     213                                                                                                                 MarginBounds 
     214                                                                                                                 .Width) 
     215                                                                                        .Width), e.MarginBounds.Top - 
     216                                                                                                 e.Graphics. 
     217                                                                                                     MeasureString( 
     218                                                                                                     PrintTitle, 
     219                                                                                                     new Font( 
     220                                                                                                         new Font( 
     221                                                                                                             dgv.Font, 
     222                                                                                                             FontStyle. 
     223                                                                                                                 Bold), 
     224                                                                                                         FontStyle.Bold), 
     225                                                                                                     e.MarginBounds. 
     226                                                                                                         Width).Height - 
     227                                                                                                 13); 
     228 
     229                        // Draw Columns 
     230                        tmpTop = e.MarginBounds.Top; 
     231                        i = 0; 
     232                        foreach (DataGridViewColumn GridCol in dgv.Columns) 
     233                        { 
     234                            if (!GridCol.Visible) continue; 
     235                            if (!PrintDGV.SelectedColumns.Contains(GridCol.HeaderText)) 
     236                                continue; 
     237 
     238                            e.Graphics.FillRectangle(new SolidBrush(Color.LightGray), 
     239                                                     new Rectangle((int) ColumnLefts[i], tmpTop, 
     240                                                                   (int) ColumnWidths[i], HeaderHeight)); 
     241 
     242                            e.Graphics.DrawRectangle(Pens.Black, 
     243                                                     new Rectangle((int) ColumnLefts[i], tmpTop, 
     244                                                                   (int) ColumnWidths[i], HeaderHeight)); 
     245 
     246                            e.Graphics.DrawString(GridCol.HeaderText, GridCol.InheritedStyle.Font, 
     247                                                  new SolidBrush(GridCol.InheritedStyle.ForeColor), 
     248                                                  new RectangleF((int) ColumnLefts[i], tmpTop, 
     249                                                                 (int) ColumnWidths[i], HeaderHeight), StrFormat); 
     250                            i++; 
     251                        } 
     252                        NewPage = false; 
     253                        tmpTop += HeaderHeight; 
    181254                    } 
     255 
     256                    // Draw Columns Contents 
     257                    i = 0; 
     258                    foreach (DataGridViewCell Cel in GridRow.Cells) 
     259                    { 
     260                        if (!Cel.OwningColumn.Visible) continue; 
     261                        if (!SelectedColumns.Contains(Cel.OwningColumn.HeaderText)) 
     262                            continue; 
     263 
     264                        // For the TextBox Column 
     265                        if (((Type) ColumnTypes[i]).Name == "DataGridViewTextBoxColumn" || 
     266                            ((Type) ColumnTypes[i]).Name == "DataGridViewLinkColumn") 
     267                        { 
     268                            e.Graphics.DrawString(Cel.FormattedValue.ToString(), Cel.InheritedStyle.Font, 
     269                                                  new SolidBrush(Cel.InheritedStyle.ForeColor), 
     270                                                  new RectangleF((int) ColumnLefts[i], (float) tmpTop, 
     271                                                                 (int) ColumnWidths[i], (float) CellHeight), StrFormat); 
     272                        } 
     273                            // For the Button Column 
     274                        else if (((Type) ColumnTypes[i]).Name == "DataGridViewButtonColumn") 
     275                        { 
     276                            CellButton.Text = Cel.Value.ToString(); 
     277                            CellButton.Size = new Size((int) ColumnWidths[i], CellHeight); 
     278                            Bitmap bmp = new Bitmap(CellButton.Width, CellButton.Height); 
     279                            CellButton.DrawToBitmap(bmp, new Rectangle(0, 0, 
     280                                                                       bmp.Width, bmp.Height)); 
     281                            e.Graphics.DrawImage(bmp, new Point((int) ColumnLefts[i], tmpTop)); 
     282                        } 
     283                            // For the CheckBox Column 
     284                        else if (((Type) ColumnTypes[i]).Name == "DataGridViewCheckBoxColumn") 
     285                        { 
     286                            CellCheckBox.ThreeState = true; 
     287                            CellCheckBox.Size = new Size(14, 14); 
     288 
     289                            //   MessageBox.Show(Cel.Value.ToString()); 
     290 
     291                            if ((CheckState) Cel.FormattedValue != CheckState.Indeterminate) 
     292                            { 
     293                                //   CellCheckBox.Checked= (bool)Cel.Value; 
     294                                CellCheckBox.CheckState = (bool) Cel.Value ? CheckState.Checked : CheckState.Unchecked; 
     295                            } 
     296                            else 
     297                            { 
     298                                //  CellCheckBox.Checked = false; 
     299                                CellCheckBox.CheckState = CheckState.Indeterminate; 
     300                            } 
     301                            //   CellCheckBox.Checked = (bool)Cel.Value; 
     302                            Bitmap bmp = new Bitmap((int) ColumnWidths[i], CellHeight); 
     303                            Graphics tmpGraphics = Graphics.FromImage(bmp); 
     304                            tmpGraphics.FillRectangle(Brushes.White, new Rectangle(0, 0, 
     305                                                                                   bmp.Width, bmp.Height)); 
     306                            CellCheckBox.DrawToBitmap(bmp, 
     307                                                      new Rectangle((int) ((bmp.Width - CellCheckBox.Width)/2), 
     308                                                                    (int) ((bmp.Height - CellCheckBox.Height)/2), 
     309                                                                    CellCheckBox.Width, CellCheckBox.Height)); 
     310                            e.Graphics.DrawImage(bmp, new Point((int) ColumnLefts[i], tmpTop)); 
     311                        } 
     312                            // For the ComboBox Column 
     313                        else if (((Type) ColumnTypes[i]).Name == "DataGridViewComboBoxColumn") 
     314                        { 
     315                            CellComboBox.Size = new Size((int) ColumnWidths[i], CellHeight); 
     316                            Bitmap bmp = new Bitmap(CellComboBox.Width, CellComboBox.Height); 
     317                            CellComboBox.DrawToBitmap(bmp, new Rectangle(0, 0, 
     318                                                                         bmp.Width, bmp.Height)); 
     319                            e.Graphics.DrawImage(bmp, new Point((int) ColumnLefts[i], tmpTop)); 
     320                            e.Graphics.DrawString(Cel.Value.ToString(), Cel.InheritedStyle.Font, 
     321                                                  new SolidBrush(Cel.InheritedStyle.ForeColor), 
     322                                                  new RectangleF((int) ColumnLefts[i] + 1, tmpTop, (int) ColumnWidths[i] 
     323                                                                                                   - 16, CellHeight), 
     324                                                  StrFormatComboBox); 
     325                        } 
     326                            // For the Image Column 
     327                        else if (((Type) ColumnTypes[i]).Name == "DataGridViewImageColumn") 
     328                        { 
     329                            Rectangle CelSize = new Rectangle((int) ColumnLefts[i], 
     330                                                              tmpTop, (int) ColumnWidths[i], CellHeight); 
     331                            Size ImgSize = ((Image) (Cel.FormattedValue)).Size; 
     332                            e.Graphics.DrawImage((Image) Cel.FormattedValue, 
     333                                                 new Rectangle( 
     334                                                     (int) ColumnLefts[i] + (int) ((CelSize.Width - ImgSize.Width)/2), 
     335                                                     tmpTop + (int) ((CelSize.Height - ImgSize.Height)/2), 
     336                                                     ((Image) (Cel.FormattedValue)).Width, 
     337                                                     ((Image) (Cel.FormattedValue)).Height)); 
     338                        } 
     339 
     340                        // Drawing Cells Borders  
     341                        e.Graphics.DrawRectangle(Pens.Black, new Rectangle((int) ColumnLefts[i], 
     342                                                                           tmpTop, (int) ColumnWidths[i], CellHeight)); 
     343 
     344                        i++; 
     345                    } 
     346                    tmpTop += CellHeight; 
    182347                } 
    183348 
    184                 // Printing Current Page, Row by Row 
    185                 while (RowPos <= dgv.Rows.Count - 1) 
    186                 { 
    187                     DataGridViewRow GridRow = dgv.Rows[RowPos]; 
    188                     if (GridRow.IsNewRow || (!PrintAllRows && !GridRow.Selected)) 
    189                     { 
    190                         RowPos++; 
    191                         continue; 
    192                     } 
    193  
    194                     CellHeight = GridRow.Height; 
    195  
    196                     if (tmpTop + CellHeight >= e.MarginBounds.Height + e.MarginBounds.Top) 
    197                     { 
    198                         DrawFooter(e, RowsPerPage); 
    199                         NewPage = true; 
    200                         PageNo++; 
    201                         e.HasMorePages = true; 
    202                         return; 
    203                     } 
    204                     else 
    205                     { 
    206                         if (NewPage) 
    207                         { 
    208                             // Draw Header 
    209                             e.Graphics.DrawString(PrintTitle, new Font(dgv.Font, FontStyle.Bold),  
    210                                     Brushes.Black, e.MarginBounds.Left, e.MarginBounds.Top - 
    211                             e.Graphics.MeasureString(PrintTitle, new Font(dgv.Font,  
    212                                     FontStyle.Bold), e.MarginBounds.Width).Height - 13); 
    213  
    214                             String s = DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToShortTimeString(); 
    215  
    216                             e.Graphics.DrawString(s, new Font(dgv.Font, FontStyle.Bold),  
    217                                     Brushes.Black, e.MarginBounds.Left + (e.MarginBounds.Width -  
    218                                     e.Graphics.MeasureString(s, new Font(dgv.Font,  
    219                                     FontStyle.Bold), e.MarginBounds.Width).Width), e.MarginBounds.Top -  
    220                                     e.Graphics.MeasureString(PrintTitle, new Font(new Font(dgv.Font,  
    221                                     FontStyle.Bold), FontStyle.Bold), e.MarginBounds.Width).Height - 13); 
    222  
    223                             // Draw Columns 
    224                             tmpTop = e.MarginBounds.Top; 
    225                             i = 0; 
    226                             foreach (DataGridViewColumn GridCol in dgv.Columns) 
    227                             { 
    228                                 if (!GridCol.Visible) continue; 
    229                                 if (!PrintDGV.SelectedColumns.Contains(GridCol.HeaderText))  
    230                                     continue; 
    231  
    232                                 e.Graphics.FillRectangle(new SolidBrush(Color.LightGray),  
    233                                     new Rectangle((int) ColumnLefts[i], tmpTop, 
    234                                     (int)ColumnWidths[i], HeaderHeight)); 
    235  
    236                                 e.Graphics.DrawRectangle(Pens.Black,  
    237                                     new Rectangle((int) ColumnLefts[i], tmpTop, 
    238                                     (int)ColumnWidths[i], HeaderHeight)); 
    239  
    240                                 e.Graphics.DrawString(GridCol.HeaderText, GridCol.InheritedStyle.Font,  
    241                                     new SolidBrush(GridCol.InheritedStyle.ForeColor), 
    242                                     new RectangleF((int)ColumnLefts[i], tmpTop,  
    243                                     (int)ColumnWidths[i], HeaderHeight), StrFormat); 
    244                                 i++; 
    245                             } 
    246                             NewPage = false; 
    247                             tmpTop += HeaderHeight; 
    248                         } 
    249  
    250                         // Draw Columns Contents 
    251                         i = 0; 
    252                         foreach (DataGridViewCell Cel in GridRow.Cells) 
    253                         {                             
    254  
    255                             if (!Cel.OwningColumn.Visible) continue; 
    256                             if (!SelectedColumns.Contains(Cel.OwningColumn.HeaderText)) 
    257                                 continue; 
    258  
    259                             // For the TextBox Column 
    260                             if (((Type) ColumnTypes[i]).Name == "DataGridViewTextBoxColumn" ||  
    261                                 ((Type) ColumnTypes[i]).Name == "DataGridViewLinkColumn") 
    262                             { 
    263                                 e.Graphics.DrawString(Cel.FormattedValue.ToString(), Cel.InheritedStyle.Font,  
    264                                         new SolidBrush(Cel.InheritedStyle.ForeColor), 
    265                                         new RectangleF((int)ColumnLefts[i], (float)tmpTop, 
    266                                         (int)ColumnWidths[i], (float)CellHeight), StrFormat); 
    267                             } 
    268                             // For the Button Column 
    269                             else if (((Type) ColumnTypes[i]).Name == "DataGridViewButtonColumn") 
    270                             { 
    271                                 CellButton.Text = Cel.Value.ToString(); 
    272                                 CellButton.Size = new Size((int)ColumnWidths[i], CellHeight); 
    273                                 Bitmap bmp =new Bitmap(CellButton.Width, CellButton.Height); 
    274                                 CellButton.DrawToBitmap(bmp, new Rectangle(0, 0,  
    275                                         bmp.Width, bmp.Height)); 
    276                                 e.Graphics.DrawImage(bmp, new Point((int)ColumnLefts[i], tmpTop)); 
    277                             } 
    278                             // For the CheckBox Column 
    279                             else if (((Type) ColumnTypes[i]).Name == "DataGridViewCheckBoxColumn") 
    280                             { 
    281                                 CellCheckBox.ThreeState = true;                                 
    282                                 CellCheckBox.Size = new Size(14, 14); 
    283  
    284                              //   MessageBox.Show(Cel.Value.ToString()); 
    285  
    286                                 if ((CheckState)Cel.FormattedValue != CheckState.Indeterminate) 
    287                                 { 
    288                                  //   CellCheckBox.Checked= (bool)Cel.Value; 
    289                                     CellCheckBox.CheckState = (bool)Cel.Value ? CheckState.Checked : CheckState.Unchecked; 
    290                                 } 
    291                                 else 
    292                                 { 
    293                                   //  CellCheckBox.Checked = false; 
    294                                     CellCheckBox.CheckState = CheckState.Indeterminate; 
    295                                 } 
    296                              //   CellCheckBox.Checked = (bool)Cel.Value; 
    297                                 Bitmap bmp = new Bitmap((int)ColumnWidths[i], CellHeight); 
    298                                 Graphics tmpGraphics = Graphics.FromImage(bmp); 
    299                                 tmpGraphics.FillRectangle(Brushes.White, new Rectangle(0, 0,  
    300                                         bmp.Width, bmp.Height)); 
    301                                 CellCheckBox.DrawToBitmap(bmp,  
    302                                         new Rectangle((int)((bmp.Width - CellCheckBox.Width) / 2),  
    303                                         (int)((bmp.Height - CellCheckBox.Height) / 2),  
    304                                         CellCheckBox.Width, CellCheckBox.Height)); 
    305                                 e.Graphics.DrawImage(bmp, new Point((int)ColumnLefts[i], tmpTop)); 
    306                             } 
    307                             // For the ComboBox Column 
    308                             else if (((Type) ColumnTypes[i]).Name == "DataGridViewComboBoxColumn") 
    309                             { 
    310                                 CellComboBox.Size = new Size((int)ColumnWidths[i], CellHeight); 
    311                                 Bitmap bmp = new Bitmap(CellComboBox.Width, CellComboBox.Height); 
    312                                 CellComboBox.DrawToBitmap(bmp, new Rectangle(0, 0,  
    313                                         bmp.Width, bmp.Height)); 
    314                                 e.Graphics.DrawImage(bmp, new Point((int)ColumnLefts[i], tmpTop)); 
    315                                 e.Graphics.DrawString(Cel.Value.ToString(), Cel.InheritedStyle.Font,  
    316                                         new SolidBrush(Cel.InheritedStyle.ForeColor),  
    317                                         new RectangleF((int)ColumnLefts[i] + 1, tmpTop, (int)ColumnWidths[i] 
    318                                         - 16, CellHeight), StrFormatComboBox); 
    319                             } 
    320                             // For the Image Column 
    321                             else if (((Type) ColumnTypes[i]).Name == "DataGridViewImageColumn") 
    322                             { 
    323                                 Rectangle CelSize = new Rectangle((int)ColumnLefts[i],  
    324                                         tmpTop, (int)ColumnWidths[i], CellHeight); 
    325                                 Size ImgSize = ((Image)(Cel.FormattedValue)).Size; 
    326                                 e.Graphics.DrawImage((Image)Cel.FormattedValue,  
    327                                         new Rectangle((int)ColumnLefts[i] + (int)((CelSize.Width - ImgSize.Width) / 2),  
    328                                         tmpTop + (int)((CelSize.Height - ImgSize.Height) / 2),  
    329                                         ((Image)(Cel.FormattedValue)).Width, ((Image)(Cel.FormattedValue)).Height)); 
    330  
    331                             } 
    332  
    333                             // Drawing Cells Borders  
    334                             e.Graphics.DrawRectangle(Pens.Black, new Rectangle((int)ColumnLefts[i],  
    335                                     tmpTop, (int)ColumnWidths[i], CellHeight)); 
    336  
    337                             i++; 
    338  
    339                         } 
    340                         tmpTop += CellHeight; 
    341                     } 
    342  
    343                     RowPos++; 
    344                     // For the first page it calculates Rows per Page 
    345                     if (PageNo == 1) RowsPerPage++; 
    346                 } 
    347  
    348                 if (RowsPerPage == 0) return; 
    349  
    350                 // Write Footer (Page Number) 
    351                 DrawFooter(e, RowsPerPage); 
    352  
    353                 e.HasMorePages = false; 
    354                 } 
    355                 catch (Exception ex) 
    356                 { 
    357                 MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);                        
    358                 } 
     349                RowPos++; 
     350                // For the first page it calculates Rows per Page 
     351                if (PageNo == 1) RowsPerPage++; 
     352            } 
     353 
     354            if (RowsPerPage == 0) return; 
     355 
     356            // Write Footer (Page Number) 
     357            DrawFooter(e, RowsPerPage); 
     358 
     359            e.HasMorePages = false; 
    359360        } 
    360361 
  • branches/ErrorLog/BazaReklam/Classes/Utils.cs

    r517 r553  
    243243                        nr = Int32.Parse((reader.GetValue(0).ToString()).Substring(tagAgenta.Length, 3)); 
    244244                    } 
    245                     catch (Exception e1) 
     245                    catch 
    246246                    { 
    247  
     247                        //TODO: check when it can fail... 
    248248                    } 
    249249 
  • branches/ErrorLog/BazaReklam/ClientsForm.cs

    r549 r553  
    360360 
    361361                    SqlCommand cmd = new SqlCommand("DELETE FROM [UKA¯E SIÊ W NR] WHERE (ReklamaId = @rekID)"); 
    362                     cmd.Parameters.AddWithValue("@rekID", idRek); 
    363                     cmd.Connection = new SqlConnection(ConnString.getConnString().Value); 
    364  
    365                     cmd.Connection.Open(); 
     362 
    366363                    try 
    367364                    { 
     365                        cmd.Parameters.AddWithValue("@rekID", idRek); 
     366                        cmd.Connection = new SqlConnection(ConnString.getConnString().Value); 
     367                        cmd.Connection.Open(); 
     368 
    368369                        cmd.ExecuteNonQuery(); 
    369370                    } 
    370                     catch (Exception e1) 
     371                    finally 
    371372                    { 
    372                         MessageBox.Show(e1.Message); 
     373                        if (cmd.Connection!=null) 
     374                        { 
     375                            cmd.Connection.Close(); 
     376                            cmd.Connection.Dispose(); 
     377                            cmd.Dispose(); 
     378                        } 
    373379                    } 
    374                     cmd.Connection.Close(); 
    375380                } 
    376381            } 
     
    744749            rEKLAMADataSet.KLIENCI.Clear(); 
    745750 
    746             try 
    747             { 
    748                 sqlDataAdapter.Fill(rEKLAMADataSet.KLIENCI); 
    749             } 
    750             catch (Exception e1) 
    751             { 
    752                 MessageBox.Show(e1.Message); 
    753             } 
    754  
     751            sqlDataAdapter.Fill(rEKLAMADataSet.KLIENCI); 
     752             
    755753            clientsDataGridView.Refresh(); 
    756754 
  • branches/ErrorLog/BazaReklam/Docs/versioninfo.html

    r552 r553  
    66<body> 
    77    <h1>Baza reklam - Informacje o wersji</h1> 
     8   <div> 
     9        <a id="1.0.0.97" /> 
     10        <h2>Wersja 1.0.0.97 (2009-04-08)</h2> 
     11        <p>Opis zmian wprowadzonych do wersji 1.0.0.97</p> 
     12        <ul> 
     13            <li>Zgłoszenie #157: Dodano logowanie wszystkich błędów, wyjątków występujących w aplikacji Baza Reklam</li> 
     14        </ul> 
     15    </div> 
    816   <div> 
    917        <a id="1.0.0.96" /> 
  • branches/ErrorLog/BazaReklam/Facturer.cs

    r549 r553  
    236236                MessageBox.Show("Fakture dodano!"); 
    237237            } 
    238             catch (Exception ex) 
    239             { 
    240                 MessageBox.Show(ex.GetType() + ex.Message); 
    241  
    242                 try 
    243                 { 
    244                     transaction.Rollback(); 
    245                 } 
    246                 catch (Exception ex2) 
    247                 { 
    248                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex2.Message); 
    249                 } 
     238            catch 
     239            { 
     240                transaction.Rollback(); 
     241 
     242                throw; 
    250243            } 
    251244 
     
    374367                ok = true; 
    375368            } 
    376             catch (Exception ex) 
    377             { 
    378                 MessageBox.Show(ex.GetType() + ex.Message); 
    379  
    380                 try 
    381                 { 
    382                     transaction.Rollback(); 
    383                 } 
    384                 catch (Exception ex2) 
    385                 { 
    386                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex2.Message); 
    387                 } 
    388             } 
    389  
    390             conn.Close(); 
     369            catch 
     370            { 
     371                transaction.Rollback(); 
     372                throw; 
     373            } 
     374            finally 
     375            { 
     376                conn.Close(); 
     377            } 
     378 
     379 
    391380 
    392381            //odswiezanie 
     
    496485                command.Connection.Open(); 
    497486                command.ExecuteNonQuery(); 
     487            } 
     488            finally 
     489            { 
    498490                command.Connection.Close(); 
    499             } 
    500             catch (Exception e1) 
    501             { 
    502                 MessageBox.Show(e1.Message); 
    503491            } 
    504492        } 
     
    552540                command.Connection.Open(); 
    553541                command.ExecuteNonQuery(); 
     542            } 
     543            finally  
     544            { 
    554545                command.Connection.Close(); 
    555             } 
    556             catch (Exception e1) 
    557             { 
    558                 MessageBox.Show(e1.Message); 
    559546            } 
    560547 
     
    686673          ((DataRowView)rEKLAMABindingSource.Current).Row; 
    687674 
    688             fAKTURYTableAdapter.FillByIdFaktury(this.rEKLAMADataSet.FAKTURY,reklama.ID_FAKTURY); 
     675            fAKTURYTableAdapter.FillByIdFaktury(rEKLAMADataSet.FAKTURY,reklama.ID_FAKTURY); 
    689676 
    690677            REKLAMADataSet.FAKTURYRow faktura = rEKLAMADataSet.FAKTURY[0]; 
     
    697684            } 
    698685 
     686            SqlConnection conn = null; 
     687 
    699688            try 
    700689            { 
     
    708697                } 
    709698 
    710                 SqlConnection conn = new SqlConnection(ConnString.getConnString().Value); 
     699                conn = new SqlConnection(ConnString.getConnString().Value); 
    711700 
    712701                fAKTURYTableAdapter.Connection = conn; 
     
    737726                    transaction.Commit(); 
    738727                } 
    739                 catch (Exception e1) 
     728                catch 
    740729                { 
    741730                    transaction.Rollback(); 
     731                     
     732                    throw; 
     733                } 
     734            } 
     735            finally 
     736            { 
     737                if(conn!=null && conn.State == ConnectionState.Open) 
     738                { 
    742739                    conn.Close(); 
    743                     throw e1; 
    744                 } 
    745             } 
    746             catch (Exception e2) 
    747             { 
    748                 MessageBox.Show("Wyst¹pi³ b³¹d: \n" + e2.ToString()); 
    749             } 
    750             finally 
    751             { 
     740                    conn.Dispose(); 
     741                } 
     742 
    752743                rEKLAMADataSet.UKAZE_SIE_W_NR.Clear(); 
    753744                rEKLAMADataSet.DatyWydan.Clear(); 
     
    758749            RestoreConnections(); 
    759750 
    760             this.Cursor = Cursors.Default; 
     751            Cursor = Cursors.Default; 
    761752 
    762753        } 
     
    10521043                transaction.Commit(); 
    10531044            } 
    1054             catch (Exception ex) 
     1045            catch 
    10551046            { 
    10561047                transaction.Rollback(); 
    1057                 throw ex; 
     1048                throw; 
    10581049            } 
    10591050            finally 
  • branches/ErrorLog/BazaReklam/FacturesForm.cs

    r457 r553  
    213213            Cursor = Cursors.WaitCursor; 
    214214 
    215             try 
    216             { 
    217                 sqlDataAdapter.Fill(rEKLAMADataSet.ZestawienieFaktur); 
    218                 commandExecuted = true; 
    219             } 
    220             catch (Exception e1) 
    221             { 
    222                 MessageBox.Show(e1.Message); 
    223             } 
     215            sqlDataAdapter.Fill(rEKLAMADataSet.ZestawienieFaktur); 
     216            commandExecuted = true; 
    224217 
    225218            Cursor = Cursors.Default; 
  • branches/ErrorLog/BazaReklam/FacturesFormNEW.cs

    r489 r553  
    159159                commandExecuted = true; 
    160160            } 
    161             catch (Exception e1) 
    162             { 
    163                 MessageBox.Show(e1.Message); 
    164             } 
    165  
    166             Cursor = Cursors.Default; 
     161            finally 
     162            { 
     163                Cursor = Cursors.Default; 
     164            } 
     165 
     166             
    167167        } 
    168168 
  • branches/ErrorLog/BazaReklam/FakturowaniePoznanKatowice.cs

    r549 r553  
    162162 
    163163                dtpZmianaDaty.Value = DateTime.Today; 
    164             } 
    165             catch (Exception ex) 
    166             { 
    167                 MessageBox.Show("Wyst¹pi³ b³¹d: \n" + ex); 
    168164            } 
    169165            finally 
     
    405401                transaction.Commit(); 
    406402            } 
    407             catch (Exception) 
     403            catch 
    408404            { 
    409405                transaction.Rollback(); 
     406                throw; 
    410407            } 
    411408            finally 
     
    483480                    } 
    484481                } 
    485                 catch (Exception e2) 
    486                 { 
    487                     MessageBox.Show("Wyst¹pi³ b³¹d: \n" + e2); 
    488                 } 
    489482                finally 
    490483                { 
     
    492485                    fAKTURYBindingSource.ResetBindings(false); 
    493486                    fAKTURYDataGridView.Refresh(); 
    494                 } 
    495             } 
    496  
    497             Cursor = Cursors.Default; 
     487                    Cursor = Cursors.Default; 
     488                } 
     489            } 
    498490        } 
    499491 
     
    651643                transaction.Commit(); 
    652644            } 
    653             catch (Exception) 
     645            catch 
    654646            { 
    655647                transaction.Rollback(); 
  • branches/ErrorLog/BazaReklam/InfoForm.cs

    r351 r553  
    736736                MessageBox.Show("Klienci zostali przepisani."); 
    737737            } 
    738             catch (Exception ex) 
    739             { 
    740                 MessageBox.Show(ex.GetType() + ex.Message); 
    741  
    742                 try 
    743                 { 
    744                     transaction.Rollback(); 
    745                 } 
    746                 catch (Exception ex2) 
    747                 { 
    748                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex.Message); 
    749                 } 
    750             } 
    751  
    752             command.Connection.Close(); 
    753  
    754             Cursor = Cursors.Default; 
    755  
     738 
     739            catch 
     740            { 
     741                transaction.Rollback(); 
     742                throw; 
     743            } 
     744            finally 
     745            { 
     746                Cursor = Cursors.Default; 
     747                command.Connection.Close(); 
     748            } 
    756749        } 
    757750 
  • branches/ErrorLog/BazaReklam/KorektyForm.cs

    r399 r553  
    364364                command.Parameters.AddWithValue("@agencja", agencjaToolStripComboBox.Text.Trim()); 
    365365            } 
    366              
    367             /* 
    368             if (((CheckBox)((ToolStripControlHost)wyszukajToolStrip.Items["zalegleCheckBox"]).Control).CheckState == CheckState.Checked) 
    369             { 
    370                 command.CommandText += " AND (BRUTTO - suma_zaplat) > 0"; 
    371             } 
    372             else if (((CheckBox)((ToolStripControlHost)wyszukajToolStrip.Items["zalegleCheckBox"]).Control).CheckState == CheckState.Unchecked) 
    373             { 
    374                 command.CommandText += " AND (BRUTTO - suma_zaplat) <= 0 "; 
    375             }*/ 
    376           
    377             //MessageBox.Show(command.CommandText + nrFakturyToolStripTextBox.Text); 
     366 
    378367            sqlDataAdapter.SelectCommand = command; 
    379368 
    380             this.Cursor = Cursors.WaitCursor; 
     369            Cursor = Cursors.WaitCursor; 
    381370 
    382371            try 
    383372            { 
    384                 int t = sqlDataAdapter.Fill(this.rEKLAMADataSet.VIEW_KOREKTY); 
     373                sqlDataAdapter.Fill(rEKLAMADataSet.VIEW_KOREKTY); 
    385374                commandExecuted = true; 
    386375            } 
    387             catch (Exception e1) 
    388             { 
    389                 MessageBox.Show(e1.Message); 
    390             } 
    391  
    392             treeView1.CollapseAll(); 
    393             treeView1.SelectedNode = null; 
    394  
    395             this.Cursor = Cursors.Default; 
     376            finally 
     377            { 
     378 
     379                treeView1.CollapseAll(); 
     380                treeView1.SelectedNode = null; 
     381 
     382                Cursor = Cursors.Default; 
     383            } 
    396384        } 
    397385 
  • branches/ErrorLog/BazaReklam/MDIBazaReklam.cs

    r490 r553  
    1515        private void MDIBazaReklam_Load(object sender, EventArgs e) 
    1616        { 
    17  
    18            
    1917            uprawnienia(); 
    20              
    21             //MessageBox.Show(span.ToString()); 
    2218        } 
    2319 
     
    7268        private void klienciToolStripButton_Click(object sender, EventArgs e) 
    7369        { 
    74             this.Cursor = Cursors.WaitCursor; 
     70            Cursor = Cursors.WaitCursor; 
    7571 
    7672            foreach (Form childForm in MdiChildren) 
     
    8278            ClientsForm.getClientsForm(this).Show(); 
    8379 
    84             this.Cursor = Cursors.Default; 
     80            Cursor = Cursors.Default; 
    8581 
    8682        } 
     
    8884        private void zamowieniaToolStripButton_Click(object sender, EventArgs e) 
    8985        { 
    90             this.Cursor = Cursors.WaitCursor; 
     86            Cursor = Cursors.WaitCursor; 
    9187 
    9288            foreach (Form childForm in MdiChildren) 
     
    9793            OrdersForm.getOrderForm(this).Show(); 
    9894 
    99             this.Cursor = Cursors.Default; 
     95            Cursor = Cursors.Default; 
    10096 
    10197        } 
     
    10399        private void fakturyToolStripButton_Click(object sender, EventArgs e) 
    104100        { 
    105             this.Cursor = Cursors.WaitCursor; 
     101            Cursor = Cursors.WaitCursor; 
    106102 
    107103            foreach (Form childForm in MdiChildren) 
     
    112108            FacturesForm.getFacturesForm(this).Show(); 
    113109 
    114             this.Cursor = Cursors.Default; 
     110            Cursor = Cursors.Default; 
    115111 
    116112        } 
     
    118114        private void produkcjaToolStripButton_Click(object sender, EventArgs e) 
    119115        { 
    120             this.Cursor = Cursors.WaitCursor; 
     116            Cursor = Cursors.WaitCursor; 
    121117 
    122118            foreach (Form childForm in MdiChildren) 
     
    127123            ProductionForm.getProductionForm(this).Show(); 
    128124 
    129             this.Cursor = Cursors.Default; 
     125            Cursor = Cursors.Default; 
    130126        } 
    131127 
    132128        private void infoToolStripButton_Click(object sender, EventArgs e) 
    133129        { 
    134             this.Cursor = Cursors.WaitCursor; 
     130            Cursor = Cursors.WaitCursor; 
    135131 
    136132            foreach (Form childForm in MdiChildren) 
     
    141137            InfoForm.getInfoForm(this).Show(); 
    142138 
    143             this.Cursor = Cursors.Default; 
     139            Cursor = Cursors.Default; 
    144140        } 
    145141 
    146142        private void raportyToolStripButton_Click(object sender, EventArgs e) 
    147143        { 
    148             this.Cursor = Cursors.WaitCursor; 
     144            Cursor = Cursors.WaitCursor; 
    149145 
    150146            foreach (Form childForm in MdiChildren) 
     
    156152            ReportsForm.getReportsForm(this).Show(); 
    157153 
    158             this.Cursor = Cursors.Default; 
     154            Cursor = Cursors.Default; 
    159155        } 
    160156 
    161157        private void prowizjeToolStripButton_Click(object sender, EventArgs e) 
    162158        { 
    163             this.Cursor = Cursors.WaitCursor; 
     159            Cursor = Cursors.WaitCursor; 
    164160 
    165161            foreach (Form childForm in MdiChildren) 
     
    171167            ProvisionForm.getProvisionForm(this).Show(); 
    172168 
    173             this.Cursor = Cursors.Default; 
     169            Cursor = Cursors.Default; 
    174170        } 
    175171 
    176172        private void startToolStripButton_Click(object sender, EventArgs e) 
    177173        { 
    178             this.Cursor = Cursors.WaitCursor; 
     174            Cursor = Cursors.WaitCursor; 
    179175 
    180176            foreach (Form childForm in MdiChildren) 
     
    186182            StartForm.getStartForm(this).Show(); 
    187183 
    188             this.Cursor = Cursors.Default; 
     184            Cursor = Cursors.Default; 
    189185        } 
    190186 
    191187        private void listaReklamToolStripButton_Click(object sender, EventArgs e) 
    192188        { 
    193             this.Cursor = Cursors.WaitCursor; 
     189            Cursor = Cursors.WaitCursor; 
    194190 
    195191            foreach (Form childForm in MdiChildren) 
     
    201197            ListaReklamNaWydanieForm.getListaReklamNaWydanieForm(this).Show(); 
    202198             
    203             this.Cursor = Cursors.Default; 
     199            Cursor = Cursors.Default; 
    204200        } 
    205201 
    206202        private void adminToolStripButton_Click(object sender, EventArgs e) 
    207203        { 
    208             this.Cursor = Cursors.WaitCursor; 
     204            Cursor = Cursors.WaitCursor; 
    209205 
    210206            foreach (Form childForm in MdiChildren) 
     
    216212            AdminForm.getAdminForm(this).Show(); 
    217213 
    218             this.Cursor = Cursors.Default; 
     214            Cursor = Cursors.Default; 
    219215        } 
    220216 
    221217        private void koniecToolStripButton_Click(object sender, EventArgs e) 
    222218        { 
    223             this.Close(); 
     219            Close(); 
    224220        } 
    225221 
     
    231227                return; 
    232228            } 
    233             else 
    234                 e.Cancel = false; 
    235  
    236             string s1 = ""; 
    237  
    238             try 
    239             { 
    240                 foreach (Form childForm in MdiChildren) 
    241                 { 
    242                     s1 = childForm.GetType().ToString(); 
    243                     childForm.Close(); 
    244                 } 
    245             } 
    246             catch (Exception ex) 
    247             { 
    248                 MessageBox.Show("Formularz: " + s1 + "\n" + ex.ToString()); 
    249             } 
    250  
    251  
     229             
     230            e.Cancel = false; 
     231 
     232            foreach (Form childForm in MdiChildren) 
     233            { 
     234                if (childForm != null) childForm.Close(); 
     235            } 
    252236        } 
    253237 
     
    255239        { 
    256240            //Application.Exit(); 
    257             int i = 0; 
    258241        } 
    259242 
    260243        private void zamowieniaToolStripButton2_Click(object sender, EventArgs e) 
    261244        { 
    262             this.Cursor = Cursors.WaitCursor; 
     245            Cursor = Cursors.WaitCursor; 
    263246 
    264247            foreach (Form childForm in MdiChildren) 
     
    270253            ZestawienieZamowienForm.getZestawienieZamowienForm(this).Show(); 
    271254 
    272             this.Cursor = Cursors.Default; 
     255            Cursor = Cursors.Default; 
    273256 
    274257        } 
     
    276259        private void fakturyNoweToolStripButton_Click(object sender, EventArgs e) 
    277260        { 
    278             this.Cursor = Cursors.WaitCursor; 
     261            Cursor = Cursors.WaitCursor; 
    279262 
    280263            foreach (Form childForm in MdiChildren) 
     
    285268            FacturesFormNEW.getFacturesForm(this).Show(); 
    286269 
    287             this.Cursor = Cursors.Default; 
     270            Cursor = Cursors.Default; 
    288271        } 
    289272 
    290273        private void korektaToolStripButton_Click(object sender, EventArgs e) 
    291274        { 
    292             this.Cursor = Cursors.WaitCursor; 
     275            Cursor = Cursors.WaitCursor; 
    293276             
    294277            foreach (Form childForm in MdiChildren) 
     
    299282            KorektyForm.getFacturesForm(this).Show(); 
    300283 
    301             this.Cursor = Cursors.Default; 
     284            Cursor = Cursors.Default; 
    302285        } 
    303286 
     
    308291            about.ShowDialog(); 
    309292        } 
    310  
    311  
    312                        
    313293    } 
    314294} 
  • branches/ErrorLog/BazaReklam/MailForm.cs

    r65 r553  
    8383            } 
    8484 
    85             this.Cursor = Cursors.WaitCursor; 
     85            Cursor = Cursors.WaitCursor; 
    8686 
    8787            MailAddress adresOD = new MailAddress(odEmailTextBox.Text, odTextBox.Text); 
     
    134134                MessageBox.Show("Wiadomoœæ zosta³a wys³ana"); 
    135135            } 
    136             catch (Exception e2) 
    137             { 
    138                 MessageBox.Show(e2.Message); 
    139             } 
    140  
    141             this.Cursor = Cursors.Default; 
     136            finally  
     137            { 
     138                Cursor = Cursors.Default; 
     139            } 
    142140        } 
    143141 
  • branches/ErrorLog/BazaReklam/OrderDetails.cs

    r503 r553  
    11011101                                string nrWydania = valuesInRow[i]; 
    11021102 
    1103                                 try 
    1104                                 { 
    1105                                     DataView datatable = (DataView)rEKLAMAUKAZESIEWNRBindingSource.List; 
    1106                                     DataRowView row = datatable.AddNew(); 
    1107                                     row["Nr Wydania"] = nrWydania; 
    1108  
    1109                                     rEKLAMAUKAZESIEWNRBindingSource.EndEdit(); 
    1110                                 } 
    1111                                 catch (Exception e1) 
    1112                                 { 
    1113                                     Debugger.Log(0, "ttt", e1.Message); 
    1114                                 } 
     1103                                DataView datatable = (DataView)rEKLAMAUKAZESIEWNRBindingSource.List; 
     1104                                DataRowView row = datatable.AddNew(); 
     1105                                row["Nr Wydania"] = nrWydania; 
     1106 
     1107                                rEKLAMAUKAZESIEWNRBindingSource.EndEdit(); 
    11151108                            } 
    11161109                        } 
  • branches/ErrorLog/BazaReklam/ProductionForm.cs

    r490 r553  
    509509                    command.Parameters.AddWithValue("@nrStrony", row.Cells["strona"].Value); 
    510510 
    511                     try 
    512                     { 
    513                         command.ExecuteNonQuery(); 
    514                     } 
    515                     catch (Exception e1) 
    516                     { 
    517                         MessageBox.Show(e1.Message); 
    518                     } 
     511                    command.ExecuteNonQuery(); 
    519512                } 
    520513            } 
  • branches/ErrorLog/BazaReklam/Program.cs

    r549 r553  
    33using System.Threading; 
    44using System.Windows.Forms; 
     5using Baza_Reklam.Classes; 
    56 
    67namespace Baza_Reklam 
     
    3940        public void OnThreadException(object sender, ThreadExceptionEventArgs t) 
    4041        { 
    41             DialogResult result = DialogResult.Cancel; 
    4242            try 
    4343            { 
    44                 result = ShowThreadExceptionDialog(t.Exception); 
     44                ShowThreadExceptionDialog(t.Exception); 
    4545            } 
    4646            catch 
     
    4848                try 
    4949                { 
    50                     MessageBox.Show("Fatal Error", "Fatal Error", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Stop); 
     50                    MessageBox.Show("Fatal Error - aplikacja zostanie zamknięta", "Fatal Error", MessageBoxButtons.OK, MessageBoxIcon.Stop); 
    5151                } 
    5252                finally 
     
    5454                    Application.Exit(); 
    5555                } 
    56             } 
    57  
    58             // Exits the program when the user clicks Abort. 
    59             if (result == DialogResult.Abort) 
    60             { 
    61                 try 
    62                 { 
    63                     Application.Exit(); 
    64                 } 
    65                 catch 
    66                 { 
    67                 } 
    68             } 
    69                  
     56            }     
    7057        } 
    7158 
    7259        // Creates the error message and displays it. 
    73         private static DialogResult ShowThreadExceptionDialog(Exception e) 
     60        private static void ShowThreadExceptionDialog(Exception exception) 
    7461        { 
     62            Logger.LogException(exception, User.getUser().Login, DateTime.Now); 
    7563            StringBuilder sb = new StringBuilder(); 
    76             sb.AppendLine("Wystąpił nieoczekiwany wyjątek"); 
    77             sb.AppendLine("Następujące informacje zostały przekazane programiście:"); 
     64            sb.AppendLine("Wystąpił nieoczekiwany wyjątek."); 
     65            sb.AppendLine(string.Empty); 
     66            sb.AppendLine("Informacje dotyczące tego błędu zostały automatycznie przekazane programiście."); 
     67            sb.AppendLine(string.Empty); 
    7868            sb.AppendLine("Data i czas: " + DateTime.Now); 
    7969            sb.AppendLine("Użytkownik: " + User.getUser().Login); 
    80             sb.AppendLine("Wyjątek:"); 
    81             sb.AppendLine(e.ToString()); 
    82             return MessageBox.Show(sb.ToString(), "Błąd w aplikacji", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Stop); 
     70            MessageBox.Show(sb.ToString(), "Błąd w aplikacji Baza Reklam", MessageBoxButtons.OK, MessageBoxIcon.Stop); 
    8371        } 
    8472    } 
  • branches/ErrorLog/BazaReklam/ProjectForm.cs

    r490 r553  
    208208            command.Connection = conn; 
    209209 
    210             int emisja = 0; 
     210            int emisja; 
    211211 
    212212            conn.Open(); 
     
    215215                emisja = Convert.ToInt16(command.ExecuteScalar()); 
    216216            } 
    217             catch (Exception e1) 
    218             { 
    219                 MessageBox.Show("W zamówieniu nie wskazano emisji"); 
    220             } 
    221             conn.Close(); 
     217            finally 
     218            { 
     219                conn.Close();     
     220            } 
     221             
    222222 
    223223            return emisja; 
     
    229229            { 
    230230                printDoc.PrinterSettings = printDialog.PrinterSettings; 
    231                 printDoc.PrintPage += new PrintPageEventHandler(Renderuj2); 
     231                printDoc.PrintPage += Renderuj2; 
    232232                printDoc.Print();     
    233233            } 
  • branches/ErrorLog/BazaReklam/Properties/AssemblyInfo.cs

    r552 r553  
    3030// 
    3131[assembly: AssemblyVersion("1.0.0.0")] 
    32 [assembly: AssemblyFileVersion("1.0.0.96")] 
     32[assembly: AssemblyFileVersion("1.0.0.97")] 
  • branches/ErrorLog/BazaReklam/ProvisionForm.cs

    r242 r553  
    9999        } 
    100100 
    101 /* 
    102         private void treeView1_AfterExpand(object sender, TreeViewEventArgs e) 
    103         { 
    104             SqlCommand command = new SqlCommand(); 
    105             command.Connection = new SqlConnection(ConnString.getConnString().Value); 
    106  
    107             if (e.Node != null) 
    108             { 
    109                 switch (e.Node.Level) 
    110                 { 
    111                     case 0: 
    112                         e.Node.Nodes.Clear(); 
    113  
    114                         TreeNode node; 
    115  
    116                         command.CommandText = "select distinct datepart(year,DATA_W) as rok from dbo.NR where datepart(year,DATA_W) is not null and datepart(year,DATA_W)>= 2003 order by rok desc"; 
    117                         command.Connection.Open(); 
    118                         SqlDataReader reader = command.ExecuteReader(); 
    119  
    120                         while (reader.Read()) 
     101        /* 
     102                private void treeView1_AfterExpand(object sender, TreeViewEventArgs e) 
     103                { 
     104                    SqlCommand command = new SqlCommand(); 
     105                    command.Connection = new SqlConnection(ConnString.getConnString().Value); 
     106 
     107                    if (e.Node != null) 
     108                    { 
     109                        switch (e.Node.Level) 
    121110                        { 
    122                             node = new TreeNode(reader.GetValue(0).ToString()); 
    123                             node.Name = reader.GetValue(0).ToString(); 
    124  
    125                             for (int i = 12; i >= 1; i--) 
    126                             { 
    127                                 TreeNode node2 = new TreeNode(i.ToString()); 
    128                                 node2.Name = i.ToString(); 
    129                                 //  node2.Nodes.Add(new TreeNode()); 
    130                                 node.Nodes.Add(node2); 
    131                             } 
    132                             e.Node.Nodes.Add(node); 
     111                            case 0: 
     112                                e.Node.Nodes.Clear(); 
     113 
     114                                TreeNode node; 
     115 
     116                                command.CommandText = "select distinct datepart(year,DATA_W) as rok from dbo.NR where datepart(year,DATA_W) is not null and datepart(year,DATA_W)>= 2003 order by rok desc"; 
     117                                command.Connection.Open(); 
     118                                SqlDataReader reader = command.ExecuteReader(); 
     119 
     120                                while (reader.Read()) 
     121                                { 
     122                                    node = new TreeNode(reader.GetValue(0).ToString()); 
     123                                    node.Name = reader.GetValue(0).ToString(); 
     124 
     125                                    for (int i = 12; i >= 1; i--) 
     126                                    { 
     127                                        TreeNode node2 = new TreeNode(i.ToString()); 
     128                                        node2.Name = i.ToString(); 
     129                                        //  node2.Nodes.Add(new TreeNode()); 
     130                                        node.Nodes.Add(node2); 
     131                                    } 
     132                                    e.Node.Nodes.Add(node); 
     133                                } 
     134                                command.Connection.Close(); 
     135 
     136                                break; 
     137                            case 1: 
     138                                break; 
     139                            case 2: 
     140                                break; 
    133141                        } 
    134                         command.Connection.Close(); 
    135  
    136                         break; 
    137                     case 1: 
    138                         break; 
    139                     case 2: 
    140                         break; 
    141                 } 
    142             } 
    143         } 
    144 */ 
     142                    } 
     143                } 
     144        */ 
    145145 
    146146        /// <summary> 
     
    171171                MessageBox.Show("Dane pobrano!"); 
    172172            } 
    173             catch (Exception ex) 
    174             { 
    175                 MessageBox.Show(ex.GetType() + ex.Message); 
    176  
    177                 try 
    178                 { 
    179                     transaction.Rollback(); 
    180                 } 
    181                 catch (Exception ex2) 
    182                 { 
    183                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex2.Message); 
    184                 } 
    185             } 
    186  
    187             command.Connection.Close(); 
    188  
    189             rEKLAMADataSet.PLAN.Clear(); 
    190             pLANTableAdapter.FillByAgencja(rEKLAMADataSet.PLAN, rok, miesiac, agencja); 
    191             Cursor = Cursors.Default; 
     173            catch 
     174            { 
     175                transaction.Rollback(); 
     176                throw; 
     177            } 
     178            finally 
     179            { 
     180                command.Connection.Close(); 
     181                rEKLAMADataSet.PLAN.Clear(); 
     182                pLANTableAdapter.FillByAgencja(rEKLAMADataSet.PLAN, rok, miesiac, agencja); 
     183                Cursor = Cursors.Default; 
     184            } 
    192185        } 
    193186 
     
    221214                MessageBox.Show("Prowizja zosta³a zapisana!"); 
    222215            } 
    223             catch (Exception ex) 
    224             { 
    225                 MessageBox.Show(ex.GetType() + ex.Message); 
    226  
    227                 try 
    228                 { 
    229                     transaction.Rollback(); 
    230                 } 
    231                 catch (Exception ex2) 
    232                 { 
    233                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex2.Message); 
    234                 } 
    235             } 
    236  
    237             command.Connection.Close(); 
    238  
    239             rEKLAMADataSet.PLAN.Clear(); 
    240  
    241             pLANTableAdapter.FillByAgencja(rEKLAMADataSet.PLAN, rok, miesiac, agencja); 
    242  
    243             Cursor = Cursors.Default; 
     216            catch 
     217            { 
     218                transaction.Rollback(); 
     219                throw; 
     220            } 
     221            finally 
     222            { 
     223                command.Connection.Close(); 
     224 
     225                rEKLAMADataSet.PLAN.Clear(); 
     226 
     227                pLANTableAdapter.FillByAgencja(rEKLAMADataSet.PLAN, rok, miesiac, agencja); 
     228 
     229                Cursor = Cursors.Default; 
     230            } 
    244231        } 
    245232 
     
    272259                MessageBox.Show("Prowizja zosta³a naniesiona na zlecenia"); 
    273260            } 
    274             catch (Exception ex) 
    275             { 
    276                 MessageBox.Show(ex.GetType() + ex.Message); 
    277  
    278                 try 
    279                 { 
    280                     transaction.Rollback(); 
    281                 } 
    282                 catch (Exception ex2) 
    283                 { 
    284                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex.Message); 
    285                 } 
    286             } 
    287  
    288             command.Connection.Close(); 
    289  
    290             Cursor = Cursors.Default; 
    291  
    292             MessageBox.Show("Prowizja naniesiona na zlecenia"); 
    293         } 
    294  
    295         /* 
    296         private void przeliczStripButton_Click(object sender, EventArgs e) 
    297         { 
    298             if (pLANBindingSource.List.Count != 0) 
    299             { 
    300                 foreach (DataRowView r in pLANBindingSource.List) 
    301                 { 
    302                     REKLAMADataSet.PLANRow row = (REKLAMADataSet.PLANRow)r.Row; 
    303                     przelicz(row); 
    304                     pLANBindingSource.EndEdit(); 
    305                 } 
    306             } 
    307  
    308         }*/ 
    309  
    310         /* 
    311         private void przelicz(REKLAMADataSet.PLANRow row) 
    312         { 
    313  
    314             row.ECP = 0; 
    315             row.ESP = 0; 
    316             row.ELK = 0; 
    317             row.EP = 0; 
    318             row.EPK = 0; 
    319             row.EPR = 0; 
    320             row.WH = 0; 
    321             row.QO = 0; 
    322             row.OCENA = 0; 
    323  
    324             if (row.IsNull("BUDZET")) { row.BUDZET = 0; } 
    325             if (row.IsNull("REKLAMY")) { row.REKLAMY = 0; } 
    326             if (row.IsNull("W_REKLAMY")) { row.W_REKLAMY = 0; } 
    327             if (row.IsNull("W_BUDZET")) { row.W_BUDZET = 0; } 
    328             if (row.IsNull("N_KLIENCI")) { row.N_KLIENCI = 0; } 
    329             if (row.IsNull("W_N_KLIENCI")) { row.W_N_KLIENCI = 0; } 
    330             if (row.IsNull("W_SPOTKANIA")) { row.W_SPOTKANIA = 0; } 
    331             if (row.IsNull("W_TEL")) { row.W_TEL = 0; } 
    332             if (row.IsNull("W_EMAIL")) { row.W_EMAIL = 0; } 
    333             if (row.IsNull("W_FAX")) { row.W_FAX = 0; } 
    334             if (row.IsNull("W_LIST")) { row.W_LIST = 0; } 
    335             if (row.IsNull("KONTAKTY")) { row.KONTAKTY = 0; } 
    336  
    337  
    338             float W_BUDZET = Convert.ToSingle(row.W_BUDZET); 
    339             float BUDZET = Convert.ToSingle(row.BUDZET); 
    340             float W_REKLAMY = Convert.ToSingle(row.W_REKLAMY); 
    341             float REKLAMY = Convert.ToSingle(row.REKLAMY); 
    342             float W_N_KLIENCI = Convert.ToSingle(row.W_N_KLIENCI); 
    343             float N_KLIENCI = Convert.ToSingle(row.N_KLIENCI); 
    344             float W_SPOTKANIA = Convert.ToSingle(row.W_SPOTKANIA); 
    345             float W_TEL = Convert.ToSingle(row.W_TEL); 
    346             float W_EMAIL = Convert.ToSingle(row.W_EMAIL); 
    347             float W_FAX = Convert.ToSingle(row.W_FAX); 
    348             float W_LIST = Convert.ToSingle(row.W_LIST); 
    349             float KONTAKTY = Convert.ToSingle(row.KONTAKTY); 
    350             float JAKOSC_KORESPONDENCJI = Convert.ToSingle(row.JAKOSC_KORESPONDENCJI); 
    351             float JAKOSC_OFERT = Convert.ToSingle(row.JAKOSC_OFERT); 
    352             float JAKOSC_ROZMOWY_TEL = Convert.ToSingle(row.JAKOSC_ROZMOWY_TEL); 
    353             float JAKOSC_SPOTKAN = Convert.ToSingle(row.JAKOSC_SPOTKAN); 
    354             float WIEDZA_O_FIRMIE = Convert.ToSingle(row.WIEDZA_O_FIRMIE); 
    355             float WIEDZA_O_PRODUKCIE = Convert.ToSingle(row.WIEDZA_O_PRODUKCIE); 
    356             float WIEDZA_O_RYNKU = Convert.ToSingle(row.WIEDZA_O_RYNKU); 
    357             float WIEDZA_OGOLNO_HANDLOWA = Convert.ToSingle(row.WIEDZA_OGOLNO_HANDLOWA); 
    358  
    359             if (BUDZET != 0) 
    360             { 
    361                 row.EP = 100 * W_BUDZET / BUDZET; 
    362             } 
    363  
    364             if (REKLAMY != 0) 
    365             { 
    366                 row.ESP = 100 * W_REKLAMY / REKLAMY; 
    367             } 
    368  
    369             if ((REKLAMY != 0) && (W_REKLAMY != 0)) 
    370             { 
    371                 row.EPR = 100 * (W_BUDZET/W_REKLAMY)/(BUDZET/REKLAMY); 
    372             } 
    373  
    374             if (N_KLIENCI != 0)  
    375             { 
    376                 row.EPK = 100 * (W_N_KLIENCI/N_KLIENCI); 
    377             } 
    378  
    379             row.ECP = 100 * ((120 * W_SPOTKANIA + 5 * W_TEL + 30 * W_EMAIL + 30 * W_FAX + 30 * W_LIST) / (20 * 7 * 60)); 
    380  
    381             if (KONTAKTY != 0)  
    382             {  
    383                 row.ELK = 100 * ((W_SPOTKANIA + W_TEL + W_EMAIL + W_FAX + W_LIST) / KONTAKTY); 
    384             } 
    385  
    386             row.QO = 100 * (JAKOSC_KORESPONDENCJI / 10 + JAKOSC_OFERT / 10 + JAKOSC_ROZMOWY_TEL / 10 + JAKOSC_SPOTKAN / 10) / 4; 
    387             row.WH = 100 * (WIEDZA_O_FIRMIE / 10 + WIEDZA_O_PRODUKCIE / 10 + WIEDZA_O_RYNKU / 10 + WIEDZA_OGOLNO_HANDLOWA / 10) / 4; 
    388             row.OCENA = (float)Math.Round(((row.WH + row.QO + row.ELK + row.ECP + row.EPK + 1 * row.EPR + 1 * row.ESP + 1 * row.EP) / 8), 2); 
    389         } 
    390         */ 
     261            catch 
     262            { 
     263                transaction.Rollback(); 
     264                throw; 
     265            } 
     266            finally 
     267            { 
     268                command.Connection.Close(); 
     269                Cursor = Cursors.Default; 
     270                MessageBox.Show("Prowizja naniesiona na zlecenia"); 
     271            } 
     272        } 
    391273 
    392274        private void dodajPlanToolStripButton_Click(object sender, EventArgs e) 
     
    423305        } 
    424306 
    425 /* 
    426         private void ukryjKolumnyToolStripButton_Click(object sender, EventArgs e) 
    427         { 
    428             rOKDataGridViewTextBoxColumn.Visible = rOKDataGridViewTextBoxColumn.Visible ? false : true; 
    429  
    430             mSDataGridViewTextBoxColumn.Visible = mSDataGridViewTextBoxColumn.Visible ? false : true; 
    431         } 
    432 */ 
     307        /* 
     308                private void ukryjKolumnyToolStripButton_Click(object sender, EventArgs e) 
     309                { 
     310                    rOKDataGridViewTextBoxColumn.Visible = rOKDataGridViewTextBoxColumn.Visible ? false : true; 
     311 
     312                    mSDataGridViewTextBoxColumn.Visible = mSDataGridViewTextBoxColumn.Visible ? false : true; 
     313                } 
     314        */ 
    433315 
    434316        private void prowizjeDataGridView_Leave(object sender, EventArgs e) 
     
    756638                MessageBox.Show("Prowizja zosta³a naniesiona na zlecenia"); 
    757639            } 
    758             catch (Exception ex) 
    759             { 
    760                 MessageBox.Show(ex.GetType() + ex.Message); 
    761  
    762                 try 
    763                 { 
    764                     transaction.Rollback(); 
    765                 } 
    766                 catch (Exception ex2) 
    767                 { 
    768                     MessageBox.Show("ROLLBACK:" + ex2.GetType() + ex.Message); 
    769                 } 
    770             } 
    771  
    772             command.Connection.Close(); 
    773  
    774             Cursor = Cursors.Default; 
    775  
    776             MessageBox.Show("Prowizja naniesiona na zlecenia"); 
     640            catch (Exception) 
     641            { 
     642                transaction.Rollback(); 
     643                throw; 
     644            } 
     645            finally 
     646            { 
     647                command.Connection.Close(); 
     648                Cursor = Cursors.Default; 
     649            } 
    777650        } 
    778651    } 
  • branches/ErrorLog/BazaReklam/Raporty/ReportsTree.xml

    r470 r553  
    6565      <Report text="Raport testowy" path="testowyAll" rights="" /> 
    6666      <Report text="Raport testowy 2" path="testowyAll2" rights="" /> 
     67      <Report text="Log błędów aplikacji" path="ErrorLog" rights="k" /> 
    6768    </Report> 
    6869    <Report text="Koszty biur"> 
  • branches/ErrorLog/BazaReklam/StartForm.cs

    r503 r553  
    338338                sqlDataAdapter.Fill(rEKLAMADataSet.zastawienieKontaktow); 
    339339            } 
    340             catch (Exception e1) 
    341             { 
    342                 MessageBox.Show(e1.Message); 
    343             } 
    344  
    345             Cursor = Cursors.Default; 
    346  
     340            finally 
     341            { 
     342                Cursor = Cursors.Default;                 
     343            } 
    347344        } 
    348345 
  • branches/ErrorLog/BazaReklam/ZamowieniaForm.cs

    r549 r553  
    393393                        conn.Close(); 
    394394                } 
    395             } 
    396             catch (Exception e2) 
    397             { 
    398                 MessageBox.Show("Wyst¹pi³ b³¹d: \n" + e2); 
    399395            } 
    400396            finally 
     
    874870                    } 
    875871                } 
    876                 catch (Exception e2) 
    877                 { 
    878                     MessageBox.Show("Wyst¹pi³ b³¹d: \n" + e2); 
    879                 } 
    880872                finally 
    881873                { 
     
    885877                    fAKTURYBindingSource.ResetBindings(false); 
    886878                    fAKTURYDataGridView.Refresh(); 
     879                    Cursor = Cursors.Default; 
    887880                } 
    888881            } 
    889882 
    890883            RestoreConnections(); 
    891  
    892             Cursor = Cursors.Default; 
    893884        } 
    894885 
     
    13511342            { 
    13521343                transaction.Rollback(); 
     1344                throw; 
    13531345            } 
    13541346            finally 
  • branches/ErrorLog/BazaReklam/ZestawienieZamowienForm.cs

    r399 r553  
    278278 
    279279            command.Parameters.Clear(); 
    280                        
     280 
    281281            if (nrZamToolStripTextBox.Text.Trim() != "") 
    282282            { 
     
    291291                command.Parameters.AddWithValue("@nr", nrZamToolStripTextBox.Text.Trim()); 
    292292            } 
    293                       
     293 
    294294            if (rokToolStripTextBox.Text.Trim() != "") 
    295295            { 
     
    308308            { 
    309309                int i; 
    310                 if (!Int32.TryParse(txtMiesiac.Text.Trim(), out i) || i>12 || i<=0) 
     310                if (!Int32.TryParse(txtMiesiac.Text.Trim(), out i) || i > 12 || i <= 0) 
    311311                { 
    312312                    MessageBox.Show("Podaj prawid³owy miesi¹c."); 
     
    317317                command.Parameters.AddWithValue("@ms", txtMiesiac.Text.Trim()); 
    318318            } 
    319                          
     319 
    320320            if (kodRozliczeniowyToolStripTextBox.Text.Trim() != "") 
    321321            { 
     
    345345                commandExecuted = true; 
    346346            } 
    347             catch (Exception e1) 
    348             { 
    349                 MessageBox.Show(e1.Message); 
    350             } 
    351  
    352             treeView1.CollapseAll(); 
    353             treeView1.SelectedNode = null; 
    354  
    355             Cursor = Cursors.Default; 
     347            finally 
     348            { 
     349                treeView1.CollapseAll(); 
     350                treeView1.SelectedNode = null; 
     351                Cursor = Cursors.Default; 
     352            } 
    356353        } 
    357354 
  • branches/ErrorLog/BazaReklam/app.config

    r549 r553  
    88  <connectionStrings> 
    99    <clear /> 
    10     <add name="BAZA_REKLAM_TEST" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST;Persist Security Info=True" 
    11       providerName="System.Data.SqlClient" /> 
    1210    <add name="BAZA_REKLAM" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM;Persist Security Info=True" 
    1311      providerName="System.Data.SqlClient" /> 
     
    3129    <add key="Application.Version.Url" value="http://www.infocity.pl/baza_reklam/versioninfo.html#{0}" /> 
    3230    <add key="Application.Instruction.Url" value="http://www.infocity.pl/baza_reklam/instrukcja.htm" /> 
     31    <add key="Application.Email.Smtp" value="poczta.ct.com.pl" /> 
     32    <add key="Application.Email.From" value="baza_reklam@ct.com.pl" /> 
     33    <add key="Application.Email.To" value="marek.stachura@ct.com.pl" /> 
    3334  </appSettings> 
    3435</configuration> 
  • branches/ErrorLog/BazaReklamSetup/BazaReklamSetup.vdproj

    r552 r553  
    1616        "Entry" 
    1717        { 
    18         "MsmKey" = "8:_135B2D9B7FCFB80D465861D39A152401" 
    19         "OwnerKey" = "8:_EB843BFFB9344F29AF52E5F834254602" 
    20         "MsmSig" = "8:_UNDEFINED" 
    21         } 
    22         "Entry" 
    23         { 
    24         "MsmKey" = "8:_135B2D9B7FCFB80D465861D39A152401" 
    25         "OwnerKey" = "8:_C68843D336D1FA86D4CB277E88BE49CE" 
    26         "MsmSig" = "8:_UNDEFINED" 
    27         } 
    28         "Entry" 
    29         { 
    30         "MsmKey" = "8:_135B2D9B7FCFB80D465861D39A152401" 
    31         "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
    32         "MsmSig" = "8:_UNDEFINED" 
    33         } 
    34         "Entry" 
    35         { 
    36         "MsmKey" = "8:_135B2D9B7FCFB80D465861D39A152401" 
    37         "OwnerKey" = "8:_E949949BEB2DFFD45A0493C54D411F71" 
    38         "MsmSig" = "8:_UNDEFINED" 
    39         } 
    40         "Entry" 
    41         { 
    4218        "MsmKey" = "8:_15C4040CC2276248801B89EABAE2C08B" 
    43         "OwnerKey" = "8:_C68843D336D1FA86D4CB277E88BE49CE" 
     19        "OwnerKey" = "8:_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
    4420        "MsmSig" = "8:_UNDEFINED" 
    4521        } 
     
    5935        { 
    6036        "MsmKey" = "8:_591691C9896FA27184B009788E05FC3A" 
    61         "OwnerKey" = "8:_E949949BEB2DFFD45A0493C54D411F71" 
    62         "MsmSig" = "8:_UNDEFINED" 
    63         } 
    64         "Entry" 
    65         { 
    66         "MsmKey" = "8:_6B147635F691E9F953EF2C77A92C9D13" 
    67         "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
    68         "MsmSig" = "8:_UNDEFINED" 
    69         } 
    70         "Entry" 
    71         { 
    72         "MsmKey" = "8:_6B147635F691E9F953EF2C77A92C9D13" 
    73         "OwnerKey" = "8:_D15FD85A8EA74B8CA30CC438F895CAED" 
     37        "OwnerKey" = "8:_F3961A8B168E9A3263EC3DF57227B204" 
    7438        "MsmSig" = "8:_UNDEFINED" 
    7539        } 
     
    8246        "Entry" 
    8347        { 
     48        "MsmKey" = "8:_6E947353040D3C1E500C0457AD47D8BA" 
     49        "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
     50        "MsmSig" = "8:_UNDEFINED" 
     51        } 
     52        "Entry" 
     53        { 
     54        "MsmKey" = "8:_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
     55        "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
     56        "MsmSig" = "8:_UNDEFINED" 
     57        } 
     58        "Entry" 
     59        { 
    8460        "MsmKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
    8561        "OwnerKey" = "8:_UNDEFINED" 
     
    8965        { 
    9066        "MsmKey" = "8:_81209E5699A9F4F3741B8B24D034F5A2" 
    91         "OwnerKey" = "8:_EB843BFFB9344F29AF52E5F834254602" 
     67        "OwnerKey" = "8:_6E947353040D3C1E500C0457AD47D8BA" 
    9268        "MsmSig" = "8:_UNDEFINED" 
    9369        } 
     
    10076        "Entry" 
    10177        { 
     78        "MsmKey" = "8:_A52929DB9BBECAC39FB45B813924E8F6" 
     79        "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
     80        "MsmSig" = "8:_UNDEFINED" 
     81        } 
     82        "Entry" 
     83        { 
     84        "MsmKey" = "8:_A52929DB9BBECAC39FB45B813924E8F6" 
     85        "OwnerKey" = "8:_D15FD85A8EA74B8CA30CC438F895CAED" 
     86        "MsmSig" = "8:_UNDEFINED" 
     87        } 
     88        "Entry" 
     89        { 
    10290        "MsmKey" = "8:_B7492250D3DFC9E86EDFC1F888FB6225" 
    103         "OwnerKey" = "8:_135B2D9B7FCFB80D465861D39A152401" 
    104         "MsmSig" = "8:_UNDEFINED" 
    105         } 
    106         "Entry" 
    107         { 
    108         "MsmKey" = "8:_C68843D336D1FA86D4CB277E88BE49CE" 
    109         "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
     91        "OwnerKey" = "8:_F17F0FECF6080423B899A153C558F3C1" 
    11092        "MsmSig" = "8:_UNDEFINED" 
    11193        } 
     
    11395        { 
    11496        "MsmKey" = "8:_C751428F558B315101A15D052C6F2C37" 
    115         "OwnerKey" = "8:_6B147635F691E9F953EF2C77A92C9D13" 
     97        "OwnerKey" = "8:_A52929DB9BBECAC39FB45B813924E8F6" 
    11698        "MsmSig" = "8:_UNDEFINED" 
    11799        } 
     
    136118        "Entry" 
    137119        { 
    138         "MsmKey" = "8:_E949949BEB2DFFD45A0493C54D411F71" 
    139         "OwnerKey" = "8:_EB843BFFB9344F29AF52E5F834254602" 
    140         "MsmSig" = "8:_UNDEFINED" 
    141         } 
    142         "Entry" 
    143         { 
    144         "MsmKey" = "8:_E949949BEB2DFFD45A0493C54D411F71" 
    145         "OwnerKey" = "8:_C68843D336D1FA86D4CB277E88BE49CE" 
    146         "MsmSig" = "8:_UNDEFINED" 
    147         } 
    148         "Entry" 
    149         { 
    150         "MsmKey" = "8:_E949949BEB2DFFD45A0493C54D411F71" 
     120        "MsmKey" = "8:_F17F0FECF6080423B899A153C558F3C1" 
     121        "OwnerKey" = "8:_6E947353040D3C1E500C0457AD47D8BA" 
     122        "MsmSig" = "8:_UNDEFINED" 
     123        } 
     124        "Entry" 
     125        { 
     126        "MsmKey" = "8:_F17F0FECF6080423B899A153C558F3C1" 
     127        "OwnerKey" = "8:_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
     128        "MsmSig" = "8:_UNDEFINED" 
     129        } 
     130        "Entry" 
     131        { 
     132        "MsmKey" = "8:_F17F0FECF6080423B899A153C558F3C1" 
    151133        "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
    152134        "MsmSig" = "8:_UNDEFINED" 
     
    154136        "Entry" 
    155137        { 
    156         "MsmKey" = "8:_EB843BFFB9344F29AF52E5F834254602" 
     138        "MsmKey" = "8:_F17F0FECF6080423B899A153C558F3C1" 
     139        "OwnerKey" = "8:_F3961A8B168E9A3263EC3DF57227B204" 
     140        "MsmSig" = "8:_UNDEFINED" 
     141        } 
     142        "Entry" 
     143        { 
     144        "MsmKey" = "8:_F3961A8B168E9A3263EC3DF57227B204" 
     145        "OwnerKey" = "8:_6E947353040D3C1E500C0457AD47D8BA" 
     146        "MsmSig" = "8:_UNDEFINED" 
     147        } 
     148        "Entry" 
     149        { 
     150        "MsmKey" = "8:_F3961A8B168E9A3263EC3DF57227B204" 
     151        "OwnerKey" = "8:_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
     152        "MsmSig" = "8:_UNDEFINED" 
     153        } 
     154        "Entry" 
     155        { 
     156        "MsmKey" = "8:_F3961A8B168E9A3263EC3DF57227B204" 
    157157        "OwnerKey" = "8:_78F7FF4DBAE741BDB144A21AB75A662F" 
    158158        "MsmSig" = "8:_UNDEFINED" 
     
    191191        { 
    192192        "MsmKey" = "8:_UNDEFINED" 
    193         "OwnerKey" = "8:_C68843D336D1FA86D4CB277E88BE49CE" 
     193        "OwnerKey" = "8:_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
    194194        "MsmSig" = "8:_UNDEFINED" 
    195195        } 
     
    197197        { 
    198198        "MsmKey" = "8:_UNDEFINED" 
    199         "OwnerKey" = "8:_6B147635F691E9F953EF2C77A92C9D13" 
     199        "OwnerKey" = "8:_A52929DB9BBECAC39FB45B813924E8F6" 
    200200        "MsmSig" = "8:_UNDEFINED" 
    201201        } 
     
    203203        { 
    204204        "MsmKey" = "8:_UNDEFINED" 
    205         "OwnerKey" = "8:_EB843BFFB9344F29AF52E5F834254602" 
     205        "OwnerKey" = "8:_6E947353040D3C1E500C0457AD47D8BA" 
    206206        "MsmSig" = "8:_UNDEFINED" 
    207207        } 
     
    209209        { 
    210210        "MsmKey" = "8:_UNDEFINED" 
    211         "OwnerKey" = "8:_E949949BEB2DFFD45A0493C54D411F71" 
     211        "OwnerKey" = "8:_F3961A8B168E9A3263EC3DF57227B204" 
    212212        "MsmSig" = "8:_UNDEFINED" 
    213213        } 
     
    215215        { 
    216216        "MsmKey" = "8:_UNDEFINED" 
    217         "OwnerKey" = "8:_135B2D9B7FCFB80D465861D39A152401" 
     217        "OwnerKey" = "8:_F17F0FECF6080423B899A153C558F3C1" 
    218218        "MsmSig" = "8:_UNDEFINED" 
    219219        } 
     
    308308        "File" 
    309309        { 
    310             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_135B2D9B7FCFB80D465861D39A152401" 
     310            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_15C4040CC2276248801B89EABAE2C08B" 
     311            { 
     312            "SourcePath" = "8:MSWORD9.OLB" 
     313            "TargetName" = "8:MSWORD9.OLB" 
     314            "Tag" = "8:" 
     315            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     316            "Condition" = "8:" 
     317            "Transitive" = "11:FALSE" 
     318            "Vital" = "11:TRUE" 
     319            "ReadOnly" = "11:FALSE" 
     320            "Hidden" = "11:FALSE" 
     321            "System" = "11:FALSE" 
     322            "Permanent" = "11:FALSE" 
     323            "SharedLegacy" = "11:FALSE" 
     324            "PackageAs" = "3:1" 
     325            "Register" = "3:1" 
     326            "Exclude" = "11:FALSE" 
     327            "IsDependency" = "11:TRUE" 
     328            "IsolateTo" = "8:" 
     329            } 
     330            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4068BC85DD06B056F2F74C29CC9C2FF6" 
     331            { 
     332            "AssemblyRegister" = "3:1" 
     333            "AssemblyIsInGAC" = "11:FALSE" 
     334            "AssemblyAsmDisplayName" = "8:Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
     335                "ScatterAssemblies" 
     336                { 
     337                    "_4068BC85DD06B056F2F74C29CC9C2FF6" 
     338                    { 
     339                    "Name" = "8:Microsoft.ReportViewer.Common.dll" 
     340                    "Attributes" = "3:512" 
     341                    } 
     342                } 
     343            "SourcePath" = "8:Microsoft.ReportViewer.Common.dll" 
     344            "TargetName" = "8:" 
     345            "Tag" = "8:" 
     346            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     347            "Condition" = "8:" 
     348            "Transitive" = "11:FALSE" 
     349            "Vital" = "11:TRUE" 
     350            "ReadOnly" = "11:FALSE" 
     351            "Hidden" = "11:FALSE" 
     352            "System" = "11:FALSE" 
     353            "Permanent" = "11:FALSE" 
     354            "SharedLegacy" = "11:FALSE" 
     355            "PackageAs" = "3:1" 
     356            "Register" = "3:1" 
     357            "Exclude" = "11:FALSE" 
     358            "IsDependency" = "11:TRUE" 
     359            "IsolateTo" = "8:" 
     360            } 
     361            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_591691C9896FA27184B009788E05FC3A" 
     362            { 
     363            "SourcePath" = "8:VBE6EXT.OLB" 
     364            "TargetName" = "8:VBE6EXT.OLB" 
     365            "Tag" = "8:" 
     366            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     367            "Condition" = "8:" 
     368            "Transitive" = "11:FALSE" 
     369            "Vital" = "11:TRUE" 
     370            "ReadOnly" = "11:FALSE" 
     371            "Hidden" = "11:FALSE" 
     372            "System" = "11:FALSE" 
     373            "Permanent" = "11:FALSE" 
     374            "SharedLegacy" = "11:FALSE" 
     375            "PackageAs" = "3:1" 
     376            "Register" = "3:1" 
     377            "Exclude" = "11:FALSE" 
     378            "IsDependency" = "11:TRUE" 
     379            "IsolateTo" = "8:" 
     380            } 
     381            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6C6DB793A8DA3CF4F3943CD8BBC6D521" 
     382            { 
     383            "AssemblyRegister" = "3:1" 
     384            "AssemblyIsInGAC" = "11:FALSE" 
     385            "AssemblyAsmDisplayName" = "8:Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
     386                "ScatterAssemblies" 
     387                { 
     388                    "_6C6DB793A8DA3CF4F3943CD8BBC6D521" 
     389                    { 
     390                    "Name" = "8:Microsoft.ReportViewer.WinForms.dll" 
     391                    "Attributes" = "3:512" 
     392                    } 
     393                } 
     394            "SourcePath" = "8:Microsoft.ReportViewer.WinForms.dll" 
     395            "TargetName" = "8:" 
     396            "Tag" = "8:" 
     397            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     398            "Condition" = "8:" 
     399            "Transitive" = "11:FALSE" 
     400            "Vital" = "11:TRUE" 
     401            "ReadOnly" = "11:FALSE" 
     402            "Hidden" = "11:FALSE" 
     403            "System" = "11:FALSE" 
     404            "Permanent" = "11:FALSE" 
     405            "SharedLegacy" = "11:FALSE" 
     406            "PackageAs" = "3:1" 
     407            "Register" = "3:1" 
     408            "Exclude" = "11:FALSE" 
     409            "IsDependency" = "11:TRUE" 
     410            "IsolateTo" = "8:" 
     411            } 
     412            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6E947353040D3C1E500C0457AD47D8BA" 
     413            { 
     414            "AssemblyRegister" = "3:1" 
     415            "AssemblyIsInGAC" = "11:FALSE" 
     416            "AssemblyAsmDisplayName" = "8:Interop.Excel, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL" 
     417                "ScatterAssemblies" 
     418                { 
     419                    "_6E947353040D3C1E500C0457AD47D8BA" 
     420                    { 
     421                    "Name" = "8:Interop.Excel.dll" 
     422                    "Attributes" = "3:512" 
     423                    } 
     424                } 
     425            "SourcePath" = "8:Interop.Excel.dll" 
     426            "TargetName" = "8:" 
     427            "Tag" = "8:" 
     428            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     429            "Condition" = "8:" 
     430            "Transitive" = "11:FALSE" 
     431            "Vital" = "11:TRUE" 
     432            "ReadOnly" = "11:FALSE" 
     433            "Hidden" = "11:FALSE" 
     434            "System" = "11:FALSE" 
     435            "Permanent" = "11:FALSE" 
     436            "SharedLegacy" = "11:FALSE" 
     437            "PackageAs" = "3:1" 
     438            "Register" = "3:1" 
     439            "Exclude" = "11:FALSE" 
     440            "IsDependency" = "11:TRUE" 
     441            "IsolateTo" = "8:" 
     442            } 
     443            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
     444            { 
     445            "AssemblyRegister" = "3:1" 
     446            "AssemblyIsInGAC" = "11:FALSE" 
     447            "AssemblyAsmDisplayName" = "8:Interop.Word, Version=8.1.0.0, Culture=neutral, processorArchitecture=MSIL" 
     448                "ScatterAssemblies" 
     449                { 
     450                    "_6F4DE5DBF92ABD8F84DB369A11E4CC6B" 
     451                    { 
     452                    "Name" = "8:Interop.Word.dll" 
     453                    "Attributes" = "3:512" 
     454                    } 
     455                } 
     456            "SourcePath" = "8:Interop.Word.dll" 
     457            "TargetName" = "8:" 
     458            "Tag" = "8:" 
     459            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     460            "Condition" = "8:" 
     461            "Transitive" = "11:FALSE" 
     462            "Vital" = "11:TRUE" 
     463            "ReadOnly" = "11:FALSE" 
     464            "Hidden" = "11:FALSE" 
     465            "System" = "11:FALSE" 
     466            "Permanent" = "11:FALSE" 
     467            "SharedLegacy" = "11:FALSE" 
     468            "PackageAs" = "3:1" 
     469            "Register" = "3:1" 
     470            "Exclude" = "11:FALSE" 
     471            "IsDependency" = "11:TRUE" 
     472            "IsolateTo" = "8:" 
     473            } 
     474            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_81209E5699A9F4F3741B8B24D034F5A2" 
     475            { 
     476            "SourcePath" = "8:EXCEL9.OLB" 
     477            "TargetName" = "8:EXCEL9.OLB" 
     478            "Tag" = "8:" 
     479            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     480            "Condition" = "8:" 
     481            "Transitive" = "11:FALSE" 
     482            "Vital" = "11:TRUE" 
     483            "ReadOnly" = "11:FALSE" 
     484            "Hidden" = "11:FALSE" 
     485            "System" = "11:FALSE" 
     486            "Permanent" = "11:FALSE" 
     487            "SharedLegacy" = "11:FALSE" 
     488            "PackageAs" = "3:1" 
     489            "Register" = "3:1" 
     490            "Exclude" = "11:FALSE" 
     491            "IsDependency" = "11:TRUE" 
     492            "IsolateTo" = "8:" 
     493            } 
     494            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_90355BBD5BDA4A8FB195EB7C7A954ADA" 
     495            { 
     496            "SourcePath" = "8:..\\BazaReklam\\cab.ico" 
     497            "TargetName" = "8:cab.ico" 
     498            "Tag" = "8:" 
     499            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     500            "Condition" = "8:" 
     501            "Transitive" = "11:FALSE" 
     502            "Vital" = "11:TRUE" 
     503            "ReadOnly" = "11:FALSE" 
     504            "Hidden" = "11:FALSE" 
     505            "System" = "11:FALSE" 
     506            "Permanent" = "11:FALSE" 
     507            "SharedLegacy" = "11:FALSE" 
     508            "PackageAs" = "3:1" 
     509            "Register" = "3:1" 
     510            "Exclude" = "11:FALSE" 
     511            "IsDependency" = "11:FALSE" 
     512            "IsolateTo" = "8:" 
     513            } 
     514            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A52929DB9BBECAC39FB45B813924E8F6" 
     515            { 
     516            "AssemblyRegister" = "3:1" 
     517            "AssemblyIsInGAC" = "11:FALSE" 
     518            "AssemblyAsmDisplayName" = "8:Interop.Shell32, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" 
     519                "ScatterAssemblies" 
     520                { 
     521                    "_A52929DB9BBECAC39FB45B813924E8F6" 
     522                    { 
     523                    "Name" = "8:Interop.Shell32.dll" 
     524                    "Attributes" = "3:512" 
     525                    } 
     526                } 
     527            "SourcePath" = "8:Interop.Shell32.dll" 
     528            "TargetName" = "8:" 
     529            "Tag" = "8:" 
     530            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     531            "Condition" = "8:" 
     532            "Transitive" = "11:FALSE" 
     533            "Vital" = "11:TRUE" 
     534            "ReadOnly" = "11:FALSE" 
     535            "Hidden" = "11:FALSE" 
     536            "System" = "11:FALSE" 
     537            "Permanent" = "11:FALSE" 
     538            "SharedLegacy" = "11:FALSE" 
     539            "PackageAs" = "3:1" 
     540            "Register" = "3:1" 
     541            "Exclude" = "11:FALSE" 
     542            "IsDependency" = "11:TRUE" 
     543            "IsolateTo" = "8:" 
     544            } 
     545            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B7492250D3DFC9E86EDFC1F888FB6225" 
     546            { 
     547            "SourcePath" = "8:MSO9.DLL" 
     548            "TargetName" = "8:MSO9.DLL" 
     549            "Tag" = "8:" 
     550            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     551            "Condition" = "8:" 
     552            "Transitive" = "11:FALSE" 
     553            "Vital" = "11:TRUE" 
     554            "ReadOnly" = "11:FALSE" 
     555            "Hidden" = "11:FALSE" 
     556            "System" = "11:FALSE" 
     557            "Permanent" = "11:FALSE" 
     558            "SharedLegacy" = "11:FALSE" 
     559            "PackageAs" = "3:1" 
     560            "Register" = "3:1" 
     561            "Exclude" = "11:FALSE" 
     562            "IsDependency" = "11:TRUE" 
     563            "IsolateTo" = "8:" 
     564            } 
     565            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C751428F558B315101A15D052C6F2C37" 
     566            { 
     567            "SourcePath" = "8:SHELL32.dll" 
     568            "TargetName" = "8:SHELL32.dll" 
     569            "Tag" = "8:" 
     570            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     571            "Condition" = "8:" 
     572            "Transitive" = "11:FALSE" 
     573            "Vital" = "11:TRUE" 
     574            "ReadOnly" = "11:FALSE" 
     575            "Hidden" = "11:FALSE" 
     576            "System" = "11:FALSE" 
     577            "Permanent" = "11:FALSE" 
     578            "SharedLegacy" = "11:FALSE" 
     579            "PackageAs" = "3:1" 
     580            "Register" = "3:1" 
     581            "Exclude" = "11:FALSE" 
     582            "IsDependency" = "11:TRUE" 
     583            "IsolateTo" = "8:" 
     584            } 
     585            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CC2D346B584D9209A0B0C23E19E16393" 
     586            { 
     587            "AssemblyRegister" = "3:1" 
     588            "AssemblyIsInGAC" = "11:TRUE" 
     589            "AssemblyAsmDisplayName" = "8:Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
     590                "ScatterAssemblies" 
     591                { 
     592                    "_CC2D346B584D9209A0B0C23E19E16393" 
     593                    { 
     594                    "Name" = "8:Microsoft.ReportViewer.ProcessingObjectModel.dll" 
     595                    "Attributes" = "3:512" 
     596                    } 
     597                } 
     598            "SourcePath" = "8:Microsoft.ReportViewer.ProcessingObjectModel.dll" 
     599            "TargetName" = "8:" 
     600            "Tag" = "8:" 
     601            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     602            "Condition" = "8:" 
     603            "Transitive" = "11:FALSE" 
     604            "Vital" = "11:TRUE" 
     605            "ReadOnly" = "11:FALSE" 
     606            "Hidden" = "11:FALSE" 
     607            "System" = "11:FALSE" 
     608            "Permanent" = "11:FALSE" 
     609            "SharedLegacy" = "11:FALSE" 
     610            "PackageAs" = "3:1" 
     611            "Register" = "3:1" 
     612            "Exclude" = "11:FALSE" 
     613            "IsDependency" = "11:TRUE" 
     614            "IsolateTo" = "8:" 
     615            } 
     616            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D15FD85A8EA74B8CA30CC438F895CAED" 
     617            { 
     618            "AssemblyRegister" = "3:1" 
     619            "AssemblyIsInGAC" = "11:FALSE" 
     620            "AssemblyAsmDisplayName" = "8:Updater, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" 
     621                "ScatterAssemblies" 
     622                { 
     623                    "_D15FD85A8EA74B8CA30CC438F895CAED" 
     624                    { 
     625                    "Name" = "8:Updater.exe" 
     626                    "Attributes" = "3:512" 
     627                    } 
     628                } 
     629            "SourcePath" = "8:..\\lib\\Updater.exe" 
     630            "TargetName" = "8:" 
     631            "Tag" = "8:" 
     632            "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
     633            "Condition" = "8:" 
     634            "Transitive" = "11:FALSE" 
     635            "Vital" = "11:TRUE" 
     636            "ReadOnly" = "11:FALSE" 
     637            "Hidden" = "11:FALSE" 
     638            "System" = "11:FALSE" 
     639            "Permanent" = "11:FALSE" 
     640            "SharedLegacy" = "11:FALSE" 
     641            "PackageAs" = "3:1" 
     642            "Register" = "3:1" 
     643            "Exclude" = "11:FALSE" 
     644            "IsDependency" = "11:FALSE" 
     645            "IsolateTo" = "8:" 
     646            } 
     647            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F17F0FECF6080423B899A153C558F3C1" 
    311648            { 
    312649            "AssemblyRegister" = "3:1" 
     
    315652                "ScatterAssemblies" 
    316653                { 
    317                     "_135B2D9B7FCFB80D465861D39A152401" 
     654                    "_F17F0FECF6080423B899A153C558F3C1" 
    318655                    { 
    319656                    "Name" = "8:Interop.Office.dll" 
     
    339676            "IsolateTo" = "8:" 
    340677            } 
    341             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_15C4040CC2276248801B89EABAE2C08B" 
    342             { 
    343             "SourcePath" = "8:MSWORD9.OLB" 
    344             "TargetName" = "8:MSWORD9.OLB" 
    345             "Tag" = "8:" 
    346             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    347             "Condition" = "8:" 
    348             "Transitive" = "11:FALSE" 
    349             "Vital" = "11:TRUE" 
    350             "ReadOnly" = "11:FALSE" 
    351             "Hidden" = "11:FALSE" 
    352             "System" = "11:FALSE" 
    353             "Permanent" = "11:FALSE" 
    354             "SharedLegacy" = "11:FALSE" 
    355             "PackageAs" = "3:1" 
    356             "Register" = "3:1" 
    357             "Exclude" = "11:FALSE" 
    358             "IsDependency" = "11:TRUE" 
    359             "IsolateTo" = "8:" 
    360             } 
    361             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_4068BC85DD06B056F2F74C29CC9C2FF6" 
    362             { 
    363             "AssemblyRegister" = "3:1" 
    364             "AssemblyIsInGAC" = "11:FALSE" 
    365             "AssemblyAsmDisplayName" = "8:Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
    366                 "ScatterAssemblies" 
    367                 { 
    368                     "_4068BC85DD06B056F2F74C29CC9C2FF6" 
    369                     { 
    370                     "Name" = "8:Microsoft.ReportViewer.Common.dll" 
    371                     "Attributes" = "3:512" 
    372                     } 
    373                 } 
    374             "SourcePath" = "8:Microsoft.ReportViewer.Common.dll" 
    375             "TargetName" = "8:" 
    376             "Tag" = "8:" 
    377             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    378             "Condition" = "8:" 
    379             "Transitive" = "11:FALSE" 
    380             "Vital" = "11:TRUE" 
    381             "ReadOnly" = "11:FALSE" 
    382             "Hidden" = "11:FALSE" 
    383             "System" = "11:FALSE" 
    384             "Permanent" = "11:FALSE" 
    385             "SharedLegacy" = "11:FALSE" 
    386             "PackageAs" = "3:1" 
    387             "Register" = "3:1" 
    388             "Exclude" = "11:FALSE" 
    389             "IsDependency" = "11:TRUE" 
    390             "IsolateTo" = "8:" 
    391             } 
    392             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_591691C9896FA27184B009788E05FC3A" 
    393             { 
    394             "SourcePath" = "8:VBE6EXT.OLB" 
    395             "TargetName" = "8:VBE6EXT.OLB" 
    396             "Tag" = "8:" 
    397             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    398             "Condition" = "8:" 
    399             "Transitive" = "11:FALSE" 
    400             "Vital" = "11:TRUE" 
    401             "ReadOnly" = "11:FALSE" 
    402             "Hidden" = "11:FALSE" 
    403             "System" = "11:FALSE" 
    404             "Permanent" = "11:FALSE" 
    405             "SharedLegacy" = "11:FALSE" 
    406             "PackageAs" = "3:1" 
    407             "Register" = "3:1" 
    408             "Exclude" = "11:FALSE" 
    409             "IsDependency" = "11:TRUE" 
    410             "IsolateTo" = "8:" 
    411             } 
    412             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6B147635F691E9F953EF2C77A92C9D13" 
    413             { 
    414             "AssemblyRegister" = "3:1" 
    415             "AssemblyIsInGAC" = "11:FALSE" 
    416             "AssemblyAsmDisplayName" = "8:Interop.Shell32, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" 
    417                 "ScatterAssemblies" 
    418                 { 
    419                     "_6B147635F691E9F953EF2C77A92C9D13" 
    420                     { 
    421                     "Name" = "8:Interop.Shell32.dll" 
    422                     "Attributes" = "3:512" 
    423                     } 
    424                 } 
    425             "SourcePath" = "8:Interop.Shell32.dll" 
    426             "TargetName" = "8:" 
    427             "Tag" = "8:" 
    428             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    429             "Condition" = "8:" 
    430             "Transitive" = "11:FALSE" 
    431             "Vital" = "11:TRUE" 
    432             "ReadOnly" = "11:FALSE" 
    433             "Hidden" = "11:FALSE" 
    434             "System" = "11:FALSE" 
    435             "Permanent" = "11:FALSE" 
    436             "SharedLegacy" = "11:FALSE" 
    437             "PackageAs" = "3:1" 
    438             "Register" = "3:1" 
    439             "Exclude" = "11:FALSE" 
    440             "IsDependency" = "11:TRUE" 
    441             "IsolateTo" = "8:" 
    442             } 
    443             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6C6DB793A8DA3CF4F3943CD8BBC6D521" 
    444             { 
    445             "AssemblyRegister" = "3:1" 
    446             "AssemblyIsInGAC" = "11:FALSE" 
    447             "AssemblyAsmDisplayName" = "8:Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
    448                 "ScatterAssemblies" 
    449                 { 
    450                     "_6C6DB793A8DA3CF4F3943CD8BBC6D521" 
    451                     { 
    452                     "Name" = "8:Microsoft.ReportViewer.WinForms.dll" 
    453                     "Attributes" = "3:512" 
    454                     } 
    455                 } 
    456             "SourcePath" = "8:Microsoft.ReportViewer.WinForms.dll" 
    457             "TargetName" = "8:" 
    458             "Tag" = "8:" 
    459             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    460             "Condition" = "8:" 
    461             "Transitive" = "11:FALSE" 
    462             "Vital" = "11:TRUE" 
    463             "ReadOnly" = "11:FALSE" 
    464             "Hidden" = "11:FALSE" 
    465             "System" = "11:FALSE" 
    466             "Permanent" = "11:FALSE" 
    467             "SharedLegacy" = "11:FALSE" 
    468             "PackageAs" = "3:1" 
    469             "Register" = "3:1" 
    470             "Exclude" = "11:FALSE" 
    471             "IsDependency" = "11:TRUE" 
    472             "IsolateTo" = "8:" 
    473             } 
    474             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_81209E5699A9F4F3741B8B24D034F5A2" 
    475             { 
    476             "SourcePath" = "8:EXCEL9.OLB" 
    477             "TargetName" = "8:EXCEL9.OLB" 
    478             "Tag" = "8:" 
    479             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    480             "Condition" = "8:" 
    481             "Transitive" = "11:FALSE" 
    482             "Vital" = "11:TRUE" 
    483             "ReadOnly" = "11:FALSE" 
    484             "Hidden" = "11:FALSE" 
    485             "System" = "11:FALSE" 
    486             "Permanent" = "11:FALSE" 
    487             "SharedLegacy" = "11:FALSE" 
    488             "PackageAs" = "3:1" 
    489             "Register" = "3:1" 
    490             "Exclude" = "11:FALSE" 
    491             "IsDependency" = "11:TRUE" 
    492             "IsolateTo" = "8:" 
    493             } 
    494             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_90355BBD5BDA4A8FB195EB7C7A954ADA" 
    495             { 
    496             "SourcePath" = "8:..\\BazaReklam\\cab.ico" 
    497             "TargetName" = "8:cab.ico" 
    498             "Tag" = "8:" 
    499             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    500             "Condition" = "8:" 
    501             "Transitive" = "11:FALSE" 
    502             "Vital" = "11:TRUE" 
    503             "ReadOnly" = "11:FALSE" 
    504             "Hidden" = "11:FALSE" 
    505             "System" = "11:FALSE" 
    506             "Permanent" = "11:FALSE" 
    507             "SharedLegacy" = "11:FALSE" 
    508             "PackageAs" = "3:1" 
    509             "Register" = "3:1" 
    510             "Exclude" = "11:FALSE" 
    511             "IsDependency" = "11:FALSE" 
    512             "IsolateTo" = "8:" 
    513             } 
    514             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B7492250D3DFC9E86EDFC1F888FB6225" 
    515             { 
    516             "SourcePath" = "8:MSO9.DLL" 
    517             "TargetName" = "8:MSO9.DLL" 
    518             "Tag" = "8:" 
    519             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    520             "Condition" = "8:" 
    521             "Transitive" = "11:FALSE" 
    522             "Vital" = "11:TRUE" 
    523             "ReadOnly" = "11:FALSE" 
    524             "Hidden" = "11:FALSE" 
    525             "System" = "11:FALSE" 
    526             "Permanent" = "11:FALSE" 
    527             "SharedLegacy" = "11:FALSE" 
    528             "PackageAs" = "3:1" 
    529             "Register" = "3:1" 
    530             "Exclude" = "11:FALSE" 
    531             "IsDependency" = "11:TRUE" 
    532             "IsolateTo" = "8:" 
    533             } 
    534             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C68843D336D1FA86D4CB277E88BE49CE" 
    535             { 
    536             "AssemblyRegister" = "3:1" 
    537             "AssemblyIsInGAC" = "11:FALSE" 
    538             "AssemblyAsmDisplayName" = "8:Interop.Word, Version=8.1.0.0, Culture=neutral, processorArchitecture=MSIL" 
    539                 "ScatterAssemblies" 
    540                 { 
    541                     "_C68843D336D1FA86D4CB277E88BE49CE" 
    542                     { 
    543                     "Name" = "8:Interop.Word.dll" 
    544                     "Attributes" = "3:512" 
    545                     } 
    546                 } 
    547             "SourcePath" = "8:Interop.Word.dll" 
    548             "TargetName" = "8:" 
    549             "Tag" = "8:" 
    550             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    551             "Condition" = "8:" 
    552             "Transitive" = "11:FALSE" 
    553             "Vital" = "11:TRUE" 
    554             "ReadOnly" = "11:FALSE" 
    555             "Hidden" = "11:FALSE" 
    556             "System" = "11:FALSE" 
    557             "Permanent" = "11:FALSE" 
    558             "SharedLegacy" = "11:FALSE" 
    559             "PackageAs" = "3:1" 
    560             "Register" = "3:1" 
    561             "Exclude" = "11:FALSE" 
    562             "IsDependency" = "11:TRUE" 
    563             "IsolateTo" = "8:" 
    564             } 
    565             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C751428F558B315101A15D052C6F2C37" 
    566             { 
    567             "SourcePath" = "8:SHELL32.dll" 
    568             "TargetName" = "8:SHELL32.dll" 
    569             "Tag" = "8:" 
    570             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    571             "Condition" = "8:" 
    572             "Transitive" = "11:FALSE" 
    573             "Vital" = "11:TRUE" 
    574             "ReadOnly" = "11:FALSE" 
    575             "Hidden" = "11:FALSE" 
    576             "System" = "11:FALSE" 
    577             "Permanent" = "11:FALSE" 
    578             "SharedLegacy" = "11:FALSE" 
    579             "PackageAs" = "3:1" 
    580             "Register" = "3:1" 
    581             "Exclude" = "11:FALSE" 
    582             "IsDependency" = "11:TRUE" 
    583             "IsolateTo" = "8:" 
    584             } 
    585             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_CC2D346B584D9209A0B0C23E19E16393" 
    586             { 
    587             "AssemblyRegister" = "3:1" 
    588             "AssemblyIsInGAC" = "11:TRUE" 
    589             "AssemblyAsmDisplayName" = "8:Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
    590                 "ScatterAssemblies" 
    591                 { 
    592                     "_CC2D346B584D9209A0B0C23E19E16393" 
    593                     { 
    594                     "Name" = "8:Microsoft.ReportViewer.ProcessingObjectModel.dll" 
    595                     "Attributes" = "3:512" 
    596                     } 
    597                 } 
    598             "SourcePath" = "8:Microsoft.ReportViewer.ProcessingObjectModel.dll" 
    599             "TargetName" = "8:" 
    600             "Tag" = "8:" 
    601             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    602             "Condition" = "8:" 
    603             "Transitive" = "11:FALSE" 
    604             "Vital" = "11:TRUE" 
    605             "ReadOnly" = "11:FALSE" 
    606             "Hidden" = "11:FALSE" 
    607             "System" = "11:FALSE" 
    608             "Permanent" = "11:FALSE" 
    609             "SharedLegacy" = "11:FALSE" 
    610             "PackageAs" = "3:1" 
    611             "Register" = "3:1" 
    612             "Exclude" = "11:FALSE" 
    613             "IsDependency" = "11:TRUE" 
    614             "IsolateTo" = "8:" 
    615             } 
    616             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D15FD85A8EA74B8CA30CC438F895CAED" 
    617             { 
    618             "AssemblyRegister" = "3:1" 
    619             "AssemblyIsInGAC" = "11:FALSE" 
    620             "AssemblyAsmDisplayName" = "8:Updater, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" 
    621                 "ScatterAssemblies" 
    622                 { 
    623                     "_D15FD85A8EA74B8CA30CC438F895CAED" 
    624                     { 
    625                     "Name" = "8:Updater.exe" 
    626                     "Attributes" = "3:512" 
    627                     } 
    628                 } 
    629             "SourcePath" = "8:..\\lib\\Updater.exe" 
    630             "TargetName" = "8:" 
    631             "Tag" = "8:" 
    632             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    633             "Condition" = "8:" 
    634             "Transitive" = "11:FALSE" 
    635             "Vital" = "11:TRUE" 
    636             "ReadOnly" = "11:FALSE" 
    637             "Hidden" = "11:FALSE" 
    638             "System" = "11:FALSE" 
    639             "Permanent" = "11:FALSE" 
    640             "SharedLegacy" = "11:FALSE" 
    641             "PackageAs" = "3:1" 
    642             "Register" = "3:1" 
    643             "Exclude" = "11:FALSE" 
    644             "IsDependency" = "11:FALSE" 
    645             "IsolateTo" = "8:" 
    646             } 
    647             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E949949BEB2DFFD45A0493C54D411F71" 
     678            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F3961A8B168E9A3263EC3DF57227B204" 
    648679            { 
    649680            "AssemblyRegister" = "3:1" 
     
    652683                "ScatterAssemblies" 
    653684                { 
    654                     "_E949949BEB2DFFD45A0493C54D411F71" 
     685                    "_F3961A8B168E9A3263EC3DF57227B204" 
    655686                    { 
    656687                    "Name" = "8:Interop.VBIDE.dll" 
     
    659690                } 
    660691            "SourcePath" = "8:Interop.VBIDE.dll" 
    661             "TargetName" = "8:" 
    662             "Tag" = "8:" 
    663             "Folder" = "8:_A71B9F4A6F7A4846B9A8121692FB34D3" 
    664             "Condition" = "8:" 
    665             "Transitive" = "11:FALSE" 
    666             "Vital" = "11:TRUE" 
    667             "ReadOnly" = "11:FALSE" 
    668             "Hidden" = "11:FALSE" 
    669             "System" = "11:FALSE" 
    670             "Permanent" = "11:FALSE" 
    671             "SharedLegacy" = "11:FALSE" 
    672             "PackageAs" = "3:1" 
    673             "Register" = "3:1" 
    674             "Exclude" = "11:FALSE" 
    675             "IsDependency" = "11:TRUE" 
    676             "IsolateTo" = "8:" 
    677             } 
    678             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_EB843BFFB9344F29AF52E5F834254602" 
    679             { 
    680             "AssemblyRegister" = "3:1" 
    681             "AssemblyIsInGAC" = "11:FALSE" 
    682             "AssemblyAsmDisplayName" = "8:Interop.Excel, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL" 
    683                 "ScatterAssemblies" 
    684                 { 
    685                     "_EB843BFFB9344F29AF52E5F834254602" 
    686                     { 
    687                     "Name" = "8:Interop.Excel.dll" 
    688                     "Attributes" = "3:512" 
    689                     } 
    690                 } 
    691             "SourcePath" = "8:Interop.Excel.dll" 
    692692            "TargetName" = "8:" 
    693693            "Tag" = "8:" 
     
    762762        "Name" = "8:Microsoft Visual Studio" 
    763763        "ProductName" = "8:Baza Reklam" 
    764         "ProductCode" = "8:{25082038-89B7-427E-86BB-643103E55C60}" 
    765         "PackageCode" = "8:{5C757D20-1B23-420B-8B8F-6793D5B3B8C4}" 
     764        "ProductCode" = "8:{D793799D-3C88-497D-BC08-BDF4BE52C84D}" 
     765        "PackageCode" = "8:{5128CC6B-4B90-4FE6-A4B9-DBCF74C6A107}" 
    766766        "UpgradeCode" = "8:{4E2DBBA4-3139-4790-8DDB-7AADFC963A7D}" 
    767767        "RestartWWWService" = "11:FALSE" 
     
    769769        "DetectNewerInstalledVersion" = "11:TRUE" 
    770770        "InstallAllUsers" = "11:TRUE" 
    771         "ProductVersion" = "8:1.0.96" 
     771        "ProductVersion" = "8:1.0.97" 
    772772        "Manufacturer" = "8:AACT" 
    773773        "ARPHELPTELEPHONE" = "8:" 
  • branches/ErrorLog/RaportySQL/RaportySQL.rptproj

    r516 r553  
    400400      <Name>ZmianyEmisjiWgSymbolu.rdl</Name> 
    401401      <FullPath>ZmianyEmisjiWgSymbolu.rdl</FullPath> 
     402    </ProjectItem> 
     403    <ProjectItem> 
     404      <Name>ErrorLog.rdl</Name> 
     405      <FullPath>ErrorLog.rdl</FullPath> 
    402406    </ProjectItem> 
    403407  </Reports>