diff --git a/AdvertsingProfitControl/APCDatabase.accdb b/AdvertsingProfitControl/APCDatabase.accdb index 775633e..d2e11d6 100644 Binary files a/AdvertsingProfitControl/APCDatabase.accdb and b/AdvertsingProfitControl/APCDatabase.accdb differ diff --git a/AdvertsingProfitControl/DatabaseWriter.cs b/AdvertsingProfitControl/DatabaseWriter.cs index 690b24c..33e9cd6 100644 --- a/AdvertsingProfitControl/DatabaseWriter.cs +++ b/AdvertsingProfitControl/DatabaseWriter.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Data; using System.Data.OleDb; +using System.Windows.Forms; namespace AdvertsingProfitControl { @@ -64,7 +65,7 @@ namespace AdvertsingProfitControl oleDbTransaction.Commit(); foreach (DataRow row in salesTable.Rows) { - var rowId = RetrieveRowId(salesTable.TableName, int.Parse(row[6].ToString()), int.Parse(row[10].ToString())); + var rowId = RetrieveRowId(salesTable.TableName, int.Parse(row[6].ToString()), int.Parse(row[10].ToString()), int.Parse(salesTable.Rows[8].ToString())); if (int.Parse(row[8].ToString()) != 0) { //Account for the ad special row. @@ -266,7 +267,7 @@ namespace AdvertsingProfitControl oleDbTransaction.Commit(); foreach (DataRow row in table.Rows) { - var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString())); + var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString()), int.Parse(table.Rows[6].ToString())); if (int.Parse(row[6].ToString()) != 0) { //Account for the ad special row. @@ -358,7 +359,7 @@ namespace AdvertsingProfitControl oleDbTransaction.Commit(); foreach (DataRow row in table.Rows) { - var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString())); + var rowId = RetrieveRowId(table.TableName, int.Parse(row[4].ToString()), int.Parse(row[8].ToString()), int.Parse(table.Rows[7].ToString())); if (int.Parse(row[7].ToString()) != 0) { //Account for the ad special row. @@ -406,6 +407,123 @@ namespace AdvertsingProfitControl return status; } + + public DbWriterStatus ProccessInvoiceTable(DataGridView table, int dateId, string connectionString) + { + var status = new DbWriterStatus(); + var lastRowProcessed = 0; + var rowsAdded = new List(); + var oleDbConnection = new OleDbConnection(connectionString); + var oleDbCommand = new OleDbCommand + { + Connection = oleDbConnection + }; + OleDbTransaction oleDbTransaction = null; + try + { + oleDbConnection.Open(); + oleDbTransaction = oleDbConnection.BeginTransaction(); + oleDbCommand.Transaction = oleDbTransaction; + for (var i = 0; i < table.Rows.Count - 1; i++) + { + //Check to see if the row requires processing to start with. + if(!(bool) table.Rows[i].Cells[(int)InvoiceTableColumns.IsDirty].Value) + { + lastRowProcessed = i + 1; + continue; + } + //Grab the supplier ID number before moving forward. + var supplierId = RetrieveSupplierId( + table.Rows[i].Cells[(int) InvoiceTableColumns.Supplier].EditedFormattedValue.ToString()); + if (supplierId == 0) + { + status.SetErrorMessage("Failed to obtain supplier ID number for " + table.Rows[i].Cells[(int)InvoiceTableColumns.Supplier].EditedFormattedValue + "."); + status.SetStatus(WritingOperationStatus.Failed); + return status; + } + //Check whether or not the row is already in the database by seeing if anything is in the ID number cell. + if (table.Rows[i].Cells[(int) InvoiceTableColumns.Id].EditedFormattedValue.ToString() == "") + { + //If the invoice doesn't exist in the database add it. + oleDbCommand.CommandText = + "INSERT INTO Invoice (InvoiceDate, InvoiceNumber, InvoiceNetAmountAtCost, InvoiceNetAmount, InvoiceNote, FK_Supplier, FK_DateID) VALUES(?,?,?,?,?,?,?)"; + oleDbCommand.Parameters.AddWithValue("InvoiceDate", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceDate].EditedFormattedValue.ToString()); + oleDbCommand.Parameters.AddWithValue("InvoiceNumber", long.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNumber].EditedFormattedValue.ToString())); + oleDbCommand.Parameters.AddWithValue("InvoiceNetAmountAtCost", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmountAtCost].EditedFormattedValue.ToString() == "" ? 0 : double.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmountAtCost].EditedFormattedValue.ToString())); + oleDbCommand.Parameters.AddWithValue("InvoiceNetAmount", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmount].EditedFormattedValue.ToString() == "" ? 0 : double.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmount].EditedFormattedValue.ToString())); + oleDbCommand.Parameters.AddWithValue("InvoiceNote", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNote].EditedFormattedValue.ToString()); + oleDbCommand.Parameters.AddWithValue("FK_Supplier", supplierId); + oleDbCommand.Parameters.AddWithValue("FK_DateID", dateId); + oleDbCommand.ExecuteNonQuery(); + oleDbCommand.Parameters.Clear(); + rowsAdded.Add(i); + } + else + { + //If the invoice already exists in the database then simply update the record. + oleDbCommand.CommandText = + "UPDATE Invoice SET InvoiceDate = ?, InvoiceNumber = ?, InvoiceNetAmountAtCost = ?, InvoiceNetAmount = ?, InvoiceNote = ?, FK_Supplier = ?, FK_DateID = ? WHERE ID = ?"; + oleDbCommand.Parameters.AddWithValue("InvoiceDate", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceDate].EditedFormattedValue.ToString()); + oleDbCommand.Parameters.AddWithValue("InvoiceNumber", long.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNumber].EditedFormattedValue.ToString())); + oleDbCommand.Parameters.AddWithValue("InvoiceNetAmountAtCost", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmountAtCost].EditedFormattedValue.ToString() == "" ? 0 : double.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmountAtCost].EditedFormattedValue.ToString())); + oleDbCommand.Parameters.AddWithValue("InvoiceNetAmount", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmount].EditedFormattedValue.ToString() == "" ? 0 : double.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNetAmount].EditedFormattedValue.ToString())); + oleDbCommand.Parameters.AddWithValue("InvoiceNote", table.Rows[i].Cells[(int)InvoiceTableColumns.InvoiceNote].EditedFormattedValue.ToString()); + oleDbCommand.Parameters.AddWithValue("FK_Supplier", supplierId); + oleDbCommand.Parameters.AddWithValue("FK_DateID", dateId); + oleDbCommand.Parameters.AddWithValue("ID", int.Parse(table.Rows[i].Cells[(int)InvoiceTableColumns.Id].EditedFormattedValue.ToString())); + oleDbCommand.ExecuteNonQuery(); + oleDbCommand.Parameters.Clear(); + } + //Row index is only used to keep track of what row failed to update. + lastRowProcessed = i + 1; + } + oleDbTransaction.Commit(); + foreach (DataGridViewRow row in table.Rows) + { + if (rowsAdded.Contains(row.Index)) + { + var supplierId = RetrieveSupplierId(row.Cells[(int)InvoiceTableColumns.Supplier].EditedFormattedValue.ToString()); + var invoiceIdNumber = + RetrieveInvoiceId( + row.Cells[(int)InvoiceTableColumns.InvoiceDate].EditedFormattedValue + .ToString(), + long.Parse( + row.Cells[(int)InvoiceTableColumns.InvoiceNumber].EditedFormattedValue + .ToString()), supplierId, dateId); + row.Cells[(int)InvoiceTableColumns.Id].Value = invoiceIdNumber; + } + row.Cells[(int)InvoiceTableColumns.IsDirty].Value = false; + } + table.RefreshEdit(); + //Set the status. + status.SetStatus(WritingOperationStatus.InsertionSuccessful); + } + catch (OleDbException e) + { + status.SetStatus(WritingOperationStatus.Failed); + _logConsole.WriteToLog(FrmLogConsole.Level.Error, "Failed to process the Invoice table: " + e.Message); + if (lastRowProcessed <= 0) + { + _logConsole.WriteToLog(FrmLogConsole.Level.Error, + "Failed to begin parsing data rows, var dump of erroneous row unavailable."); + status.SetErrorMessage("Failed to begin parsing rows."); + } + else + { + _logConsole.WriteToLog(FrmLogConsole.Level.Error, "Failed on row " + (lastRowProcessed + 1) + " due to the above error. Dumping contents of row " + (lastRowProcessed + 1) + " from Invoices."); + status.SetErrorMessage("Failed to write to the database on row " + (lastRowProcessed + 1) + "."); + } + oleDbTransaction?.Rollback(); + _logConsole.WriteToLog(FrmLogConsole.Level.Critical, "Rollback completed successfully, Invoice table failed on update."); + } + finally + { + oleDbConnection.Close(); + } + + return status; + } + /// /// Inserts a new ad item into the database and returns the new item's ID number. /// Supports rolling back as to not corrupt the database. @@ -498,18 +616,20 @@ namespace AdvertsingProfitControl /// The name of the table to check for the row in. /// The ID of the ad item in the row. /// The ID of the date in the row. + /// Ad Special ID of the row. /// The ID of the row, zero(0) if no rows are found. - private int RetrieveRowId(string tableName, int adItemId, int dateId) + private int RetrieveRowId(string tableName, int adItemId, int dateId, int groupId) { var id = 0; var rowsEffected = 0; var oleDbCommand = new OleDbCommand { - CommandText = "SELECT ID FROM " + tableName + " WHERE FK_AdItemID = ? AND FK_DateID = ?", + CommandText = "SELECT ID FROM " + tableName + " WHERE FK_AdItemID = ? AND FK_DateID = ? AND FK_AdSpecialGroupName = ?", Connection = _oleDbConnection }; oleDbCommand.Parameters.AddWithValue("AdItemID", adItemId); oleDbCommand.Parameters.AddWithValue("DateID", dateId); + oleDbCommand.Parameters.AddWithValue("GroupID", groupId); try { @@ -525,7 +645,7 @@ namespace AdvertsingProfitControl if (rowsEffected > 1) { _logConsole.WriteToLog(FrmLogConsole.Level.Error, - "Redundancy found row with the ad item ID " + adItemId + " with the date ID " + dateId + "."); + "Redundancy found row with the ad item ID " + adItemId + " with the date ID " + dateId + " and a group ID of " + groupId + "."); } } catch (OleDbException e) @@ -537,6 +657,128 @@ namespace AdvertsingProfitControl return id; } + /// + /// Attempts to grab the supplier ID from the database. + /// If the name is not found it is added to the database + /// and the ID of the newly added supplier is returned. + /// + /// The name of the supplier from whom the invoice is from. + /// + private int RetrieveSupplierId(string supplierName) + { + var id = 0; + var rowsEffected = 0; + var oleDbCommand = new OleDbCommand + { + CommandText = "SELECT ID FROM Supplier WHERE SupplierName = ?", + Connection = _oleDbConnection + }; + oleDbCommand.Parameters.AddWithValue("SupplierName", supplierName); + try + { + _oleDbConnection.Open(); + var reader = oleDbCommand.ExecuteReader(); + while (reader != null && reader.Read()) + { + rowsEffected++; + int.TryParse(reader[0].ToString(), out id); + } + reader?.Close(); + + if (rowsEffected == 0) + { + //Attempt to add the supplier to the database. + oleDbCommand.Parameters.Clear(); + oleDbCommand.CommandText = "INSERT INTO Supplier (SupplierName) VALUES (?)"; + oleDbCommand.Parameters.AddWithValue("SupplierName", supplierName); + rowsEffected = oleDbCommand.ExecuteNonQuery(); + if (rowsEffected == 1) + { + _logConsole.WriteToLog(FrmLogConsole.Level.Info, "Added the supplier '" + supplierName + "' to the database."); + } + //Now try grabbing the ID of the supplier that was just added. + oleDbCommand.Parameters.Clear(); + oleDbCommand.CommandText = "SELECT ID FROM Supplier WHERE SupplierName = ?"; + oleDbCommand.Parameters.AddWithValue("SupplierName", supplierName); + reader = oleDbCommand.ExecuteReader(); + while (reader != null && reader.Read()) + { + int.TryParse(reader[0].ToString(), out id); + } + } + + if (rowsEffected > 1) + { + _logConsole.WriteToLog(FrmLogConsole.Level.Error, + "The supplier " + supplierName + " has multiple entries."); + } + } + catch (OleDbException e) + { + _logConsole.WriteToLog(FrmLogConsole.Level.Error, + "Failed to look up the existence of the supplier " + supplierName + "."); + _logConsole.WriteToLog(FrmLogConsole.Level.Error, e.Message); + } + finally + { + _oleDbConnection.Close(); + } + return id; + } + + /// + /// Retrieves the ID number of the invoice with the specified Date, Number and date ID numbers. + /// Returns zero if now records are found. + /// + /// The date on the invoice. + /// The number for the invoice. + /// The supplier's ID number. + /// The date ID number of the weekending date. + /// + private int RetrieveInvoiceId(string invoiceDate, long invoiceNumber, int supplierId, int dateId) + { + var id = 0; + var rowsEffected = 0; + var oleDbCommand = new OleDbCommand + { + CommandText = "SELECT ID FROM Invoice WHERE InvoiceDate = ? AND InvoiceNumber = ? AND FK_Supplier = ? AND FK_DateID = ?", + Connection = _oleDbConnection + }; + oleDbCommand.Parameters.AddWithValue("InvoiceDate", invoiceDate); + oleDbCommand.Parameters.AddWithValue("InvoiceNumber", invoiceNumber); + oleDbCommand.Parameters.AddWithValue("FK_Supplier", supplierId); + oleDbCommand.Parameters.AddWithValue("DateID", dateId); + try + { + _oleDbConnection.Open(); + var reader = oleDbCommand.ExecuteReader(); + while (reader != null && reader.Read()) + { + rowsEffected++; + int.TryParse(reader[0].ToString(), out id); + } + reader?.Close(); + + if (rowsEffected > 1) + { + _logConsole.WriteToLog(FrmLogConsole.Level.Error, + "Redundancy found row with the ad item ID with the date ID " + dateId + "."); + } + } + catch (OleDbException e) + { + _logConsole.WriteToLog(FrmLogConsole.Level.Error, + "Failed to look up the existence of an invoice with the number of " + invoiceNumber + + " and a date of " + invoiceDate + "."); + _logConsole.WriteToLog(FrmLogConsole.Level.Error, e.Message); + } + finally + { + _oleDbConnection.Close(); + } + return id; + } + #endregion //10 to 1 ratio of tries to code diff --git a/AdvertsingProfitControl/NewAddRecord.cs b/AdvertsingProfitControl/NewAddRecord.cs index 8e2bac3..7b13d4d 100644 --- a/AdvertsingProfitControl/NewAddRecord.cs +++ b/AdvertsingProfitControl/NewAddRecord.cs @@ -112,8 +112,9 @@ namespace AdvertsingProfitControl { var dataGridView = (DataGridView) sender; if (dataGridView.Rows[e.RowIndex].IsNewRow) return; + DateTime dateTime; //Check to make sure the Invoice Date, Invoice Number and the Supplier values are set. - if (dataGridView.Rows[e.RowIndex].Cells[(int) InvoiceTableColumns.InvoiceDate].EditedFormattedValue.ToString() == "") + if (dataGridView.Rows[e.RowIndex].Cells[(int) InvoiceTableColumns.InvoiceDate].EditedFormattedValue.ToString() == "" || !DateTime.TryParse(dataGridView.Rows[e.RowIndex].Cells[(int)InvoiceTableColumns.InvoiceDate].EditedFormattedValue.ToString(), out dateTime)) { MessageBox.Show(@"An invoice date must be specified.", @"Invalid Invoice Date", MessageBoxButtons.OK, MessageBoxIcon.Error); e.Cancel = true; @@ -228,6 +229,9 @@ namespace AdvertsingProfitControl dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].ErrorText = "A Supplier is Required"; } break; + case (int)InvoiceTableColumns.InvoiceNote: + dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = userInput; + break; default: //Should only process the InvoiceNetAmountAtCost and InvoiceNetAmount columns. if (e.ColumnIndex != (int) InvoiceTableColumns.Id && @@ -243,6 +247,7 @@ namespace AdvertsingProfitControl { //Since the input is a number format it to show the cents and display it. dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = Math.Round(parsedNumber, 2).ToString("N", new CultureInfo("en-US")); + //dataGridView.RefreshEdit(); } else { @@ -1719,6 +1724,12 @@ namespace AdvertsingProfitControl return; } if (!ProcessTrimmingStatusResult(actualSalesDataGridView, "ActualSales", operationStatus, trimmedTable, updateTable)) return; + //Commit the Invoice table to the database. + var writerStatus = dbW.ProccessInvoiceTable(invoicesDataGridView, dateId, dbT.DatabaseConnectionString); + if (writerStatus.GetWritingOperationStatus() != WritingOperationStatus.Failed) + { + errorLabel.Text = writerStatus.GetErrorMessage(); + } informationLabel.Text = @"All operations completed successfully."; //Create the transaction scope. //By default the TransactionScopeOption is "Required", so if an ambient transaction does not @@ -2251,7 +2262,6 @@ namespace AdvertsingProfitControl dataGridView.Rows[rowIndex.Key - 1].Cells[(int)SalesTableColumns.IsDirty].Value = false; } informationLabel.Text += Environment.NewLine + tableName + @" table successfully added to the database."; - successful = true; } else { @@ -2274,7 +2284,6 @@ namespace AdvertsingProfitControl else { errorLabel.Text = @"Failed to update the " + trimmedTable + @" table."; - successful = false; } break; } diff --git a/AdvertsingProfitControl/bin/Debug/APCDatabase.accdb b/AdvertsingProfitControl/bin/Debug/APCDatabase.accdb deleted file mode 100644 index 8dbf2bc..0000000 Binary files a/AdvertsingProfitControl/bin/Debug/APCDatabase.accdb and /dev/null differ diff --git a/AdvertsingProfitControl/bin/Debug/APCDatabase.bak2 b/AdvertsingProfitControl/bin/Debug/APCDatabase.bak2 deleted file mode 100644 index 2a52f42..0000000 Binary files a/AdvertsingProfitControl/bin/Debug/APCDatabase.bak2 and /dev/null differ diff --git a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.application b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.application deleted file mode 100644 index 7a09fc9..0000000 --- a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - b+dnpfYfjG4ZhWDVMNt4VWQJIitMpgUqU/izPcTmc9E= - - - - \ No newline at end of file diff --git a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.exe.manifest b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.exe.manifest deleted file mode 100644 index 1aff186..0000000 --- a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.exe.manifest +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C6TdhIcXFKDjcoa3VS25QEYS1igSVlAG0W3BGBQN3Vw= - - - - - - - - - - - - 24PfjnyHf/sJFsFMmtbTH9TCfKqM9w/ueA9v7hWoFkA= - - - - - - - - - - - - WF/zxFwKgeKM8FANZnlU0EY/IhL18w1Px1iKE75KJWM= - - - - - - - - - - heLBQIYVVS62s1jc7c8ySCJryJ3KAmItGoYKY1zxkCg= - - - - - - - - - EhpcVkhatavmpmzYIlqLL5P0WB1QFP8mU66foV/5u+c= - - - - - - - - - - - - - - - - - - - - true/PM - - - \ No newline at end of file diff --git a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application index 7a09fc9..2833bbd 100644 --- a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application +++ b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.application @@ -14,7 +14,7 @@ - b+dnpfYfjG4ZhWDVMNt4VWQJIitMpgUqU/izPcTmc9E= + uNpKtKGgY3WdCqpTJARuduXQEnYHDum4naMxK2seAZY= diff --git a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest index 1aff186..2b25e19 100644 --- a/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest +++ b/AdvertsingProfitControl/bin/Debug/AdvertsingProfitControl.vshost.exe.manifest @@ -43,26 +43,26 @@ - + - C6TdhIcXFKDjcoa3VS25QEYS1igSVlAG0W3BGBQN3Vw= + miQ8SvKSYPgPCR7wkH2br43baRyA6z3qxRB6jWLSEB4= - - + + - 24PfjnyHf/sJFsFMmtbTH9TCfKqM9w/ueA9v7hWoFkA= + VGr+ZzYUr4vMefSbFien3axjDZd7ylgpjfrMKI12ink= @@ -84,7 +84,7 @@ - heLBQIYVVS62s1jc7c8ySCJryJ3KAmItGoYKY1zxkCg= + L1S1NQ/iZ4fotWtEDbVeoia76lgWuMUfQqouemtj2z0= diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.NewAddRecord.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.NewAddRecord.resources deleted file mode 100644 index b6fb416..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.NewAddRecord.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.Properties.Resources.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.Properties.Resources.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.Properties.Resources.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.TrustInfo.xml b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.TrustInfo.xml deleted file mode 100644 index 7aaa723..0000000 --- a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.TrustInfo.xml +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.application b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.application deleted file mode 100644 index 7a09fc9..0000000 --- a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - b+dnpfYfjG4ZhWDVMNt4VWQJIitMpgUqU/izPcTmc9E= - - - - \ No newline at end of file diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.csproj.FileListAbsolute.txt b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.csproj.FileListAbsolute.txt index 10c3291..4a1deb1 100644 --- a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.csproj.FileListAbsolute.txt +++ b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.csproj.FileListAbsolute.txt @@ -163,28 +163,3 @@ C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\Ad C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.TrustInfo.xml C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.exe.manifest C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.application -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.exe -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.pdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.csprojResolveAssemblyReference.cache -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmAddRecord.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmAdSpecialRegister.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmDeleteRecord.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmMain.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmLogConsole.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmManageAdItems.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.FrmModifyRecord.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.NewAddRecord.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.Properties.Resources.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.csproj.GenerateResource.Cache -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\APCDatabase.accdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\AdvertsingProfitControl.exe.manifest -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\AdvertsingProfitControl.application -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\AdvertsingProfitControl.exe -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\AdvertsingProfitControl.pdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\HtmlRenderer.dll -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\HtmlRenderer.WinForms.dll -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\HtmlRenderer.pdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\bin\Debug\HtmlRenderer.WinForms.pdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.TrustInfo.xml -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.exe.manifest -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\AdvertsingProfitControl\obj\Debug\AdvertsingProfitControl.application diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.exe.manifest b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.exe.manifest deleted file mode 100644 index 1aff186..0000000 --- a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.exe.manifest +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - C6TdhIcXFKDjcoa3VS25QEYS1igSVlAG0W3BGBQN3Vw= - - - - - - - - - - - - 24PfjnyHf/sJFsFMmtbTH9TCfKqM9w/ueA9v7hWoFkA= - - - - - - - - - - - - WF/zxFwKgeKM8FANZnlU0EY/IhL18w1Px1iKE75KJWM= - - - - - - - - - - heLBQIYVVS62s1jc7c8ySCJryJ3KAmItGoYKY1zxkCg= - - - - - - - - - EhpcVkhatavmpmzYIlqLL5P0WB1QFP8mU66foV/5u+c= - - - - - - - - - - - - - - - - - - - - true/PM - - - \ No newline at end of file diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmAdSpecialRegister.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmAdSpecialRegister.resources deleted file mode 100644 index b6fb416..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmAdSpecialRegister.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmAddRecord.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmAddRecord.resources deleted file mode 100644 index b4d6a6f..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmAddRecord.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmDeleteRecord.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmDeleteRecord.resources deleted file mode 100644 index b6fb416..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmDeleteRecord.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmLogConsole.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmLogConsole.resources deleted file mode 100644 index b6fb416..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmLogConsole.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmMain.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmMain.resources deleted file mode 100644 index 42b91da..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmMain.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmManageAdItems.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmManageAdItems.resources deleted file mode 100644 index b6fb416..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmManageAdItems.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmModifyRecord.resources b/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmModifyRecord.resources deleted file mode 100644 index b6fb416..0000000 Binary files a/AdvertsingProfitControl/obj/Debug/AdvertsingProfitControl.frmModifyRecord.resources and /dev/null differ diff --git a/AdvertsingProfitControl/obj/Debug/build.force b/AdvertsingProfitControl/obj/Debug/build.force deleted file mode 100644 index e69de29..0000000 diff --git a/StringInputParseTester/bin/Debug/StringInputParseTester.exe.config b/StringInputParseTester/bin/Debug/StringInputParseTester.exe.config deleted file mode 100644 index 88fa402..0000000 --- a/StringInputParseTester/bin/Debug/StringInputParseTester.exe.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/StringInputParseTester/obj/Debug/StringInputParseTester.Form1.resources b/StringInputParseTester/obj/Debug/StringInputParseTester.Form1.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/StringInputParseTester/obj/Debug/StringInputParseTester.Form1.resources and /dev/null differ diff --git a/StringInputParseTester/obj/Debug/StringInputParseTester.Properties.Resources.resources b/StringInputParseTester/obj/Debug/StringInputParseTester.Properties.Resources.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/StringInputParseTester/obj/Debug/StringInputParseTester.Properties.Resources.resources and /dev/null differ diff --git a/StringInputParseTester/obj/Debug/StringInputParseTester.csproj.FileListAbsolute.txt b/StringInputParseTester/obj/Debug/StringInputParseTester.csproj.FileListAbsolute.txt index 186de09..c2eaf04 100644 --- a/StringInputParseTester/obj/Debug/StringInputParseTester.csproj.FileListAbsolute.txt +++ b/StringInputParseTester/obj/Debug/StringInputParseTester.csproj.FileListAbsolute.txt @@ -16,12 +16,3 @@ C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\St C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.csproj.GenerateResource.Cache C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.exe C:\Users\Crypto\Documents\Visual Studio 2015\Projects\AdvertsingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.pdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\bin\Debug\StringInputParseTester.exe.config -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\bin\Debug\StringInputParseTester.exe -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\bin\Debug\StringInputParseTester.pdb -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.csprojResolveAssemblyReference.cache -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.Form1.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.Properties.Resources.resources -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.csproj.GenerateResource.Cache -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.exe -C:\Users\Crypto\Documents\Source Control\AdvertisingProfitControl\StringInputParseTester\obj\Debug\StringInputParseTester.pdb